Commit graph

1340 commits

Author SHA1 Message Date
Victor Shcherb
27a1d15632 Delete cc 2016-05-17 19:09:07 +02:00
Roman Inflianskas
3802c811c7 MapObject: add comparator 2016-05-17 17:35:21 +03:00
Roman Inflianskas
137854ee8c Cleanup 2016-05-17 17:29:31 +03:00
Roman Inflianskas
ba8fa3f125 fix 2016-05-17 17:13:12 +03:00
Roman Inflianskas
9f5ef58e0d BinaryInspector: add -lang flag 2016-05-17 16:55:48 +03:00
Roman Inflianskas
7997cfd234 BinaryInspector: not print IDs for postcodes 2016-05-17 16:55:48 +03:00
Roman Inflianskas
775b2124d5 City constructor 2016-05-17 16:48:34 +03:00
Roman Inflianskas
07078620ae Exception handling 2016-05-17 16:48:33 +03:00
Roman Inflianskas
4ad562867e Formatting 2016-05-17 16:45:12 +03:00
Roman Inflianskas
17d25971cb Formatting 2016-05-17 15:24:52 +03:00
Roman Inflianskas
ada4335ea5 Formatting 2016-05-17 15:20:56 +03:00
Roman Inflianskas
e01f700b66 Formatting 2016-05-17 14:48:40 +03:00
Victor Shcherb
8c3696b76b Fix race condition in #2521 2016-05-08 23:27:54 +02:00
Victor Shcherb
dd07571182 Fix #2495 2016-05-08 23:25:43 +02:00
Victor Shcherb
b5f90b6036 Prepare to accept merge for mapcreator 2016-05-07 18:01:43 +02:00
Victor Shcherb
83f9b03dde Prepare to accept merge for mapcreator 2016-05-07 17:58:28 +02:00
Victor Shcherb
43e7923289 Prepare to accept merge for mapcreator 2016-05-07 17:56:08 +02:00
xmd5a
edd6ac7f4d Add turn lanes test 2016-05-02 20:36:14 +03:00
Victor Shcherb
1acc561d38 Fix tests 2016-04-28 10:31:27 +02:00
Victor Shcherb
f545de9b38 Revert test 2016-04-28 10:22:07 +02:00
xmd5a
bf7d9eda02 Update turn lanes test obf 2016-04-27 14:57:42 +03:00
Victor Shcherb
4ff0469b04 Fix #2420 2016-04-27 01:05:42 +02:00
Victor Shcherb
b2fe950755 Fix osm live restrictions 2016-04-27 00:10:12 +02:00
Victor Shcherb
d3244224ee Change id binary inspector 2016-04-26 22:59:47 +02:00
Victor Shcherb
ec1b3a5ee2 Fix formatting 2016-04-26 22:07:57 +02:00
Victor Shcherb
566c609f78 Small change formater 2016-04-26 20:17:24 +02:00
Victor Shcherb
73ef92c4da Verbose binary inspectory 2016-04-26 20:08:37 +02:00
Roman Inflianskas
ae04bf705a BinaryInspector: print restrictions and coordinates for roads 2016-04-26 18:31:44 +03:00
vshcherb
43e4bccf60 Update BinaryInspector.java 2016-04-26 13:29:14 +02:00
Victor Shcherb
219f1c9038 Update android version 2016-04-24 21:12:21 +02:00
Victor Shcherb
4b53e8b078 Update relation 2016-04-18 02:26:59 +02:00
Roman Inflianskas
f30318bf49 Fix #2436 2016-04-16 19:54:57 +03:00
vshcherb
a137d61222 Merge pull request #2457 from poretsky/review_160414_accessibility_proposal
Better accessibility feedback in the route description screen
2016-04-15 12:19:07 +02:00
Victor Shcherb
87d8ddfcee Update turn type 2016-04-15 11:08:46 +02:00
Igor B. Poretsky
1772edd374 Better accessibility feedback in the route description screen.
Distance information is not duplicated by the accessibility
feedback. Added particular items for arrival points. Fully qualified
time format is used in accessibility mode since it is treated by
speech synthesizers more correctly.
2016-04-14 21:22:09 +03:00
Victor Shcherb
c95586879f Fix tests 2016-04-13 23:01:19 +02:00
xmd5a
ec3b096afd Update turn lanes tests 2016-04-13 23:52:36 +03:00
xmd5a
a28a7360d8 Update turn lanes json 2016-04-13 23:24:16 +03:00
Victor Shcherb
c499d701d5 Add test to ignore 2016-04-13 00:47:05 +02:00
Victor Shcherb
602154b629 Fix turn-lanes test 2016-04-13 00:14:31 +02:00
Victor Shcherb
e5d4d3df9a Fix turn-lanes test 2016-04-13 00:14:27 +02:00
Victor Shcherb
d0a25ebb88 Update turn lanes 2016-04-12 23:44:17 +02:00
Victor Shcherb
32ac19cb9d Update test 2016-04-12 23:11:37 +02:00
Victor Shcherb
7088a7555c Fix incorrect turn definition 2016-04-12 23:05:18 +02:00
Victor Shcherb
d31b6288f0 Fix #2452 2016-04-12 22:20:10 +02:00
xmd5a
3a6cfdbff9 update turn_lanes_json 2016-04-12 22:30:16 +03:00
Victor Shcherb
e038b47ef9 Fix test 2016-04-12 09:49:19 +02:00
Victor Shcherb
b239e5e69b Udpate tests 2016-04-10 17:19:00 +02:00
Victor Shcherb
e9f10cc74a Fix some tests 2016-04-10 17:19:00 +02:00
Victor Shcherb
7c8441c9a4 Merge commit 2016-04-09 14:17:20 +02:00
Victor Shcherb
ac9d72327b Fix some tests with uturns 2016-04-09 14:11:09 +02:00
Alexey Kulish
ace2428975 Fix opening hours parser test 2016-04-07 12:38:46 +03:00
Roman Inflianskas
75b5f23938 Work on #2420 (tests included): revert.
Reverting ddb9ba266b because this solution
breaks adjacent segments which form u-turn. See #2420 for more details.

