Commit graph

825 commits

Author SHA1 Message Date
Hans-Christoph Steiner
124d48cd6e add various unparsable short links as tests 2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
7cb58ec540 also parse maps.apple.com links, the query string includes lat/long/zoom/etc
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
1c4ad908da handle all Google country-specific domains, i.e. google.at, google.ru, etc.
https://en.wikipedia.org/wiki/List_of_Google_domains
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
59c34b350a improve Yandex link parsing
* also handle maps.yandex.com URLs
* properly handle unparsable short links (i.e. don't crash or return results)
* include text= as Label
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
897d6ba387 only output coords from Yandex URL if the full ll= string matches
This just makes sure that there is a full lat/lon match before outputing.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
90c1b8a8e0 only parse query string if it is used
Not all location URLs have useful information in the query string, so only
parse it if it is used in the section for a given hostname.

Also, rename queryMap to params for consistency.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
4e5fa43f98 claim location URLs from QQ Map by Tencent
closes https://dev.guardianproject.info/issues/4394
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
9b77f6fa90 claim location URLs from Nokia HERE
closes https://dev.guardianproject.info/issues/4399
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
d34d341d65 keep Uri "path" intact during parsing for consistant regexes
By not modifying "path" from what Uri.getPath() returns, it keeps the
pattern matching consistent since the contents of "path" will always be the
same as Uri.getPath(), and what is visible in the URI itself.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
2771da35de GeoPointParserUtil.getQueryParameters() to return Map of all parameters
This parses out all of the parameters in the query string for both http:
and geo: URIs.  This will only work on URIs with valid syntax, so it will
not work on URIs that do odd things like have a query string in the
fragment, like this one:

http://www.amap.com/#!poi!!q=38.174596,114.995033|2|%E5%AE%BE%E9%A6%86&radius=1000
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
3d106d00b7 support parsing amap.com URLs
amap.com aka autonavi is a popular mapping service in China.
2015-02-02 22:53:04 +01:00
Alexey Pelykh
75a0c03e40 Fix build 2015-02-02 18:15:28 +02:00
Alexey Pelykh
ac344f8e20 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2015-02-02 17:56:08 +02:00
Alexey Pelykh
6d6d3631f3 Fix 2015-02-02 17:54:43 +02:00
Hans-Christoph Steiner
8155e749bb use Locale.ENGLISH to format numbers for geo: links
Some locales do not use 0-9 as the digits, such as Arabic and sometimes
Chinese.  Using those numerals in a geo: URI probably would not work.
2015-02-02 16:08:30 +01:00
Hans-Christoph Steiner
3db16680b4 GeoParsedPoint.getGeoUriString() to output the data as a geo: URI
Output the data in the GeoParsedPoint as a geo: URI (http://geouri.org)
2015-02-02 16:08:30 +01:00
Hans-Christoph Steiner
58485d8ba9 rename GeoParsedPoint's named point var to "Label" after Google standard
This outlines the named point format of a geo: URI:
https://developer.android.com/guide/components/intents-common.html#Maps
2015-02-02 16:08:30 +01:00
Hans-Christoph Steiner
6f2e0029a5 remove debug message from GeoPointParserUtil.areCloseEnough() 2015-02-02 16:08:30 +01:00
Victor Shcherb
567de5806a Update geo parse utility 2015-02-02 09:25:15 +01:00
Victor Shcherb
015cf7fc47 Update map poi types 2015-01-31 15:28:08 +01:00
vshcherb
cc9f727789 Merge pull request #1045 from eighthave/update-url-parsing
Update url parsing
2015-01-27 14:24:06 +01:00
Victor Shcherb
ba358e658f Merge branch 'master' of github.com:osmandapp/Osmand 2015-01-26 21:45:46 +01:00
Victor Shcherb
755b56a97b Fix map creator 2015-01-26 21:45:07 +01:00
Denis
4b65f295d6 Added new tab control 2015-01-26 13:30:38 +02:00
Victor Shcherb
1568f9b598 Fix ruler 2015-01-25 22:56:48 +01:00
Hans-Christoph Steiner
9bb03894a5 generate OpenStreetMap shortlinks using current char set (~ instead of @)
OpenStreetMap has changed the shortlink charset to use ~ instead of @ to be
support services like Twitter where @ has meaning.  OpenStreetMap still will
parse the old format, but only generates new shortlinks using "~".  This
commit changes OsmAnd to have the same behavior.

References:
https://wiki.openstreetmap.org/wiki/Shortlink#Code_for_encoding_.26_decoding
e84b2bd22f/app/assets/javascripts/application.js (L188)

---------------- OsmAnd-java/src/net/osmand/util/MapUtils.java ----------------
2015-01-21 11:25:51 +01:00
Hans-Christoph Steiner
50eed92015 parse lat/lon/zoom from OpenStreetMap shortlinks
This is a nice format of shortlink since it uses a public, offline algorithm
to generate them.  So Osmand can get what it needs from the shortlink
without going online.

https://wiki.openstreetmap.org/wiki/Shortlink
2015-01-21 11:25:51 +01:00
Hans-Christoph Steiner
2537d92a6a update MapUtils.decodeShortLinkString() to also parse zoom
This method is used to parse the custom OpenStreetMap shortlink algorithm
that encodes lat, lon, and zoom.  The previous version,
MapUtils.decodeShortLocString(), only parsed lat, lon from the shortlink.
2015-01-21 11:25:51 +01:00
Hans-Christoph Steiner
147f2adf05 add BaiduMap as a URL pattern (http://map.baidu.com)
This is a mapping service that is popular in China.
2015-01-21 11:00:46 +01:00
Hans-Christoph Steiner
baf25cbb14 include test lat/lon to 5 decimal places since that's the common format
This makes the test more realistic, since most services are using at least
this much accuracy.
2015-01-21 11:00:46 +01:00
Hans-Christoph Steiner
32f7cccd0f rework OpenStreetMap URL parsing to handle current formats
It seems this code is quite out of date, because none of the URL formats
listed in the tests seem to work.  This commit updates the URL formats in
the tests, then makes all of them parse properly.  It also changes the
parsing technique, leveraging java.net.URL's built-in parsing abilities to
assist.  Also, I plan on adding a lot more URL formats, so the current code
structure made it very difficult to add to.  So each service will be split
out into its own section, starting here.
2015-01-21 11:00:46 +01:00
Hans-Christoph Steiner
7729aa7350 remove scheme arg from GeoPointParserUtil.parse(), java.net.URI provides it
Since the first step in parse() is to create a URI instance, the scheme
should come from URI.getScheme() instead of an arg.
2015-01-21 11:00:46 +01:00
Hans-Christoph Steiner
01bb7d091f split geo: URL creation to MapUtils.buildGeoUrl(lat, lon, z)
This follow the pattern set by MapUtils.buildShortOsmUrl().
2015-01-21 11:00:46 +01:00
Hans-Christoph Steiner
c54d8d47e8 use HTTPS URL for sharing location
In order to maintain privacy when sharing location, this changes the shared
location link to use HTTPS, thereby hiding the location info from anyone
who might be snooping on the WiFi, ISP, internet, etc.

Unfortunately, http://osm.org does not yet work with HTTPS, but the
standard OSM URLs are short enough to fit into a text message. They are
planning on supporting https://osm.org in the future:
https://github.com/openstreetmap/operations/issues/2
2015-01-21 11:00:46 +01:00
Victor Shcherb
0b6738e356 Fix errors 2015-01-20 23:32:35 +01:00
Hans-Christoph Steiner
2da1458999 add a preference to allow user to set a network proxy
Some networks require a proxy to get internet beyond the firewall, and
proxies are also useful for channeling all traffic through circumvention
and privacy proxies like Tor, I2P, Psiphon, etc.  In places where the
connection to download tiles might be blocked, using a proxy can give the
user access.
2015-01-20 16:18:46 +01:00
Hans-Christoph Steiner
41f356a11a use HTTPS where supported, and on Gingerbread and above (i.e. not android-9)
To increase user privacy, especially with traffic that includes sensitive
information like location and tracking markers, HTTPS should be used
whenever possible.  It seems that HTTPS is broken for a lot of sites on
versions older than android-10/Gingerbread, so HTTPS is not used on those
old platforms.
2015-01-20 16:18:46 +01:00
Victor Shcherb
ca4b4e14c8 Update poi filter types 2015-01-19 22:32:27 +01:00
Victor Shcherb
837c1f8f04 Add support restriction via way 2015-01-16 01:53:19 +01:00
Victor Shcherb
660ee62f71 Fix small issues 2015-01-15 03:17:44 +01:00
Victor Shcherb
1756e39616 Update routes 2015-01-15 02:42:33 +01:00
Victor Shcherb
774cf6f92c Fix addr:flats 2015-01-13 23:14:09 +01:00
Victor Shcherb
80bbf423ca Reimplement turn:lanes merge 2015-01-13 10:25:56 +01:00
Victor Shcherb
eaa25f3daa Update zoom animation and add zoom fraction for autozoom (don't change density in autozoom). Add limit autozoom for different drive options 2015-01-13 00:04:08 +01:00
Victor Shcherb
e55a1d7b8f Update rendering types parser 2015-01-09 00:10:52 +01:00
Victor Shcherb
b442252e0c Add dependent rendering attribute 2015-01-08 22:53:25 +01:00
Victor Shcherb
95364cb9e7 Rules encoding 2015-01-08 18:36:35 +01:00
Victor Shcherb
356773d6ff Update rendering additional 2015-01-08 01:15:47 +01:00
Victor Shcherb
e1300b9df7 Fix rendering types issue 2015-01-08 00:19:54 +01:00
Victor Shcherb
38407ae763 Commit poi with name 2015-01-06 21:49:38 +01:00
Victor Shcherb
c95dcf10e4 Commit poi with name 2015-01-06 21:45:58 +01:00
Alexey Pelykh
6627a4d2b5 Merge pull request #1028 from Bars107/master
Bugfix for direction drawable and test for buggy geo intent.
2014-12-29 18:41:45 +02:00
Alexey Pelykh
335a629bf1 Fix indent 2014-12-29 17:41:01 +02:00
Alexey Pelykh
9678ca155c New GEO URI parser 2014-12-29 17:37:28 +02:00
Denis
819a61216e Added test for buggy geo intent 2014-12-29 12:56:52 +02:00
Victor Shcherb
47d605b4f4 Update core-legacy location 2014-12-21 23:39:14 +01:00
Alexey Pelykh
904c2bf342 Styles 2014-12-18 19:39:50 +02:00
Victor Shcherb
484c951790 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-12-17 11:13:53 +01:00
Victor Shcherb
9eea16efba Add icon__1 to render 2014-12-17 11:13:19 +01:00
Alexey Pelykh
b7beca8a9b Initial gradle support 2014-12-16 13:24:33 +02:00
Victor Shcherb
4f37694d41 Add icon2 .. icon5 rendering 2014-12-15 01:03:20 +01:00
Victor Shcherb
30f1920e2e Add layer __2 and _5 for more complex cases 2014-12-15 00:46:20 +01:00
Alexey Pelykh
f471400e32 Something 2014-12-11 11:24:48 +02:00
Alexey Pelykh
9910e07a68 Blah Blah 2014-12-10 09:57:48 +02:00
Victor Shcherb
d43d5255c1 Use destination:ref where is possible 2014-12-10 00:27:03 +01:00
Victor Shcherb
fa0f4dc4b1 Display lanes for car driving without navigation 2014-12-09 22:34:33 +01:00
Victor Shcherb
e4422db88c Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-12-09 20:21:14 +01:00
Victor Shcherb
6002e7126e Update cards layout 2014-12-09 20:20:21 +01:00
vshcherb
58f60d7794 Merge pull request #994 from saiarcot895/fix-bits
Turn display fix
2014-12-09 12:06:59 +01:00
Saikrishna Arcot
4af103fb02 When setting a new primary or secondary turn, clear the bits from the currently-set turn first. 2014-12-08 12:56:05 -05:00
Victor Shcherb
a5431d2036 Be more verbose 2014-12-07 20:21:42 +01:00
vshcherb
a2c041274b Merge pull request #952 from saiarcot895/merge-turn-lanes
Implement merging nearby turns together.
2014-12-07 00:46:57 +01:00
Victor Shcherb
170aaabfa6 Refactor zoom representation 2014-12-06 14:55:36 +01:00
Victor Shcherb
239184861f Add strings to translate 2014-12-06 13:17:54 +01:00
Saikrishna Arcot
08dc488850 Fix NullPointerException that occurs if there are no more turns with lanes indicated. 2014-12-05 23:00:12 -05:00
Victor Shcherb
311cb29336 Fix collapsing 2014-12-05 23:33:58 +01:00
Saikrishna Arcot
d527eb4fe9 Fix slight turn definition, and remove redundant lines 2014-12-04 22:51:18 -05:00
Victor Shcherb
edd72827f3 Introduce new property engine_v1 2014-12-03 21:26:15 +01:00
Victor Shcherb
52dd94adc7 Remove unnecessary line 2014-11-28 18:33:04 +01:00
Saikrishna Arcot
cefabcf520 Make local variables to shorten lines. 2014-11-28 08:39:18 -06:00
Saikrishna Arcot
e4a2b38ea4 Remove vim file 2014-11-28 08:19:23 -06:00
Victor Shcherb
da7f23b4ac Fix routing with needles 2014-11-28 00:58:02 +01:00
Victor Shcherb
9931d436b4 Fix routing with needles 2014-11-28 00:57:34 +01:00
Victor Shcherb
b4db8bdbd9 Display lanes in driving mode 2014-11-25 18:37:09 +01:00
Saikrishna Arcot
2b9c96966e Update to call new methods. 2014-11-24 20:24:47 -05:00
Saikrishna Arcot
db6d99dc92 Merge remote-tracking branch 'origin/master' into merge-turn-lanes 2014-11-24 19:50:26 -05:00
Victor Shcherb
1fd9841ea6 Merge branch 'master' of ssh://github.com/osmandapp/Osmand
Conflicts:
	OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java
2014-11-23 19:51:47 +01:00
Victor Shcherb
a9b1031ce9 Fix issue with turn type 2014-11-23 19:45:31 +01:00
Saikrishna Arcot
1ebad93158 Split determining which turns to merge into a separate function 2014-11-23 13:28:21 -05:00
Saikrishna Arcot
534d11d544 Update method call to reflect new parameters. 2014-11-23 11:41:07 -05:00
Saikrishna Arcot
9ef86bbe56 Merge branch 'master' into merge-turn-lanes
Conflicts:
	OsmAnd-java/src/net/osmand/router/RouteResultPreparation.java
2014-11-23 11:27:15 -05:00
Saikrishna Arcot
fcee2c6642 Log inconsistencies in lanes and turn:lanes values, and try to adjust lanes array to continue processing. 2014-11-21 11:31:18 -05:00
Saikrishna Arcot
72f8c1e1f4 Remove main lanes restriction 2014-11-21 07:58:15 -05:00
Saikrishna Arcot
751e569208 Refactor countLanes() so that it gets the right number of lanes by itself (similar to getTurnLanesString()) 2014-11-21 07:58:15 -05:00
Saikrishna Arcot
984dc80e58 Make a fix to ensure the directional lane is used 2014-11-21 07:51:41 -05:00
Saikrishna Arcot
e1b7f13b5c Implement merging nearby turns together.
When there are multiple turns near each other (< 60m), set the lanes
that are allowed on earlier turns such that staying on that lane will
carry you through the other turns.

For a standard left/right turn at a traffic light at two one-way roads
(dual carriageway), this means that the left and right turns are
correctly highlighted.
2014-11-21 07:51:41 -05:00
vshcherb
2a0f3623d8 Merge pull request #963 from Bars107/master
Bugfixing.
2014-11-19 17:19:34 +01:00
Denis
5f321bd150 Fixed bug with same item can be added to avoid roads twice 2014-11-19 14:58:16 +02:00
Victor Shcherb
68806ded9e Fix search by name 2014-11-19 00:47:59 +01:00
Victor Shcherb
b5975af3a9 Fix merge 2014-11-17 22:05:09 +01:00
Victor Shcherb
246ed334e6 Fix android 2.2 2014-11-08 01:40:36 +01:00
Victor Shcherb
ee2eff593f Add impassable road implementation 2014-11-02 18:48:09 +01:00
Victor Shcherb
34a4b9825e Calculate route from center of city 2014-10-29 01:56:25 +01:00
Victor Shcherb
ecf65f5a8c Remove local lines 2014-10-27 20:12:36 +01:00
Victor Shcherb
4a757ae29d Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-10-26 23:50:58 +01:00
Victor Shcherb
a410e2b565 Fix be attentive with route recalculation 2014-10-26 23:48:47 +01:00
Victor Shcherb
9e87ec17e9 FIx issue 2384 2014-10-26 23:15:48 +01:00
vshcherb
e5a9a43d59 Merge pull request #930 from saiarcot895/infer-turn-from-lanes
Add support for determining the actual turn to be taken based on the lanes highlighted
2014-10-26 18:51:40 +01:00
Victor Shcherb
1db4e7dcfb Add categories, fix waypoints dialog 2014-10-26 12:14:31 +01:00
Victor Shcherb
4565612ee6 Fix issues with app crash 2014-10-25 14:15:10 +02:00
Victor Shcherb
d73569f946 Add rendering attribute support as parameter 2014-10-24 11:24:59 +02:00
Saikrishna Arcot
24ab8baa10 Switch primary and secondary turns if the secondary turn is the actual turn 2014-10-22 11:26:36 -04:00
Saikrishna Arcot
ebb4d42f29 Assign new turn in attachKeepLeftInfoAndLanes() 2014-10-22 10:31:48 -04:00
Victor Shcherb
8e44071064 Add impassable road implementation 2014-10-21 23:17:46 +02:00
Victor Shcherb
dd429d1923 Fix text rendering & add comment 2014-10-21 22:35:35 +02:00
Saikrishna Arcot
ee58eebe3c Add support for determining the actual turn to be taken based on the lanes highlighted 2014-10-21 09:48:27 -04:00
vshcherb
ed05531de0 Merge pull request #908 from saiarcot895/lanes-with-multi-turns
Add support for reading in lanes that have multiple turns
2014-10-16 00:33:58 +02:00
Saikrishna Arcot
1e1f1c3fb4 Rename getLanesInfo() to assignLanesInfo() 2014-10-14 23:17:13 -04:00
vshcherb
7ab39cb7f2 Merge pull request #917 from saiarcot895/fix-lane-counting
Fix error caused by missing lane tags.
2014-10-14 14:51:54 +02:00
vshcherb
e545b744d0 Merge pull request #918 from saiarcot895/support-for-left-and-right
Support for left and right
2014-10-14 14:49:55 +02:00
Saikrishna Arcot
8c7f2e68e7 Add a right/left turn arrow on the rightmost/leftmost lane if it's not
included as per turn:lanes and a right/left turn is being taken.
2014-10-13 09:53:52 -05:00
Saikrishna Arcot
45ab0689c3 Add ability to fully use turn:lanes for left and right turns as well
If the turn being made is a left or right turn, and turn:lanes is
present, then the lanes for the turn will be displayed, and only the
lane that takes a left or right turn will be highlighted.
2014-10-13 09:26:25 -05:00
Saikrishna Arcot
ef5ed3c17f Fix error caused by missing lane tags.
When there is both a slight left turn and a slight right turn possible
at a point, and neither of the outbound roads have a lanes tag, then
an ArrayIndexOutOfBoundsException is thrown.
2014-10-13 08:37:00 -05:00
Victor Shcherb
078505633b Fix map downloader 2014-10-13 00:58:01 +02:00
Victor Shcherb
3dfcf8fecf Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-10-13 00:47:20 +02:00
Victor Shcherb
a00b64f85e Fix issue with unnecessary POI created 2014-10-13 00:46:54 +02:00
Taranenko Roman
515f610cac Added more elements in the predefined list of POI types and fixed issue
"Please add natural=tree to POI creation list". Fixed app crash in
DownloadIndexesThread.
2014-10-09 20:40:09 +03:00
Taranenko Roman
d1df74c273 Fixed scrolling through an online map ends up "downloading forever"
issue
2014-10-08 23:02:15 +03:00
Saikrishna Arcot
54871563db Add support for reading in lanes that have multiple turns 2014-10-07 22:38:48 -04:00
Victor Shcherb
8602f9aed4 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-10-08 00:53:42 +03:00
Victor Shcherb
4290fc3bad Fix bug 2014-10-08 00:53:04 +03:00
vshcherb
d6f1be4f80 Merge pull request #902 from saiarcot895/basic-turn-lanes-reading
Add basic support for reading turn:lanes and drawing the turns as lanes
2014-10-08 00:23:43 +03:00
Saikrishna Arcot
88156c0370 Swap secondary and primary turns if the secondary turn is actually the turn being made. 2014-10-06 14:10:57 -04:00
Saikrishna Arcot
3ef0a4f9a8 Change return type of attachTurnLanesData to void 2014-10-06 12:43:50 -04:00
Saikrishna Arcot
bd5d29fc5f Rename countLines() to countLanes() 2014-10-04 10:41:30 -04:00
Saikrishna Arcot
a11e5bb9e6 Add basic support for reading turn:lanes and drawing the turns as lanes 2014-10-04 10:39:25 -04:00
Victor Shcherb
19ef80c33f count lines differenetly 2014-10-02 17:50:02 +02:00
Victor Shcherb
e27a425465 Show different turns 2014-10-02 14:14:34 +02:00
Victor Shcherb
2c6b19b775 Refactor turn types 2014-10-02 13:47:39 +02:00
Victor Shcherb
6c3bd59a7a Small changes 2014-10-02 11:22:11 +02:00
Denis
f68498ad13 merge with master 2014-10-01 12:53:09 +03:00
Victor Shcherb
b6273d00c1 Fix zoom scale for high density phones (glitch 200-300%) 2014-10-01 00:27:01 +02:00
Denis_Bars
36f46e3176 Merge branch 'qtcore' of https://github.com/osmandapp/Osmand into qtcore 2014-09-28 16:26:13 +03:00
Victor Shcherb
13153bec28 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-09-27 12:44:49 +03:00
Victor Shcherb
82120c920e Add more info about error heartbeat 2014-09-27 12:44:37 +03:00
Zahnstocher
ae8141c5d8 Fix c:geo intent 2014-09-27 00:24:07 +02:00
Victor Shcherb
8dc635eae1 Update map utils 2014-09-26 10:42:47 +02:00
Victor Shcherb
fe84bf3a6f Delete osmodroid code and add binary inspector ability to trace vrouting 2014-09-26 10:03:19 +02:00
Victor Shcherb
3f4afca303 Add text size setting for the map 2014-09-24 22:32:37 +02:00
Victor Shcherb
f1cdd40305 Align map/text/icon scale 2014-09-23 09:40:26 +02:00
Victor Shcherb
68869a05b5 Update routing, make point precise 2014-09-22 02:08:34 +02:00
Victor Shcherb
e8ffb5b532 Fix search cmd 2014-09-14 10:21:44 +02:00
Victor Shcherb
8a23993e08 Fix rendering parser 2014-09-13 17:18:26 +02:00
Victor Shcherb
c017af3372 Working commit 2014-09-13 17:18:13 +02:00
Victor Shcherb
b95cd933f1 Storage 2014-09-13 12:49:00 +02:00
Victor Shcherb
355b59b0fd Refactor rendering rules 2014-09-13 12:27:39 +02:00
Victor Shcherb
93dd291796 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-09-11 00:41:03 +02:00
Victor Shcherb
75df4e7b23 introduce style aliases 2014-09-11 00:40:53 +02:00
vshcherb
bfe1f02255 Merge pull request #873 from rilaby/geopatterns
changed the patterns to stick to one for lat, lon;
2014-09-10 14:15:10 +02:00
rilaby
d916bb0cd6 changed the patterns to ctick to one for lat, lon; added support for
integer lat, lon; added new test cases;
2014-09-10 10:18:52 +03:00
vshcherb
4f03debcfd Merge pull request #871 from rilaby/geopatterns
GeoPointParserUtils bug fixed
2014-09-08 10:34:40 +02:00
rilaby
892d07a56d GeoPointParserUtils bug fixed 2014-09-08 10:25:43 +03:00
jeepingben
d656aa54e6 Switch MapTileDownloader order to LIFO -Issue 2364
Fetch the area the user visited most recently first.  This makes the GUI feel more responsive.
2014-09-05 08:39:15 -04:00
jeepingben
7bbfcc0b7e Create LIFOBlockingDeque.java
Add support for LIFO blocking queue (deque actually)
2014-09-05 08:34:34 -04:00
Victor Shcherb
11d62188e4 Fix additional 2014-09-05 12:23:57 +02:00
vshcherb
456eefde5a Merge pull request #863 from rilaby/geopatterns
search by geo urls reworked
2014-09-04 11:46:54 +02:00
rilaby
8d7d817c0a search by geo urls reworked 2014-09-04 09:47:08 +03:00
Victor Shcherb
62076bbca5 Remove whitespace 2014-09-03 19:39:50 +02:00
Victor Shcherb
6451541daf Update transformer 2014-09-03 19:04:08 +02:00
Victor Shcherb
1853caee90 support apply/filter 2014-09-03 11:33:30 +02:00
Victor Shcherb
9f999a1e2a Create rules transformer 2014-09-03 02:35:14 +02:00
Victor Shcherb
f81cfbf8df Support gpx rendering and nav rendering 2014-09-01 01:18:23 +02:00
Victor Shcherb
3baa09d434 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-08-31 23:41:21 +02:00
Victor Shcherb
8d540d66ac Fix rendering rules 2014-08-31 23:40:51 +02:00
rilaby
3a9c6c37f4 GeoPointParserUtil.java added to osmAnd-java 2014-08-31 20:25:01 +03:00
Victor Shcherb
8627391c4f Fix crash 2014-08-28 01:23:49 +02:00
Victor Shcherb
7c48e7052f Map rendering types 2014-08-27 23:44:49 +02:00
Victor Shcherb
3736b332e3 Fix format 2014-08-21 22:39:36 +02:00
Victor Shcherb
20677dd757 Add rendering parser state 2014-08-21 22:19:31 +02:00
Victor Shcherb
4f51bb9237 Update waypoint helper 2014-08-17 15:42:09 +02:00
Victor Shcherb
657bf17d82 Refactor favorites 2014-08-15 00:49:16 +02:00
Victor Shcherb
431fd20f76 Fix pause navigation and implement search poi on the path 2014-08-06 01:28:55 +02:00
Victor Shcherb
441b547a21 Add search poi along the path 2014-08-05 11:09:15 +02:00
Victor Shcherb
f7ab4f4be3 Fix mixed casing in rendering_types.xml (all lowercase now) and relation=true for additional 2014-08-03 19:44:48 +02:00
Victor Shcherb
34c45211dd Merge 2014-08-01 18:22:43 +02:00
Denis_Bars
36ef4d8307 Implemented waypoint dialog 2014-08-01 19:15:59 +03:00
Victor Shcherb
e44d520b3a update entity 2014-07-30 16:11:39 +02:00
Victor Shcherb
ab50581e8b Start and stop stage 2014-07-29 09:49:41 +02:00
Victor Shcherb
2eca9ec77f New experimental routing 2014-07-18 17:50:38 +02:00
Denis
e2e4d234aa Removed UTurn message. Added functionality to cancel voice commands if user is off the route. Added off the route indicator with lenght to return to path. 2014-07-17 12:50:50 +04:00
Victor Shcherb
3a69405dc7 Hotfix issue 2014-07-16 20:45:44 +02:00
Victor Shcherb
b105d89881 Show suburbs correctly 2014-07-14 02:02:32 +02:00
Victor Shcherb
93a5a7933d Don't use uturn in services 2014-07-11 18:48:08 +02:00
Victor Shcherb
a449658b41 Download layer 2014-07-06 16:17:46 +02:00
unknown
e1177cf3ce fixed bug 95 2014-07-03 12:41:37 +03:00
Victor Shcherb
c1e1c10f39 Try to fix performance 2014-06-27 01:25:38 +02:00
Victor Shcherb
46adfea1c1 Prepare english name maps 2014-06-26 02:29:02 +02:00
Victor Shcherb
68cd88c36d Index strings in proper order 2014-06-26 01:14:30 +02:00
Victor Shcherb
87d910e7b7 Update rendering types 2014-06-26 00:23:16 +02:00
Victor Shcherb
529b20283d Fix bugs / deselect gpx from available (visible in settings)/show points and context menu for selected items 2014-06-25 17:30:56 +02:00
Victor Shcherb
05f919b2f7 update java 2014-06-23 22:10:16 +02:00
Victor Shcherb
a1b6a78a99 update java 2014-06-23 22:04:21 +02:00
Victor Shcherb
381a1032b1 update java 2014-06-23 21:59:34 +02:00
Victor Shcherb
3344be088d Add legacy so to the build 2014-06-23 21:52:23 +02:00
vshcherb
506e740bcd Merge pull request #691 from balrog-kun/master
Consts for addr:place=* and place=neighbourhood.
2014-06-23 03:02:36 +02:00
Victor Shcherb
658de3c710 Embed fonts into build 2014-06-21 02:51:40 +02:00
Victor Shcherb
f31cebf6a7 Add support for custom fonts 2014-06-21 02:32:49 +02:00
Victor Shcherb
60f3dae306 Add favorites 2014-06-20 11:41:55 +02:00
Andrzej Zaborowski
9d2cbe0d17 Add CityType.NEIGHBOURHOOD for OsmAndMapCreator.
place=neighbourhood is gaining popularity for about two years in OSM
tagging and is supported by other tools as a subdivision of a
place=suburb and similar.
2014-06-20 01:18:10 +02:00
Andrzej Zaborowski
4b516efde9 Add an enum for addr:place for OsmAndMapCreator to use.
addr:place=* support is very important for address search in some
countries.  Nominatim and most other tools support it.
2014-06-20 01:18:09 +02:00
Victor Shcherb
11280b62ba Fix rendering style 2014-06-19 22:39:45 +02:00
Victor Shcherb
30b71f729a Add support for icon visible size (special case 0) 2014-06-19 21:04:56 +02:00
Victor Shcherb
d9a7c973b3 Try to fix basemap generation 2014-06-13 11:32:06 +02:00
Victor Shcherb
91b7739581 update favorites icon 2014-06-11 00:57:53 +02:00
Victor Shcherb
c3d3f509c1 Refactor labels 2014-06-08 21:01:46 +02:00
Victor Shcherb
d4fe3288d2 Initial refactoring 2014-06-08 10:50:40 +02:00
vshcherb
b164eab3e2 Update Algorithms.java
Add parse color
2014-06-01 11:18:43 +02:00
vshcherb
fa778d890c Fix regions and add edit device color 2014-05-27 02:36:15 +02:00
Koen Rabaey
a4455a1fc3 import&save gpx&kml files from file&content uri's 2014-05-22 10:51:31 +02:00
vshcherb
71b98f79f0 Fix modified date (unified UTC solution) 2014-04-28 22:26:43 +02:00
vshcherb
be1bb81e05 Rename to follow file name convention 2014-04-26 16:18:51 +02:00
vshcherb
740c829fab Use timestamp instead of date 2014-04-26 16:18:51 +02:00
vshcherb
381492698a update names 2014-04-26 16:16:03 +02:00
vshcherb
4d00c93c55 Update constants 2014-04-17 00:08:04 +02:00
vshcherb
2f3cee4d50 Add customization point / remove intents class 2014-04-16 23:55:22 +02:00
vshcherb
a7a5639969 Update download items 2014-04-15 01:26:40 +02:00
vshcherb
bce2a537d7 Show locale names instead of download names (but search both) 2014-04-14 02:08:48 +02:00
vshcherb
2dc9e63dc9 Fix collator issue 2014-04-12 23:37:18 +02:00
vshcherb
3fe967d797 Update collator 2014-04-11 01:04:17 +02:00
vshcherb
fb83b64ac4 Fix bug in countries with mph limits 2014-04-07 00:56:17 +02:00
vshcherb
53e0727f7c Update MapRenderingTypes.java 2014-03-31 18:05:52 +02:00
vshcherb
c515f2cbc2 Fix exception traces 2014-03-29 21:19:18 +01:00
vshcherb
c2c0ec5303 Fix small issues 2014-03-29 21:16:53 +01:00
vshcherb
681f6a27e0 Fix small issues 2014-03-26 12:56:02 +01:00
vshcherb
2355433947 Update map controls to display zoom in/out conditionally 2014-03-22 02:03:57 +01:00
vshcherb
016f4acd3b Fix navigate action menu & put read time out for tiles 2014-03-08 15:50:07 +01:00
vshcherb
a6d7c1d052 Fix java based rendering 2014-03-07 02:36:42 +01:00
vshcherb
57b86af812 Add info to trace 2014-03-06 10:13:57 +01:00
vshcherb
c185447fbe Add missing points/roads for basemap 2014-03-06 01:57:55 +01:00
Alexey Pelykh
40d5335dbd Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-03-04 19:33:04 +02:00
Alexey Pelykh
7f66caede9 JNI should be in core 2014-03-04 19:32:34 +02:00
vshcherb
3c1104b1d0 Improve gpx route calculation 2014-03-03 18:44:17 +01:00
vshcherb
05e763f60c Improve gpx route calculation 2014-03-03 15:55:32 +02:00
vshcherb
1f7f7f54da Add osmand route calculation following gpx track 2014-03-02 19:47:03 +02:00
vshcherb
4279cf6150 Add field for java pc rendering 2014-03-01 19:02:50 +02:00
vshcherb
82137dc66b Fix roundabout issue 2014-03-01 16:49:21 +02:00
vshcherb
2cc5409044 Add rendering route data objects from java/ change download button behavior 2014-03-01 13:30:25 +02:00
Alexey Pelykh
e6e5d2c32b Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-02-27 11:19:42 +02:00
Alexey Pelykh
09b9f77c67 Remove always-outdated target 2014-02-27 11:19:17 +02:00
vshcherb
c7e764239b Add dynamic routing parameters for osmand routing.xml 2014-02-26 21:03:12 +01:00
vshcherb
61dbb483ed Fix issue with addr:housenumber 2014-02-23 14:17:21 +01:00
Alexey Pelykh
3dea3362c4 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2014-02-23 00:11:14 +02:00
Alexey Pelykh
4f926a391e Include icu4c in deps 2014-02-23 00:10:44 +02:00
vshcherb
df6cf9f480 Update routing 2014-02-21 01:03:34 +01:00
vshcherb
07db561e06 Small changes 2014-02-12 01:01:28 +01:00
vshcherb
f82ea8df18 Speedup routing 2014-02-07 02:38:42 +01:00
vshcherb
ffec2a815d Encoder 2014-02-06 02:23:10 +01:00
vshcherb
33e2902aa5 Add speech rate to accessibility settings 2014-02-06 01:07:45 +01:00
vshcherb
be06d96141 Update warnings & settings with new routing 2014-02-06 00:35:08 +01:00
vshcherb
1370e3050d Update warnings & settings with new routing 2014-02-06 00:17:07 +01:00
vshcherb
da25b2869b Add new routing config 2014-02-05 21:10:04 +01:00
vshcherb
7e9053b2bc Add new routing config 2014-02-05 17:57:24 +01:00
vshcherb
db06f5ee00 Introduce New routing config 2014-02-02 14:06:15 +01:00
vshcherb
311ec40157 finalize changes 2014-02-01 22:32:06 +01:00
vshcherb
bc55c294d5 Add precalculated route 2014-02-01 22:32:06 +01:00
vshcherb
efdfdb55e9 Update routing provider 2014-02-01 22:32:06 +01:00
vshcherb
3de7729bce Introduce new routing 2014-02-01 22:32:06 +01:00
vshcherb
2ce1385ae5 Change interface 2014-02-01 22:32:06 +01:00
hvdwolf
c5712fd4dc Update build.xml; undo previous change
I thought I had closed that specific pull request but it was still active and now in the Copyright pull request
2014-01-27 12:06:08 +01:00
hvdwolf
8586f00969 Update build.xml
When compiling with repo from the the osmand-tools repo to build OsmandMapCreator, I need the ./ before collect_libs.sh
2014-01-26 08:52:48 +01:00
vshcherb
99261472db Test new routing provider (alpha routing should work with java for quite long distance). Maps needs to be updated (new regeneration 22 Jan 2014-01-21 01:58:52 +01:00
vshcherb
4b9697f104 Update map utils douglas-peuker (to return filtered out points) 2014-01-20 19:34:45 +01:00
vshcherb
2d3a054fd0 Fix small issues 2014-01-20 01:50:30 +01:00
vshcherb
f3566c25e4 Clean binary inspector 2014-01-20 01:05:15 +01:00
vshcherb
35432e6080 Clean binary inspector 2014-01-20 01:05:03 +01:00
vshcherb
a7a59e3f07 Test new routing (not enabled in this commit) 2014-01-20 00:25:45 +01:00
vshcherb
fc11e13a1e Remove border lines & enable route precalculation 2014-01-19 23:59:14 +01:00
vshcherb
5dd8c35988 Update calculation 2014-01-19 23:59:14 +01:00
vshcherb
f965160876 Update android routing 2014-01-19 23:59:14 +01:00
vshcherb
3fc759ef1c Small changes 2014-01-19 23:59:14 +01:00
vshcherb
ad72ef705b Test new routing 2014-01-19 23:59:14 +01:00
vshcherb
b9e4a8cc3d Investigate new routing 2014-01-19 23:59:14 +01:00
vshcherb
f7e39bfe48 Add rendering property textHaloColor 2014-01-13 01:40:16 +01:00
vshcherb
65072007cd Fix small issues 2013-12-30 00:45:29 +01:00
vshcherb
847c8e8d44 Fix simulation in tunnel (too quick now) 2013-12-30 00:45:29 +01:00
vshcherb
a1ed8cabbf Fix open sea maps creator 2013-12-01 17:08:52 +01:00
vshcherb
9e6b9560dc Fix map generation 2013-11-30 20:44:07 +01:00
vshcherb
6fc2e88619 Add new poi type for open sea maps 2013-11-30 20:17:13 +01:00
vshcherb
c6bc4b32bd Add open sea maps parsing 2013-11-30 20:17:13 +01:00
vshcherb
00a446d335 Merge pull request #550 from jasalamanca/testRouting
Adding vehicle parameter to TestRouting
2013-11-27 02:19:33 -08:00
Javier Salamanca
83fd1e69c4 - Adding vehicle parameter to TestRouting
- Reseting context before searching route.
2013-11-27 08:33:13 +01:00
vshcherb
4305d74c20 Update MapRenderingTypes.java 2013-11-27 01:15:57 +01:00
vshcherb
2b002357c1 Update MapRenderingTypes.java 2013-11-27 01:03:02 +01:00
vshcherb
9798a3b55c Fix small shifts (use double) 2013-11-26 17:11:36 +01:00
vshcherb
cc152f16c8 Fix small offset by replacing float -> double 2013-11-26 17:11:35 +01:00
vshcherb
3bf2ded7a4 Fix invisible zigzags 2013-11-26 16:23:12 +01:00
vshcherb
793d16517a Fix exception (crash POI filter) 2013-11-26 00:22:17 +01:00
vshcherb
d051a5f8e9 Fix exception (crash POI filter) 2013-11-26 00:09:47 +01:00
vshcherb
cb0a9359dc Clean map inspector 2013-11-24 21:51:10 +01:00
vshcherb
a9c6f8ebd3 Support custom categories and put them into USER_DEFINED 2013-11-24 21:29:50 +01:00
vshcherb
bf9f0e5220 Fix text types 2013-11-24 20:24:19 +01:00
vshcherb
02f0be7d22 Fix text types 2013-11-24 20:24:19 +01:00
vshcherb
99f2d38483 Update osmand application 2013-11-24 19:45:00 +01:00
vshcherb
8fe2a7df62 Fix binary inspector 2013-11-24 19:23:00 +01:00
vshcherb
b088a94df2 Add reading new tags 2013-11-24 19:22:07 +01:00
vshcherb
105beb6976 Fix creation of old maps 2013-11-24 17:38:09 +01:00
vshcherb
6ff89eff04 Update rendering types for new Android version & new map creator 2013-11-24 17:38:09 +01:00
vshcherb
778a72992f Refactor poi encoder 2013-11-24 17:38:09 +01:00
vshcherb
95d92645a6 Amenity types 2013-11-24 17:38:09 +01:00
vshcherb
db262a4c16 Update Amenity.java 2013-11-20 10:34:31 +01:00
Alexey Pelykh
84e6309757 Fix defines 2013-11-13 18:37:36 +02:00
vshcherb
047a42cf42 Remove not used countries info 2013-11-11 01:46:38 +01:00
vshcherb
77b8c8cb66 Update protobuf 2013-11-11 01:38:37 +01:00
vshcherb
bf336b7227 Add protobuf patch 2013-11-11 01:09:02 +01:00
vshcherb
8af6fa9816 Add protobuf patch 2013-11-11 01:06:14 +01:00
vshcherb
2a736bcf07 Add protobuf patch 2013-11-11 00:39:09 +01:00
vshcherb
b1a9fb173e Update protobuf 2013-11-11 00:26:50 +01:00
vshcherb
5e0ec9c1e1 Update protobuf 2013-11-11 00:21:01 +01:00
vshcherb
119623e98a Refactor amenity structure 2013-11-10 16:54:28 +01:00
vshcherb
367ca7f3ee Decrease penalty for traffic signals 2013-11-06 23:04:55 +01:00
vshcherb
29d1fe315c Fix and arrive at destination point 2013-11-06 17:41:18 +01:00
vshcherb
a0b0ca8762 Update animate route 2013-11-06 13:51:54 +01:00
vshcherb
df1407e9f2 Small change 2013-11-06 11:42:27 +01:00
vshcherb
0e1365b30b Improve smoothness on high zoom levels 2013-11-03 23:23:37 +01:00
vshcherb
c9901e606c Update Map rendering types usage 2013-11-03 16:29:10 +01:00
vshcherb
dfceb65104 Update Map rendering types usage 2013-11-03 16:27:04 +01:00
vshcherb
4c67ef8209 Fix critical issue of 208% 2013-11-02 18:14:43 +01:00
vshcherb
f3f9c0038b Adjust english names 2013-10-30 17:14:14 +01:00
vshcherb
6c7cd3d3c2 Simulate position in tunnels 2013-10-29 21:13:57 +01:00
vshcherb
9ffedce020 Update location provider 2013-10-29 01:27:01 +01:00
vshcherb
2b13f732a8 Fix online maps (timeout doesn't redownload map) 2013-10-27 19:17:12 +01:00
vshcherb
392411a0aa Fix download button for roads-only 2013-10-27 18:47:26 +01:00
vshcherb
f6692765f2 Fix bug with NPE of osmand regions 2013-10-27 00:37:32 +02:00
vshcherb
b50fd54528 Small refactoring route details 2013-10-26 14:41:07 +02:00
vshcherb
35b7eda9a3 Update interface 2013-10-23 23:49:30 +02:00
vshcherb
a8b029e91e Fix 1-3 zoom visibility 2013-10-20 00:19:44 +02:00
vshcherb
0bae5ded80 Implement buffer image to increase FPS 2013-10-16 21:36:13 +02:00
vshcherb
ec83f9f72c Implement buffer image to increase FPS 2013-10-16 21:36:13 +02:00
vshcherb
d6faeb74d8 Fix issue with transparent no-polygons 2013-10-09 20:12:03 +02:00
vshcherb
963abd78fd Fix icons rendering 2013-10-08 00:24:26 +02:00
vshcherb
8d67b70a8e Fix native rendering 2013-10-07 23:41:02 +02:00
vshcherb
8b543181b2 Fix rendering make view distance 2013-10-07 10:49:06 +03:00
vshcherb
c06a2de63a Remove high-density setting & introduce map magnifier 2013-10-06 22:47:20 +03:00
vshcherb
2d6ce8c5ca Add 2 fingers rotation 2013-10-06 22:47:20 +03:00
vshcherb
3752cd25ab Add 2 fingers rotation 2013-10-06 22:47:20 +03:00
vshcherb
0c91728e9e Add 2 fingers rotation 2013-10-06 22:47:19 +03:00
vshcherb
38328dbc26 Fix vector rendering 2013-10-06 22:47:19 +03:00
vshcherb
c90d31486f Modify layers 2013-10-06 22:47:19 +03:00
vshcherb
7f8a088a4a Modify layers 2013-10-06 22:47:19 +03:00
vshcherb
368f9b7493 Introduce new lat/lon math 2013-10-06 22:47:19 +03:00