Commit graph

483 commits

Author SHA1 Message Date
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
vshcherb
047a42cf42 Remove not used countries info 2013-11-11 01:46:38 +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
vshcherb
4cad736511 Introduce new lat/lon math 2013-10-06 22:47:19 +03:00
vshcherb
810f5f8252 Implement new SRTM download type 2013-09-25 20:17:03 +02:00
vshcherb
edd1516c72 Delete non existing locale 2013-09-25 11:53:03 +02:00
vshcherb
cb0785d5c5 Delete non existing locale 2013-09-25 11:49:21 +02:00
vshcherb
eb2a0b39ed Update regions 2013-09-25 11:36:22 +02:00
vshcherb
2077493fe9 Add osmand regions 2013-09-25 11:09:42 +02:00
vshcherb
7e5414e527 Add regions download 2013-09-24 21:41:04 +02:00
vshcherb
19ce935266 Add download button when the map is missing 2013-09-24 18:53:48 +02:00
vshcherb
bc88a329b4 Update basemap processor 2013-09-24 00:47:01 +02:00
vshcherb
b268eff282 Update way methods 2013-09-24 00:36:39 +02:00
vshcherb
b60c74993c Comment line 2013-09-24 00:36:39 +02:00
vshcherb
3afaf3951f Update inspector 2013-09-23 19:43:07 +02:00
vshcherb
2ab208a577 Update Entity.java 2013-09-22 02:10:15 +02:00
Koen Rabaey
ce9584874f Close streams to avoid leakage 2013-09-21 23:11:55 +02:00
vshcherb
afbcd9935c Update geofabrik polygons 2013-09-17 01:53:30 +02:00
vshcherb
b063b65583 Create osmand-regions 2013-09-16 22:21:22 +02:00
vshcherb
2d946fc11c Fix road inconsistency 2013-09-15 18:06:42 +02:00
sonora
b9d8edef8f fix renderingRuleProperty 2013-09-14 00:37:19 +02:00
vshcherb
90ca9db0f7 Support density and non-density pixels in raster style 2013-09-13 00:47:54 +02:00
vshcherb
b10ad5e6b5 Support density and non-density pixels in raster style 2013-09-13 00:47:24 +02:00
vshcherb
a647566ef0 Implement maxspeed:conditional 2013-09-13 00:29:12 +02:00
vshcherb
12974c9926 Implement maxspeed:conditional 2013-09-13 00:29:12 +02:00
vshcherb
c2db279f30 Avoid nooses for coastlines 2013-09-04 23:17:50 +02:00
vshcherb
a40551f3ad Avoid nooses for coastlines 2013-09-04 21:39:39 +02:00
vshcherb
74061ebb4f Add method 2013-09-02 21:31:44 +02:00
vshcherb
4aa06675ce Add parser 2013-08-31 00:24:10 +02:00
vshcherb
fd67a53e83 Fix utilities 2013-08-29 00:36:33 +02:00
vshcherb
44d2c694ee Keep order & don't overwrite conflict in map rendering types 2013-08-28 09:42:05 +02:00
vshcherb
61433f961a Update native interface 2013-08-17 23:33:19 +02:00
vshcherb
8fb4fdcb7a Use android time utils 2013-08-17 01:24:08 +02:00
vshcherb
3afe3d86fc Fix Monaco country, create town 2013-08-16 00:44:53 +02:00
Victor Shcherb
af053235dd Update raster maps 2013-08-10 19:53:27 +02:00
Victor Shcherb
eb4480f8e1 Add time expiration 2013-08-10 19:51:24 +02:00
Victor Shcherb
1439a4406c Delete old impl 2013-08-07 21:25:15 +02:00
vshcherb
b0fd78c4b3 Merge pull request #519 from ypid/fix-OpeningHoursParser
Cleanup opening hours parser.
2013-08-07 10:28:26 -07:00
Victor Shcherb
a5744df1d6 Support for 1.1.4 lib 2013-08-07 19:12:16 +02:00
Robin Schneider
250d26749f Improved readability with printf. 2013-08-07 18:55:56 +02:00
Robin Schneider
ff42370ec7 Merge branch 'master' into fix-OpeningHoursParser 2013-08-07 18:46:29 +02:00
Victor Shcherb
9812332322 Add name rendering 2013-08-05 20:43:22 +02:00
vshcherb
568ebb9c63 Merge pull request #492 from naoliv/pull18
Remove unnecessary boxing/unboxing
2013-08-05 10:48:58 -07:00
vshcherb
56508980ec Merge pull request #495 from naoliv/pull21
Make some fields static
2013-08-05 10:42:52 -07:00
vshcherb
da648f9545 Merge pull request #496 from naoliv/pull20
Fix long literals ending with l
2013-08-05 10:39:15 -07:00
vshcherb
624f9a099f Merge pull request #506 from naoliv/pull4
Fix single character string argument
2013-08-05 10:14:47 -07:00
Victor Shcherb
f89cd246f0 Fix exceptions 2013-08-04 13:51:14 +02:00
Nelson A. de Oliveira
c9dd6c0697 Make some fields static
A field may be static if it is declared final, and is initialized with a
constant
2013-08-03 10:48:18 -03:00
Nelson A. de Oliveira
8d3c8b6e9e Fix long literals ending with l
These literals may be confusing, as lowercase 'l' looks very similar to
'1'
2013-08-03 10:48:11 -03:00
Nelson A. de Oliveira
dad7d53f43 Remove unnecessary boxing/unboxing 2013-08-03 10:47:53 -03:00
Nelson A. de Oliveira
20f18fd5a6 Fix single character string argument
These String literals may be replaced by equivalent character literals,
gaining some performance enhancement.
2013-08-03 10:42:15 -03:00
Nelson A. de Oliveira
a525df7694 Fix unnecessary bitwise operations 2013-07-31 15:39:50 -03:00
Nelson A. de Oliveira
ffaaef6610 Remove unecessary semicolon 2013-07-31 15:24:57 -03:00
Nelson A. de Oliveira
50207ec316 Remove continue and return 2013-07-31 15:24:15 -03:00
Nelson A. de Oliveira
bf05917be5 Remove redundant local variables 2013-07-31 15:22:39 -03:00
Nelson A. de Oliveira
1eea84da0b Fix unnecessary boxing/unboxing 2013-07-31 15:15:26 -03:00
Nelson A. de Oliveira
1bdb389eae Fix pointless aithmetic expressions 2013-07-31 15:14:11 -03:00
Nelson A. de Oliveira
61699455e5 Replace StringBuffer with String
These may be replaced with java.lang.String expressions which results in
simpler and possibly more efficient code
2013-07-31 15:09:37 -03:00
Nelson A. de Oliveira
a0de8b31b3 Fix string concatenation in StringBuffer.append()
Such calls may profitably be turned into chained append calls on the
existing StringBuffer/Builder/Appendable, saving the cost of an extra
StringBuffer/Builder allocation.
2013-07-31 15:08:29 -03:00
Nelson A. de Oliveira
6a3f36761c Fix redundant String constructor call 2013-07-31 15:07:07 -03:00
Nelson A. de Oliveira
6fc309af19 Fix manual array to collection copy 2013-07-31 15:06:31 -03:00
Nelson A. de Oliveira
ffc006bab6 Fix boxing of already boxed values
This is a useless operation since any boxed value will first be
auto-unboxed before boxing the value again. If done inside an inner loop
such code may cause performance problems.
2013-07-31 15:05:59 -03:00
Robin Schneider
ec5d0287bf OpeningHoursParser cleanup. 2013-07-30 21:28:19 +02:00
Victor Shcherb
b0cf3f2f5a Fix issue with distance 2013-07-30 18:14:50 +02:00
vshcherb
9a2e1fb3ba Update Location.java 2013-07-30 11:08:15 +02:00
vshcherb
bdfcbc634c Update Location.java 2013-07-30 11:06:34 +02:00
vshcherb
13d4492534 Update Location.java
Test hotfix
2013-07-30 11:05:13 +02:00
Robin Schneider
989dd8bc09 Added length test to avoid exception.
java.lang.StringIndexOutOfBoundsException: String index out of range
2013-07-25 22:16:45 +02:00
Robin Schneider
3f963b511f Fixed problem with OpeningHoursParser.
The parser did not distinguish between "off" (valid in opening_hours)
and "of".
2013-07-23 22:48:30 +02:00
Michael Peter Christen
9d967a96ae prevent double-lookup of a propertyName from router: this reduces the
number of lookups for attributes by 50%
2013-07-23 11:05:24 +02:00
sonora
53d49e1eac put Emergency first 2013-07-22 14:52:24 +02:00
sonora
73c6f97224 sort AmenityType.java in consistent way 2013-07-22 14:46:18 +02:00
Victor Shcherb
5702c9c364 Fix Yandex traffic 2013-07-22 02:19:31 +02:00
Victor Shcherb
5aeac12128 Fix bugs 2013-07-22 02:04:16 +02:00
Victor Shcherb
583fa22205 Introduce icon order in rendering style 2013-07-19 00:24:16 +02:00
Victor Shcherb
e52112636e Introduce tag=disable for rendering style, so we can disable features by specifying disable=true 2013-07-18 23:56:50 +02:00
Victor Shcherb
d99c5a9dca Update rendering types 2013-07-15 00:21:48 +02:00
fp
20db3ea1b3 Expand OpeningHours with Month
Now the OpeningHoursParser can handle Strings like:
Mar-Sep:08:00-20:00;Oct-Feb:09:00-16:00
2013-06-25 12:11:58 +02:00
Victor Shcherb
7087b718a5 Move rendering_types.xml to resources 2013-06-23 02:00:55 +02:00
sonora
addc32965a simplify haversine formula 2013-06-18 11:00:26 +02:00
Victor Shcherb
96f93f9154 Move all resources to special project (Osmand-resources) 2013-06-17 01:35:09 +02:00
sonora
a7541f65f4 fix render style also in Touring view 2013-06-16 23:36:04 +02:00
Victor Shcherb
7405a2dba1 Fix rendering style 2013-06-16 23:02:11 +02:00
Victor Shcherb
35adfd8e2b Update south africa 2013-06-16 22:54:33 +02:00
sonora
b62ba6596a update renderer comment blocks 2013-06-16 11:41:29 +02:00
Robin Schneider
ff44f7db19 Fixed problem with https in tags.
If for example the website tag starts with https:// then it appeared in
OsmAnd as http://https://