Added more tests though.
2016-04-06 09:31:52 +03:00
Roman Inflianskas
ddb9ba266b Fix #2420 (tests included 2016-04-05 21:59:15 +03:00
Roman Inflianskas
a42d54d43e Merge remote-tracking branch 'origin/master' (manually for weblate) 2016-04-05 17:35:59 +03:00
Roman Inflianskas
c80bba6a33 Merge remote-tracking branch 'origin/master' (manually for weblate) 2016-04-05 17:34:45 +03:00
Victor Shcherb
9f4ca0a9b0 Public holiday #2429 2016-04-05 16:00:23 +03:00
Roman Inflianskas
3bded67e1e Support three turn options for one segment in the result route description 2016-04-05 13:40:40 +03:00
Roman Inflianskas
5336b59495 Support three turn options for one segment in the result route description 2016-04-05 12:58:14 +03:00
vshcherb
63ab190eb2 Merge pull request #2413 from andrew-davie/minimal
GPX asynchronous line drawing - super quick MINIMAL code set
2016-04-04 17:21:00 +03:00
Victor Shcherb
520e0d12e7 Update version 2016-04-03 11:34:32 +03:00
Andrew Davie
66128c8c66 Merge remote-tracking branch 'upstream/master' 2016-04-02 22:07:21 +11:00
Victor Shcherb
170ce67fcd Update test 2016-03-30 16:03:06 +02:00
Victor Shcherb
6a9b0cef37 Update test results 2016-03-30 15:42:20 +02:00
Victor Shcherb
18141d065e Ignore failure 2016-03-30 15:29:56 +02:00
Victor Shcherb
b075716096 Update tests 2016-03-30 15:08:50 +02:00
Victor Shcherb
46a8ce682e Update tests 2016-03-30 15:08:32 +02:00
Victor Shcherb
2941e14932 Update junit tests 2016-03-30 14:57:27 +02:00
Victor Shcherb
0dc76234f2 Add 3rd turn 2016-03-30 14:45:35 +02:00
Andrew Davie
63ff22b6ab "Trivial" area bounds for segments for super-quick culling during draw.
Reworked all the renderers to be much more object oriented.
Got the sample arrow and conveyor renderers working
Tracked down a few bugs - particularly one still there - TrkSegment with 0 points!
This in my opinion should never happen - it's coming in from "outside" to my code.
2016-03-30 01:47:04 +11:00
xmd5a
984dda798e Update turn lanes test json 2016-03-28 21:59:51 +03:00
Victor Shcherb
db54e27454 Update turn types tertiary 2016-03-28 15:51:52 +02:00
Victor Shcherb
0f86f53b5e Fix turn lanes 2016-03-28 15:10:47 +02:00
y.ridkous@gmail.com
19d42fba3e Update LanesDrawable 2016-03-27 23:46:23 +03:00
y.ridkous@gmail.com
4e51707fad Add expected segments verification. 2016-03-17 20:10:48 +02:00
xmd5a
e8cd8a1392 Update turn_lanes_test.json 2016-03-17 17:22:56 +03:00
GaidamakUA
27c3f115b3 Support for username with any characters after location. 2016-03-17 10:11:56 +01:00
Victor Shcherb
43c60dd179 Revert changes 2016-03-17 10:09:32 +01:00
GaidamakUA
d159648df5 Support for username with any characters after location. 2016-03-17 10:23:35 +02:00
xmd5a
13a00894a9 Update turn lanes test 2016-03-16 20:38:20 +03:00
xmd5a
38c0326c6b Update turn_lanes_test.json 2016-03-16 18:10:49 +03:00
xmd5a
2558a4f00f Update turn lanes tests 2016-03-16 18:10:49 +03:00
xmd5a
969701adf3 Update ru strings 2016-03-15 18:39:42 +03:00
y.ridkous@gmail.com
f57ccf9d6b Add bash script in order to start turn lanes tests. 2016-03-15 12:58:13 +02:00
Victor Shcherb
38dcc92f2b Fix test 2016-03-12 16:36:20 -05:00
y.ridkous@gmail.com
fc6562846d Fix resources path 2016-03-12 23:14:15 +02:00
y.ridkous@gmail.com
6de0cd3dcc Add test libs 2016-03-12 21:22:53 +02:00
y.ridkous@gmail.com
7b08992fd0 Merge remote-tracking branch 'origin/test_lanes' into test_lanes 2016-03-12 20:41:47 +02:00
y.ridkous@gmail.com
26db9c1bc8 Add libs for unit tests. 2016-03-12 20:41:31 +02:00
Yuriy Ridkous
6652ec7234 Update test_routes.json 2016-03-12 19:56:55 +02:00
Yuriy Ridkous
91778bba22 Update RouteResultPreparationTest.java 2016-03-12 19:55:45 +02:00
y.ridkous@gmail.com
d480cbc9d2 Add test RouteResultPreparationTest.java 2016-03-12 19:51:43 +02:00
GaidamakUA
38adf0b04a Fixes #2255 2016-03-10 19:31:12 +02:00
Victor Shcherb
e250607a47 Fix bug for osmc routing 2016-03-09 11:15:26 -05:00
Victor Shcherb
33b4034c16 Disable fixme it looks wrong fix (rounddist is measured in meters) 2016-03-09 08:56:18 -05:00
Victor Shcherb
d509524fb7 Don't filter poi for map on zoom > 16 (fix issue with double poi on same location) 2016-03-06 15:28:51 -05:00
Victor Shcherb
e7e1f0582d Add intersection size 2016-03-04 14:22:13 +01:00
Victor Shcherb
5910bbf72a Fix translation 2016-03-03 23:59:38 +01:00
Victor Shcherb
c10f1932ef Add substring for rendering types 2016-02-27 21:01:05 +01:00
Victor Shcherb
af5253b8b0 Add integer suffix 2016-02-21 19:21:18 +01:00
vshcherb
b676a27268 Merge pull request #2254 from okias/master
support diacritics symbols also with czech language
2016-02-20 15:02:36 +02:00
Victor Shcherb
c306af55d3 Add relation group tag 2016-02-19 18:56:35 +02:00
Victor Shcherb
02fff71197 Fix spen 2016-02-19 17:52:16 +02:00
David Heidelberg
04d8e09f2a support diacritics symbols also with czech language
Search without diacritics will work properly in Czech Republic, Slovakia or Romania only when phone UI is set to these languages.

