Commit graph

775 commits

Author SHA1 Message Date
aceman444
415f74e99e Update RouteDataObject.java
One more return to really support feet without inches.
2015-05-09 17:38:45 +02:00
aceman444
e637873b50 Update parseLength to support inches
Update parseLength to be more strict and precise and also support inches when feet are specified. Inches are actually mandatory per the wiki, but not all mappers give them. The new function supports them when they are specified (so handles them as optional).

Sorry, I can't build OsmAnd so this patch is untested. Please try it out and then merge. Thanks.
2015-05-09 14:44:10 +02:00
Victor Shcherb
c107cc7644 Fix shorten route calculation 2015-05-06 23:21:28 +02:00
Victor Shcherb
f887946674 Remove lib 2015-05-03 15:57:11 +02:00
Victor Shcherb
2493f0005a Update poi reader 2015-05-02 23:30:24 +02:00
Victor Shcherb
6c80487bfe Fix poi display with track 2015-05-02 20:37:56 +02:00
Victor Shcherb
ef031d7ec9 Fix crashes 2015-05-01 19:19:27 +02:00
Victor Shcherb
335d363d24 Fix precompiled style 2015-05-01 15:41:35 +02:00
Victor Shcherb
96fea08063 Update generated style 2015-05-01 15:18:56 +02:00
Victor Shcherb
60d2c91bda Fix small issues 2015-04-30 01:02:59 +02:00
Victor Shcherb
0055c3edd0 New change for fast route recalculation 2015-04-30 00:47:57 +02:00
Victor Shcherb
e83021c57f Speed up load / start fixing poi current location bugs 2015-04-15 18:05:26 +02:00
Victor Shcherb
916d38199d Add glow effect to widgets 2015-04-15 10:21:22 +03:00
Victor Shcherb
1c51d60a71 Update 2015-04-14 21:39:58 +03:00
Victor Shcherb
4e2b0057ac Update 2015-04-14 21:39:54 +03:00
Victor Shcherb
53e708ccb1 Fix build 2015-04-14 15:44:43 +03:00
Victor Shcherb
8edc7cd006 Update poi type filters 2015-04-10 19:26:36 +02:00
Victor Shcherb
1b165d9853 Filter by type fuel 2015-04-10 19:06:20 +02:00
Victor Shcherb
12ebbd0965 Update only open parser 2015-04-10 01:34:46 +02:00
Victor Shcherb
d236bc718c Update search poi 2015-04-10 00:15:50 +02:00
Victor Shcherb
2bb1d40f41 Update poi search 2015-04-08 16:04:32 +02:00
Victor Shcherb
f498454734 Update poi types 2015-04-08 00:55:20 +02:00
Victor Shcherb
c6ad42ee79 Update poi types 2015-04-08 00:21:31 +02:00
Victor Shcherb
ca31455f0e Update poi search ui 2015-04-07 23:05:52 +02:00
Victor Shcherb
ca7ddae8ad Update open hours ui 2015-04-07 00:47:02 +02:00
Victor Shcherb
3b0f6f49af Update open hours ui 2015-04-07 00:34:11 +02:00
Victor Shcherb
cbf950cbdc Fix poi issues 2015-04-06 23:46:02 +02:00
Victor Shcherb
c5c60ff049 Update poi types 2015-04-05 13:51:01 +02:00
Victor Shcherb
c41000301b Poi type fix 2015-04-04 13:05:41 +02:00
Victor Shcherb
39c34ac7a3 Update poi types 2015-04-03 16:34:52 +02:00
Victor Shcherb
7e51abfe95 Update poi types 2015-04-03 13:48:12 +02:00
Victor Shcherb
e58b75c87e Dont jump 2015-04-03 12:08:40 +02:00
Hans-Christoph Steiner
87896f852b fix Google Maps URL parsing for all known URLS
This fixes the FIXME URLs, and adds a new URL with the query name in the
fragment.
2015-03-31 22:43:17 -04:00
Hans-Christoph Steiner
dac0cf725b support parsing all Google Maps URLs
This adds support for hosts like:
* www.google.com.tr
* www.google.co.uk