https is not that unusual:
http://taginfo.openstreetmap.org/keys/website#values
http://taginfo.openstreetmap.org/keys/contact:website#values
2013-06-14 20:25:57 +02:00
Victor Shcherb
67b4b6baf1 Fix crashes 2013-06-09 13:04:06 +02:00
Victor Shcherb
59fa38dc36 Update rendering types 2013-06-05 00:27:04 +02:00
Victor Shcherb
628a819afd Fix bugs 2013-06-05 00:11:33 +02:00
Victor Shcherb
7de85b7cf6 Implement sorting door-to-door algorithm 2013-06-04 00:01:28 +02:00
Victor Shcherb
aecc4705e5 Add old address plugin to source code 2013-05-31 18:48:01 +02:00
Victor Shcherb
72210ccddc Update structure 2013-05-29 17:56:35 +02:00
Victor Shcherb
26d1cb3b2c Update countries reginfo 2013-05-29 17:56:35 +02:00
sonora
88d5bb6f42 Cycle routes from zoom 12 in Touring view (Zahnstocher) 2013-05-28 09:09:21 +02:00
sonora
f121fd33d1 optimize name display for National forests and Wilderness areas 2013-05-27 11:52:10 +02:00
Victor Shcherb
472efba592 Update strict mode 2013-05-27 10:07:31 +02:00
sonora
395f1ef385 fix typo 2013-05-27 09:09:16 +02:00
sonora
8812587830 darken nat park font a little 2013-05-26 23:38:07 +02:00
sonora
04148e8dcc fix build 2013-05-26 21:22:35 +02:00
sonora
50635897de increase visibility of national park name 2013-05-26 19:41:44 +02:00
Victor Shcherb
0ae7340cb1 Update download 2013-05-26 15:43:00 +02:00
Victor Shcherb
85008c9c88 Working version 2013-05-26 15:43:00 +02:00
sonora
f0c26ac20f add comments for Wilderness Areas and Nat Forests 2013-05-26 10:40:28 +02:00
sonora
78082e6088 Prepare for some testing with tag protected_area 2013-05-26 10:21:04 +02:00
Victor Shcherb
04baf7f15d Disable strict mode 2013-05-23 20:08:20 +02:00
Victor Shcherb
7bd0697b09 Enable strict mode in OsmAnd~ version 2013-05-23 20:08:19 +02:00
Victor Shcherb
fd904b9c99 Fix most critical bugs 2013-05-23 20:08:19 +02:00
Victor Shcherb
28f3b74069 Move classes back to main repository 2013-05-19 23:32:11 +02:00
sonora
2ec8464004 Touring view night route: go back to blue because of motorways 2013-05-18 22:18:17 +02:00
sonora
8f0e90b3b5 fix typo 2013-05-18 21:20:14 +02:00
sonora
f47cbed7e7 try default route color also in Touring view night mode, old blue very invisible in some brighter environmets 2013-05-18 20:36:30 +02:00
Victor Shcherb
bbfc82ba1e Update rendering style 2013-05-18 18:21:14 +02:00
Victor Shcherb
774c8d2452 Update rendering style 2013-05-18 18:10:53 +02:00
Victor Shcherb
7ee4b39163 Add top rendering style to product and disable compass usage in navigation (doesn't work nice yet) 2013-05-18 17:50:10 +02:00
Victor Shcherb
a47d81ada7 Update buttons, add streets to info about route, update layout 2013-05-18 02:11:27 +02:00
sonora
e1296650ee fix night cemeteries 2013-05-17 11:51:05 +02:00
Victor Shcherb
6eb37c4fc5 Try to fix romanian locale 2013-05-17 02:05:10 +02:00
Victor Shcherb
52f7df8677 Fix icons, fix options menu on different devices, update imports 2013-05-17 01:43:18 +02:00
vshcherb
e69311c459 Merge pull request #440 from BathoryPeter/patch-2
narrow_gauge and halt from z13
2013-05-13 16:25:01 -07:00
Báthory Péter
64f86c8a1f narrow_gauge from z13 2013-05-14 01:56:04 +03:00
Báthory Péter
a862baf257 narrow_gauge and halt from z13 2013-05-14 01:54:54 +03:00
Victor Shcherb
be36c30d2e Support 2 core separately 2013-05-10 00:38:35 +02:00
vshcherb
0942da2a3c Merge pull request #435 from a-xin/master
Improved handling of day wrap in opening_hours
2013-05-09 14:54:56 -07:00
axin
7d9ee09e3c added test cases for day wrap in opening hours 2013-05-09 23:47:39 +02:00
Victor Shcherb
e188f9859c Update application style 2013-05-09 19:24:30 +02:00
axin
96dc5f5291 corrected handling of day wrap in opening_hours 2013-05-09 14:59:53 +02:00
vouillon
52ec07e538 Routing for bicycles on one way roads
With a tag cycleway=opposite*, bicycles can go both ways.
A tag oneway:bicycle=* will take precedence over a tag oneway=*.
2013-05-07 20:44:24 +03:00
vshcherb
b4a41cc35f Update IndexItemCategory.java 2013-04-28 13:29:10 +03:00
vshcherb
13f025ba39 Update default.render.xml 2013-04-28 13:14:24 +03:00
Victor Shcherb
b1873dde42 Fix NPE 2013-04-27 17:31:13 +02:00
Victor Shcherb
388dfcc65d Remove cloudmade 2013-04-27 14:32:10 +02:00
yvecai
dc00740578 winter: turn grassland to snow 2013-04-21 21:58:30 +03:00
Victor Shcherb
e9eee09a40 Fix slight turns on motorway 2013-04-21 13:08:37 +02:00
vshcherb
6803a1bf0f Update routing.xml
Fixed avoid unpaved (to avoid completely)
2013-04-21 13:55:04 +03:00
vshcherb
c0fd2238f3 Update RouteProvider.java
Fix average bicycle speed
2013-04-21 13:51:06 +03:00
Victor Shcherb
9e1fb46a28 Enable pedestrian GPX 2013-04-18 23:50:52 +02:00
Victor Shcherb
828c9930d4 Update public transport icon 2013-04-18 23:49:14 +02:00
Victor Shcherb
7bc162a878 Move OsmAnd java core project back to android repository for maintainance reasons 2013-04-18 23:35:20 +02:00
Victor Shcherb
3db27de275 Restructure repository 2012-12-12 02:10:55 +01:00
Victor Shcherb
9a01ae51cd Fix build scripts 2012-12-12 00:05:33 +01:00
Victor Shcherb
e59b53da68 Refactor project structure 2012-12-12 00:05:32 +01:00