This is temporary solution.This should be handled better.
2016-02-19 13:38:02 +01:00
GaidamakUA
1b73c25a59 Added local day names to OpeningHoursParser. 2016-02-12 17:51:40 +02:00
GaidamakUA
134c6de70b Fixed formatting for file. 2016-02-12 17:51:40 +02:00
Victor Shcherb
d5eed1cd28 Add category ui_hidden in order to disable properties in dependent styles 2016-02-08 01:22:58 +01:00
Victor Shcherb
6569d7e83e Fix opening hours' 2016-02-07 19:06:10 +01:00
xmd5a
b23eda1da2 Add onewaysArrowColor attribute 2016-01-27 23:51:17 +03:00
Alexey Kulish
ca57ae085d Added direction icon to Waypoint row. Fixed start/dest/intermediate list icons. 2016-01-23 12:27:53 +03:00
xmd5a
e212cace9e Fix typo 2016-01-21 18:23:28 +03:00
xmd5a
92ece464da BinaryInspector: output to osm v0.6 2016-01-21 17:22:00 +03:00
xmd5a
e550ba10d2 Fix osm version in BinaryInspector 2016-01-21 17:13:08 +03:00
Alexey Kulish
bc7901965f Geocoding lookup service in progress 2016-01-20 21:45:12 +03:00
Alexey Kulish
e74e913ff8 Fix https://github.com/osmandapp/Osmand/issues/2030 2016-01-17 15:11:08 +03:00
GaidamakUA
f5127caf51 New test for instagramm geo intent. And made it work. 2016-01-16 11:32:40 +02:00
GaidamakUA
522d60ea09 Live updates. Added world region fixed sorting and naming of regions. 2016-01-15 15:25:24 +02:00
GaidamakUA
a4d1ee15fb Fix build (java part incompatible with java 1.7) 2016-01-12 10:44:02 +02:00
GaidamakUA
5362feabe1 Merge branch 'master' of https://github.com/osmandapp/Osmand 2016-01-11 14:54:54 +02:00
GaidamakUA
e9798b248d Impassable roads layer. Icons showing. 2016-01-11 14:54:26 +02:00
Victor Shcherb
61dd56c0e9 Update entity parser. Fix #2126 2016-01-10 16:13:51 +01:00
GaidamakUA
a96234d32d Made open hours parser aware of PH and SH tags. Fixes #2116 2016-01-05 13:18:03 +02:00
sonora
4e678ecf24 clean up code 2016-01-02 15:35:38 +01:00
sonora
65cb789982 fix parentheses 2016-01-02 15:19:41 +01:00
sonora
56450a5302 fix method 2016-01-02 15:12:59 +01:00
sonora
0f8b5cc14a remove BOM 2016-01-02 14:56:04 +01:00
sonora
188e21935b fine tune "Near" criterion for reverese geocoding 2016-01-02 14:26:49 +01:00
GaidamakUA
d74ed25045 Add time span is working 2015-12-30 18:29:29 +02:00
GaidamakUA
072e23cd2d Deletion of time spans is working 2015-12-29 17:11:55 +02:00
GaidamakUA
70967b0177 Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-12-18 14:32:15 +02:00
Victor Shcherb
3cc3549ec6 Update utilities 2015-12-18 13:53:47 +02:00
Alexey Kulish
86eae1d1a6 Merge strings.xml 2015-12-17 22:59:30 +03:00
Alexey Kulish
771c256fe8 Route preparation screen in progress. Fixes 2015-12-17 22:55:38 +03:00
GaidamakUA
22d13afe50 Small changes. Not building. 2015-12-17 18:31:03 +02:00
Victor Shcherb
a72545ab11 Update geocoding 2015-12-17 18:02:52 +02:00
Victor Shcherb
c07b8eb405 Add info about motorway_junction to route description 2015-12-14 01:30:56 +01:00
Victor Shcherb
09a3f5d1ac Revert android manifest 2015-12-09 23:38:02 +01:00
Victor Shcherb
758d4cc80c Update naming 2015-12-09 23:24:06 +01:00
Victor Shcherb
0a11d13aad Fix #1997 2015-12-09 19:37:26 +01:00
vshcherb
876cdca737 Merge pull request #2036 from AmZaf/master
Patched Osmand icu4j to support Persian and Urdu #2019
2015-12-09 19:13:58 +01:00
AmZaf
0b673e5f0d Patched Osmand icu4j-49_1 to support Persian and Urdu #2019 2015-12-09 07:32:45 +03:30
AmZaf
2582d89cd2 Patched Osmand icu4j to support Persian and Urdu #2019 2015-12-08 21:33:46 +03:30
GaidamakUA
7f5e74da05 Imports optimization 2015-12-07 10:30:46 +02:00
GaidamakUA
34b8e6c536 Merge by hand. 2015-12-07 10:27:49 +02:00
GaidamakUA
ad965a7b03 Fix bug when application breaks when trying to deserialize Node 2015-12-07 10:20:16 +02:00
AmZaf
bfec3f5cb0 Fix for Persian and Urdu language maps #2019 2015-12-06 20:04:33 +03:30
AmZaf
6e40152d0f Fix for Persian and Urdu language maps #2019 2015-12-06 20:02:44 +03:30
AmZaf
fab25b3c3c Update .classpath 2015-12-06 10:22:40 +03:30
Victor Shcherb
d7b99427ef Update utilities 2015-12-05 19:38:23 +01:00
sonora
48981f4db3 fix build 2015-12-04 23:05:51 +01:00
sonora
e078a99f1b fix issue 2015-12-04 22:32:22 +01:00
sonora
3da2b24527 first cut at prefixing "Near" for fuzzy reverse geocoding results 2015-12-04 13:27:31 +01:00
GaidamakUA
233cec7962 Added normal editing of timespans other than 1st one. 2015-12-03 13:36:30 +02:00
GaidamakUA
18e8f5a6df Added new test for multiple timespans. 2015-12-02 17:48:33 +02:00
Victor Shcherb
ee74636b35 Update utilties 2015-12-02 13:45:47 +01:00
Victor Shcherb
19dc9a0257 Update 2015-12-02 10:22:33 +01:00
Victor Shcherb
055012198e Update multiplier 2015-12-02 10:14:24 +01:00
Victor Shcherb
3ac68eb011 Fix some geocoding issues 2015-12-02 02:19:45 +01:00
Victor Shcherb
e85424303a Update geocoding 2015-12-02 00:33:25 +01:00
Victor Shcherb
9a5a8ca61e Update geocoding utilties 2015-12-02 00:31:47 +01:00
GaidamakUA
5e49b10b92 Optimised imports 2015-12-01 14:30:19 +02:00
Victor Shcherb
53c0bdbd1a Dont change connection point 2015-12-01 09:44:54 +01:00
Alexey Kulish
5addc2de16 Fix poi types sorting in context menu 2015-11-30 19:06:23 +03:00
Alexey Kulish
0c212f11b9 Fix - amenity rows order + small context menu fix 2015-11-30 17:17:27 +03:00
Victor Shcherb
ca66522b37 Add support for interpolation interval 2015-11-30 00:41:35 +01:00
Victor Shcherb
71ef807f56 Update search 2015-11-29 15:57:46 +01:00
Victor Shcherb
899ca53231 Improve geocoing 2015-11-29 15:20:36 +01:00
Victor Shcherb
2418bedd7f Merge branch 'master' of github.com:osmandapp/Osmand 2015-11-27 10:59:09 +01:00
Victor Shcherb
b638d6d04b Improve searching nearest road 2015-11-27 10:08:47 +01:00
GaidamakUA
77a4a57627 New support library returned 2015-11-26 12:27:16 +02:00
Victor Shcherb
7e7e344896 Fix #1885 2015-11-25 16:49:28 +01:00
Victor Shcherb
d2f5ad1155 Update amenity 2015-11-25 11:20:20 +01:00
Victor Shcherb
4f40200f3c Remove crash setting 2015-11-20 13:27:56 +03:00
Victor Shcherb
e991e48ad0 Fix some poi issues 2015-11-20 01:21:16 +03:00
Victor Shcherb
aadedf8a16 Fix clothes and other duplicate poi types in poi search 2015-11-20 01:00:07 +03:00
Victor Shcherb
23c1cc4d5f Fix poi issues for editing 2015-11-18 21:38:23 +01:00
Victor Shcherb
cc10aefa53 Fix resource leak 2015-11-18 15:52:15 +01:00
Victor Shcherb
2c8383fa0a Revert "Support library updated. App now in multi Dex mode."
This reverts commit 641f150d98.
2015-11-18 10:21:00 +01:00
GaidamakUA
641f150d98 Support library updated. App now in multi Dex mode. 2015-11-17 18:53:58 +02:00
GaidamakUA
e18c365c62 Parsing for WhatsApp fixed #1550 2015-11-16 14:11:20 +02:00
GaidamakUA
3b2352f18b Rate us bottom sheet 2015-11-16 13:47:34 +02:00
Victor Shcherb
a705891a81 Add failing test 2015-11-16 00:34:06 +01:00
Alexey Kulish
4370d673ed Context menu - wpt fixes 2015-11-15 19:02:25 +03:00
GaidamakUA
b28a8b5c60 Fix #1550 WhatsApp location 2015-11-13 10:06:18 +02:00
Victor Shcherb
053abea161 Refactor edit poi 2015-11-12 10:30:43 +01:00
Victor Shcherb
ace2b4f216 Update poi types 2015-11-12 01:58:32 +01:00
Victor Shcherb
ed433cd787 Update poi types 2015-11-12 01:48:29 +01:00
Victor Shcherb
c771a68380 Fix some issues 2015-11-12 01:35:47 +01:00
Victor Shcherb
79b19b8a21 Fix 2015-11-11 17:29:29 +01:00
GaidamakUA
dd80992edd Fix #1550 What's app location 2015-11-10 20:00:34 +02:00
GaidamakUA
549dade758 Not editable osm added to poi type 2015-11-09 17:58:33 +02:00
Victor Shcherb
6ed714c93d Fix lang 2015-11-08 12:23:17 +01:00
Victor Shcherb
0b4e03ec7e Small refactoring 2015-11-08 00:13:37 +01:00
Victor Shcherb
e708e779e1 Poi 2015-11-07 23:15:32 +01:00
Victor Shcherb
ab2707ba58 Add support name tag 2015-11-07 22:57:29 +01:00
Alexey Kulish
e46d1e2d75 Added bottom lines to map menu 2015-11-07 23:58:05 +03:00
Alexey Kulish
86c4a85e7b Main map on top in multi menu 2015-11-02 19:05:42 +03:00
xmd5a
bafc57b039 Allow POI search for types with name_only 2015-11-02 13:10:46 +03:00
Victor Shcherb
dc307e4b5f Fix #1852 2015-11-01 22:55:07 +01:00
sonora
7ff6cb5758 fix CP 2015-10-31 13:44:01 +01:00
sonora
0f0dbb2180 add file indication to error message to facilitate debugging 2015-10-31 13:23:47 +01:00
Alexey Kulish
4e42031882 Fixes 2015-10-26 19:56:21 +03:00
Victor Shcherb
e45f45afcd update regions 2015-10-25 22:21:14 +01:00
Victor Shcherb
9d7236139b Fix issues 2015-10-25 22:18:45 +01:00
Victor Shcherb
cd6675b64f Update 2015-10-25 21:25:08 +01:00
Victor Shcherb
aec0b252c3 clean structure 2015-10-25 17:33:12 +01:00
Victor Shcherb
6c445aed91 clean structure 2015-10-25 17:24:40 +01:00
Victor Shcherb
69a6210b4a Update 2015-10-25 17:08:20 +01:00
Victor Shcherb
a73f88b326 STart of refactoring 2015-10-25 16:51:29 +01:00
Victor Shcherb
bc0bcbe999 Update method 2015-10-25 13:39:30 +01:00
Alexey Kulish
0dd39caa71 Fix OsmandRegions 2015-10-22 22:48:47 +03:00
Alexey Kulish
2050622214 Fix Replace button color, added new info methods to WorldRegion 2015-10-22 11:48:14 +03:00
Victor Shcherb
7530aa7b60 Add progress bar to copy 2015-10-21 23:58:22 +02:00
Victor Shcherb
3b79bea784 Fix opening hours 2015-10-21 22:49:36 +02:00
Victor Shcherb
3a06297ec6 Don't add parent to index 2015-10-21 12:04:39 +02:00
Victor Shcherb
284f709087 Fix relation tags 2015-10-15 01:38:19 +02:00
Victor Shcherb
cbd7f07508 Remove deprecated poi parser 2015-10-15 01:29:13 +02:00
Victor Shcherb
ac0bfb51e3 Merge branch 'master' of github.com:osmandapp/Osmand 2015-10-15 00:53:20 +02:00
Victor Shcherb
61300925ad Update output 2015-10-15 00:53:15 +02:00
Alexey Kulish
0167db4cb9 Fix country name in downloads 2015-10-14 22:28:17 +03:00
vshcherb
db9d89e274 Merge pull request #1791 from ilasica/Again
Means to set Referer field in connection to a tile server and old tiles clearing
2015-10-12 23:46:49 +02:00
GaidamakUA
7e5de7cce0 New implementation for #1779 fix 2015-10-09 13:06:14 +03:00
ilasica
8ca0656412 1. Means to set Referer field in connection to a tile server. Support of new optional field Referer in table INFO of sqlitedb
2. Delete old tiles from sqlitedb in case of using field time. Usefull for unstable tiles, for example traffic map.
2015-10-09 11:35:21 +03:00
GaidamakUA
51c14f1a9c Issue Fix #1779 2015-10-08 15:37:34 +03:00
Alexey Kulish
5091a5105a Downloads - added search 2015-10-07 19:24:12 +03:00
Victor Shcherb
af747fbbec Fix https://github.com/osmandapp/Osmand/issues/1770 #1770 2015-10-05 22:21:27 +03:00
Victor Shcherb
cab1fd815c Fix https://github.com/osmandapp/Osmand/issues/1770 #1770 2015-10-05 19:16:34 +03:00
Victor Shcherb
b96abd5416 Fix issue with road only maps (sort names) 2015-10-05 18:43:34 +03:00
GaidamakUA
6d75254f7c Downloads progress implementation in progress. 2015-10-01 18:10:46 +03:00
GaidamakUA
dcd8662a1b Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-10-01 10:54:32 +03:00
GaidamakUA
5305f02d4e Name and poi_types_tag removed from advanced view. opening_ours editor reimplemented. 2015-10-01 10:54:06 +03:00
Alexey Kulish
3b152fb3c1 Fix <> 2015-10-01 00:12:40 +03:00
GaidamakUA
1ac36287b8 EditPoiFragment. SecondTabBroken. 2015-09-30 19:27:37 +03:00
GaidamakUA
7da2fd1553 Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-09-30 15:49:06 +03:00
GaidamakUA
950c7010f9 Downdload progress bar in progress. Dialogs refactored as DialogFragments. 2015-09-30 15:47:31 +03:00
vshcherb
579659065a Update OsmandRegions.java 2015-09-29 23:14:05 +02:00
Alexey Kulish
00944b8e9b Introduced WorldRegion 2015-09-29 21:50:49 +03:00
Victor Shcherb
c9c0d08d54 Fix #1737 2015-09-28 00:07:27 +02:00
Alexey Kulish
99c1784a12 Context menu - fix crash while editing favorites 2015-09-27 21:53:26 +03:00
GaidamakUA
8c81eb2a88 Downdload map design in progress. And fix for wrong tag. 2015-09-24 19:18:10 +03:00
Victor Shcherb
737793ba4d Add borough as city type 2015-09-23 14:17:02 +02:00
GaidamakUA
e3c633aed7 String resource extracted #1679 2015-09-21 17:02:22 +03:00
sonora
765f41a223 revert and add comment why previous solution was ok 2015-09-13 10:58:27 +02:00
sonora
fde8d65208 Test TURN_DEGREE_MIN = 35 to see if this fixes some missing turn instructions on motorway intersections 2015-09-13 10:03:11 +02:00
sonora
9c6cda89ab shorten voice propmts by increasing degree range for "regular" turns 2015-09-11 19:43:31 +02:00
Victor Shcherb
6c542cca3a Prioritize opening hours better for current rule 2015-09-10 00:30:31 +02:00
Victor Shcherb
ee4ee52943 Update fonts 2015-09-09 18:22:47 +02:00
Victor Shcherb
75cd281835 Inspector 2015-09-08 23:14:55 +02:00
GaidamakUA
960ca8331a merge 2015-08-31 17:44:51 +03:00
GaidamakUA
b65bbdc779 Fix for Edit/Delete existing POI broken functionality.
Deletion now implemented with dialog fragment.
And editing is working with new editing screen.
Editing screen fixed to work with existing poi
2015-08-31 15:30:20 +03:00
Victor Shcherb
27385b6664 Support maxspeed:forward /backward 2015-08-31 00:11:48 +02:00
Victor Shcherb
46a2a28336 Add italic 2015-08-30 22:17:12 +02:00
Victor Shcherb
0acc761b8d add explanation 2015-08-30 21:13:58 +02:00
GaidamakUA
885836d923 Opening hours editing is working 2015-08-27 17:03:32 +03:00
GaidamakUA
6c4b3e9109 Autocomplete from start 2015-08-26 10:59:39 +03:00
GaidamakUA
e60c133519 Opening hours dialog is implemented, EditPoiFragment scroll bug fix, icons fix 2015-08-25 17:48:08 +03:00
GaidamakUA
7d3b58da8e Opening hours dialog work in progress 2015-08-25 15:21:53 +03:00
GaidamakUA
1cb5afcb9a GeoPointParserUtil indentation fix 2015-08-21 18:33:25 +03:00
GaidamakUA
da30886434 merged with main 2015-08-21 18:06:56 +03:00
GaidamakUA
1bfc3c2162 Poi dialog design. 2015-08-21 17:48:27 +03:00
GaidamakUA
61800f7419 Time dialog in progress 2015-08-21 13:13:51 +03:00
Victor Shcherb
de55303afb Revert binary inspector 2015-08-19 00:19:40 +02:00
Victor Shcherb
3379bbf792 Update project 2015-08-19 00:04:46 +02:00
Victor Shcherb
ec3a8f53c0 Fix seamarks 2015-08-06 00:39:38 +02:00
vshcherb
acb3b5eae0 Update City.java 2015-08-04 11:57:28 +02:00
Victor Shcherb
cff6122f9b Add hazard warning #1446 2015-08-04 10:52:57 +02:00
Victor Shcherb
6231f0c1ed Update roads only maps 2015-08-03 09:44:40 +02:00
Victor Shcherb
d2b628f640 Update roads only maps 2015-08-03 09:19:29 +02:00
Victor Shcherb
b434d0ddcd Update roads only maps 2015-08-03 01:40:21 +02:00
Victor Shcherb
f8f214a7db Merge branch 'master' of github.com:osmandapp/Osmand 2015-08-02 21:45:48 +02:00
Victor Shcherb
9764f6e2ed Update uploader 2015-08-02 21:44:46 +02:00
vshcherb
4e6b3724ad Merge pull request #1277 from saiarcot895/fix-right-turn-highlighting
If adding a left/right turn to a lane, make sure that that lane is ma…
2015-08-02 21:06:44 +02:00
Victor Shcherb
97d667cb4c Change xml parser 2015-08-01 21:40:13 +02:00
Victor Shcherb
a6bed74606 Test output 2015-08-01 21:12:25 +02:00
Victor Shcherb
d9973447e3 Update java 2015-08-01 20:52:21 +02:00
Victor Shcherb
279bc00f0a Update files 2015-08-01 20:17:51 +02:00
Victor Shcherb
3c3851ad87 Fix issue with callback / prepare osmc 2015-07-29 20:00:42 +02:00
Victor Shcherb
55dc79e118 Update order to initialize 2015-07-28 22:22:28 +02:00
Victor Shcherb
3eb12eefca Add method 2015-07-28 01:44:05 +02:00
Victor Shcherb
34e8d9bb99 Merge branch 'master' of github.com:osmandapp/Osmand 2015-07-28 01:36:56 +02:00
Victor Shcherb
ebe8cd741a Update inspector 2015-07-28 01:36:53 +02:00
GaidamakUA
326faa8e2b Removed hardcoded values 2015-07-27 23:20:47 +03:00
GaidamakUA
81228dba45 Fixing issue #1486. Incorrect parsing of double parentheses. Now double parentheses are simply removed. 2015-07-27 23:20:30 +03:00
Victor Shcherb
2d9c367960 Update bbox 2015-07-20 01:17:26 +02:00
Victor Shcherb
ac5d9181e0 Fix 2015-07-19 11:59:03 +02:00
Victor Shcherb
324512dc42 Avoid logging too much 2015-07-19 11:44:16 +02:00
Victor Shcherb
7c9352f903 Update bbox 2015-07-17 09:15:17 +02:00
Victor Shcherb
4d1309a425 Update base storage 2015-07-15 12:44:45 +02:00
Victor Shcherb
09bbd17e02 udpate poi category 2015-07-15 09:09:07 +02:00
Victor Shcherb
7783f9abec Fix map gen 2015-07-14 10:50:16 +02:00
Victor Shcherb
5fed8c97d1 Add osm change 2015-07-13 09:15:51 +02:00
Victor Shcherb
3fd27c2db3 Update basemap gen 2015-07-12 11:38:31 +02:00
Victor Shcherb
f42b66aeb4 Refactor 2015-07-10 08:36:33 +02:00
Victor Shcherb
0ad9e8c34e Fix poi types 2015-07-09 18:26:10 +02:00
Victor Shcherb
51ec3c0d3e Fix 2015-07-09 18:11:37 +02:00
Victor Shcherb
177bd52131 Fix poi dialog 2015-07-09 17:57:27 +02:00
Victor Shcherb
40bc7bf0bb Update poi types with entity convert 2015-07-09 14:14:52 +02:00
Victor Shcherb
21327bb47b Tag/transform routing types 2015-07-07 21:46:00 +03:00
Victor Shcherb
0c158551f1 Fix poi out of its boundaries 2015-07-07 21:28:17 +03:00
Victor Shcherb
1f3e889ec8 Apply tag/transform for poi 2015-07-07 20:58:45 +03:00
Victor Shcherb
fe34980ece Fix ui memory leak 2015-07-07 12:51:51 +03:00
Victor Shcherb
db981830f9 Prepare route names 2015-07-06 08:08:10 +03:00
Victor Shcherb
4a82e7cec5 Update osmand indexes 2015-07-06 06:23:52 +03:00
Victor Shcherb
297a997761 update poi types selection (taking into account map=true) elements 2015-07-02 18:32:02 +02:00
Victor Shcherb
28640f0eb5 Fix internalization for address 2015-06-30 13:16:01 +02:00
Victor Shcherb
c6004c4dbd Update my location btn 2015-06-30 10:31:26 +02:00
Victor Shcherb
6b844ce76e Add name:* to address / poi revisit 2015-06-29 17:31:10 +02:00
Victor Shcherb
3d568bc351 Choose longest wiki article 2015-06-20 23:43:25 +02:00
Victor Shcherb
12582d8e80 Add localization to road section, navigation, TTS, etc (using configure map setting -> locale) 2015-06-16 01:03:52 +02:00
Victor Shcherb
72ed1b4040 Fix wiki poi selector 2015-06-16 00:03:17 +02:00
Victor Shcherb
788428591c Fix wiki names 2015-06-15 21:32:35 +02:00
Victor Shcherb
2b44970261 Update poi wiki 2015-06-15 10:41:52 +02:00
Victor Shcherb
09db127d68 Delete region 2015-06-15 01:30:42 +02:00
Victor Shcherb
d212c501fa Add wiki types for download 2015-06-14 19:10:46 +02:00
Victor Shcherb
308a777693 Fix poi creation dialog 2015-06-14 16:48:04 +02:00
Victor Shcherb
63417876f3 Fix poi description 2015-06-14 14:39:30 +02:00
Victor Shcherb
c6b7082f6e Fix gpx color (display from track) 2015-06-12 01:28:41 +02:00
Victor Shcherb
db1bd53217 Update poi filters 2015-06-10 01:47:16 +02:00
Victor Shcherb
afef7a56f1 Update favs 2015-06-08 22:54:12 +02:00
Victor Shcherb
ddae62466c Update favorites sorting algorithm / fix saving favorites 2015-06-08 22:16:43 +02:00
Victor Shcherb
e49ca072f0 Add wikipedia new type download, add language switcher, add button to read whole article 2015-06-08 01:50:53 +02:00
Victor Shcherb
e3ef7c1329 Fix gmaps geo 2015-06-06 17:19:07 +02:00
Victor Shcherb
eee2db4a38 Update default values 2015-06-06 13:01:49 +02:00
Victor Shcherb
c9491816c3 Update regions 2015-06-06 01:57:56 +02:00
Victor Shcherb
bf9859d477 Update regions 2015-06-05 09:36:37 +02:00
Victor Shcherb
2243426d5a Improve parsing 2015-06-04 10:16:21 +02:00
Victor Shcherb
df12e39f73 Update regions ocbf 2015-06-04 10:09:52 +02:00
Victor Shcherb
63847f6bd6 Merge branch 'master' of github.com:osmandapp/Osmand 2015-05-31 18:55:32 +02:00
vshcherb
dff57e480f Update BinaryInspector.java 2015-05-31 16:52:48 +02:00
vshcherb
96e789ac5d Update BinaryInspector.java 2015-05-31 16:51:10 +02:00
vshcherb
189e9a630a Update OsmandRegions.java 2015-05-30 14:14:15 +02:00
Alexey Pelykh
6b612181b0 Fix 2015-05-28 13:02:34 +03:00
Alexey Pelykh
eceebb26d6 Update protobuf 2015-05-28 11:19:31 +03:00
Victor Shcherb
5e0bfb0a46 Fix poi search (casing) 2015-05-27 11:27:33 +02:00
Saikrishna Arcot
52f277b3f0
If adding a left/right turn to a lane, make sure that that lane is marked as selected. 2015-05-26 19:56:31 -07:00
Victor Shcherb
eb8dc70b0d Fix poi description 2015-05-27 00:28:24 +02:00
Victor Shcherb
d478d14a73 Fix osmo group 2015-05-27 00:09:48 +02:00
Victor Shcherb
69e23fd28c Update osmo layout 2015-05-26 01:00:54 +02:00
Victor Shcherb
14d3c7a622 Remove apply_tag and target_tag 2015-05-23 17:12:15 +03:00
Victor Shcherb
3c65dcca1b Improve packing bytes into UTF-8 2015-05-23 12:47:37 +03:00
Victor Shcherb
b3e01c3fca Support ziping text 2015-05-22 19:05:38 +03:00
Victor Shcherb
6dfc7041b5 Add translations to search 2015-05-21 15:04:50 +03:00
Victor Shcherb
8917f6930a Fix property crash 2015-05-14 11:25:58 +02:00
Victor Shcherb
66961e49f0 Fix road only maps 2015-05-13 22:10:03 +02:00
Alexey Pelykh
207162756a Update EntityParser.java 2015-05-13 21:24:52 +03:00
Valerii Pekarskyi
31d84b6cbd Use building entrance as a building location (handy for routing) - only in case when one entrance is present 2015-05-13 18:02:53 +03:00
Victor Shcherb
5cd40baff3 Fix tests 2015-05-10 01:25:23 +02:00
vshcherb
2395dc4551 Merge pull request #1192 from ypid/opening_hours_added_tests
Added test for "Mo-Th 09:00-03:00, Fr-Sa 09:00-04:00; Su off". Not evaluated correctly. Related to #1154.
2015-05-10 01:08:16 +02:00
Robin Schneider
c9f64ad619
Added test for "Mo-Th 09:00-03:00, Fr-Sa 09:00-04:00; Su off". Not evaluated correctly. Related to #1154. 2015-05-10 00:50:44 +02:00
Victor Shcherb
eaf140dded Fix route object calc 2015-05-09 23:53:16 +02:00
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
Alexey Pelykh
91ae154dd8 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2015-02-03 11:13:19 +02:00
Alexey Pelykh
3ec9d6dbd2 Proper gradle 2015-02-03 11:13:11 +02: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
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