and many more...
2015-03-31 22:38:46 -04:00
Victor Shcherb
2bde70a057 Update icons 2015-03-29 15:54:23 +02:00
Victor Shcherb
7914cc4c03 Fix entity 2015-03-28 19:10:56 +01:00
Victor Shcherb
15450a8d87 Update waypoints 2015-03-26 22:16:04 +01:00
Victor Shcherb
cfbfa188cc Fix poi types 2015-03-25 00:06:52 +01:00
Victor Shcherb
21e9e6b7cf Init osmand regions 2015-03-18 01:12:02 +01:00
Victor Shcherb
7e8b008a81 Fix poi editing 2015-03-11 20:38:05 +01:00
Victor Shcherb
c3bf97fe75 Fix issue with old rendering 2015-03-10 23:47:08 +01:00
Victor Shcherb
d37e3dda08 Add waypoints card 2015-03-10 00:00:08 +01:00
Victor Shcherb
a1e1192eab Inspector 2015-03-09 23:18:22 +01:00
Victor Shcherb
bc6b9c2aea Inspector 2015-03-09 23:16:22 +01:00
Victor Shcherb
ba3a2cee39 Update binary inspector 2015-03-09 23:09:16 +01:00
Victor Shcherb
c397a428a1 Update binary inspector to print map details size 2015-03-09 22:47:38 +01:00
Victor Shcherb
5e7a5374d2 Startup of application 2015-03-06 19:37:54 +01:00
Victor Shcherb
2ed43c34e1 Refactor startup 2015-03-06 01:58:15 +01:00
Victor Shcherb
c3f18229bc Upgrade eclipse to 1.7 2015-02-28 11:58:29 +02:00
vshcherb
2c76ad0461 Merge pull request #1080 from ilasica/urlTemplate
Add in urlTemplate support of variables {z}, {x} and {0} interpreted like {0}, {1} and {2}
2015-02-21 00:43:29 +01:00
Hans-Christoph Steiner
bb1d1320ed use NetworkUtils.getHttpURLConnection for all URLConnections
This keeps the code consistent, provides a single common method for setting
up URLConnections, and allows the proxy support to work on all network
connections.

NetworkUtils.getHttpURLConnection() provides a common method for creating
HttpUrlConnection instances from URLs.  That's where the proxy config
happens.  If you can think of a better way to add proxy support, I'm all
ears.  This is the best that we've found in our proxy work at Guardian
Project.

this is a follow up on https://github.com/osmandapp/osmand/pull/1043
2015-02-20 14:06:07 +01:00
ilasica
24e1bc3d3f Add in urlTemplate support of variables {z}, {x} and {0} interpreted like {0}, {1} and {2}.
Before now these variables were supported in some cases. Now they are supported always in both .metainso and sqlitedb.
No support in beanshell!
2015-02-20 15:55:30 +03:00
ilasica
cd8736ee5b Add in urlTemplate support of variables {z}, {x} and {0} interpreted like {0}, {1} and {2}.
Before now these variables were supported in some cases. Now they are supported always in both .metainso and sqlitedb.
No support in beanshell!
2015-02-20 15:01:00 +03:00
vshcherb
630105c0f9 Update BinaryInspector.java 2015-02-19 14:01:20 +01:00
Victor Shcherb
f82ed438a5 Update to partially support (previous poi filters) 2015-02-19 00:40:16 +01:00
Victor Shcherb
3717464598 Implement new poi structure 2015-02-19 00:09:00 +01:00
Victor Shcherb
f58c17eb66 Make osmandonline tiles hd 2015-02-16 19:44:28 +01:00
Victor Shcherb
895b61a34b Fix issues 2015-02-16 09:42:59 +01:00
ilasica
0e0def0440 In case of SQLiteTileSource using
Changed loading tiles to sqlitedb when using "Download map" from context menu. Before now in such cases tiles were saved just in files in TEMP folder
Changed saving tiles directly  to sqlitedb when browsing new area. efore now in such cases temp files were used.
2015-02-11 10:47:34 +03:00
Victor Shcherb
83e90ee0a2 Fix entity parser 2015-02-10 00:24:22 +01:00
ilasica
cd3dc04880 Add beanshell use. Use new optional field RULE in table INFO. Value "beanshell" makes to use interpreter for processing of a script which put into the field URL. If there is no field RULE or its value differs from "beanshell", content of the field URL used as before. 2015-02-09 10:25:18 +03:00
Hans-Christoph Steiner
859595267e add more kinds of Google URLs for testing
This includes some valid Google Maps links that cause problems with the new
`parseGoogleMapsPath()` method.
2015-02-03 00:29:43 +01:00
Hans-Christoph Steiner
34ecdafc5d GeoParsedPoint normalize query string format as plain, not URL-encoded
There were parts of this code that were sticking in a URL-encoded query
string into GeoParsedPoint, and other parts that were putting in a regular
non-URL-encoded String.  This meant that URLs with an & in the query string
encoded as %26 were not being properly parsed, since & is used to split up
the query string.  That also makes it impossible to output a properly
encoded URI from getGeoUriString().
2015-02-03 00:28:45 +01:00
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
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
755b56a97b Fix map creator 2015-01-26 21:45:07 +01: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
Alexey Pelykh
904c2bf342 Styles 2014-12-18 19:39:50 +02:00
Victor Shcherb
9eea16efba Add icon__1 to render 2014-12-17 11:13:19 +01: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
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
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
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
vshcherb
df6cf9f480 Update routing 2014-02-21 01:03:34 +01:00