295 Commits

Author SHA1 Message Date
Al
01735e30d4 [boundaries] Correcting mappings for Hungary, adding suburb at level 10 2016-09-25 18:42:37 -04:00
Al
cd9fe4eb7b [boundaries] Adding option to still check for global overrides but only if nothing else was found using admin_level, etc. Updating South Korea and adding this option to Luxembourg. 2016-09-24 15:36:03 -04:00
Al
df0387ce91 [boundaries] removing Ankara metropolitan districts (they're in many other cities as well, would be better to change on the OSM level if needed) 2016-09-23 22:52:10 -04:00
Al
75706d3e52 [boundaries] adding exceptions for Turkey (make Istanbul a city, Ankara metropolitan districts) 2016-09-23 18:55:03 -04:00
Al
ac197d1186 [boundaries] admin_level=9 in Norway is city_district 2016-09-23 16:45:59 -04:00
Al
953daa6920 [boundaries] updates to Taiwan boundaries 2016-09-16 19:20:43 -04:00
Al
263a173d5e [boundaries] adding exceptions for a few cities in England that have designation=non_metropolitan_district 2016-09-16 00:58:54 -04:00
Al
0e55ad7e3a [boundaries] Changing admin_level=6 in Spain to state_district 2016-09-15 13:48:40 -04:00
Al
d9a81f767c [boundaries] mapping sub-regiao to state_district in Portugal 2016-09-14 13:36:52 -04:00
Al
0f8e7cd9dc [boundaries] adding exception for the direct-controlled municipalities in China (Shanghai, Beijing, Tianjin and Chongqing) to be treated as city instead of state. These will use the admin_centre properties 60% of the time, relation propreties 40% of the time 2016-09-12 18:46:08 -04:00
Al
eaacf55f42 [boundaries] exceptions for city_district and barrios in Buenos Aires and Rosario in Argentina 2016-09-12 02:57:49 -04:00
Al
88be23c85b [boundaries] adding borough mapping to Mexico as it's used for Mexico City 2016-09-07 11:25:06 -04:00
Al
978c436071 [boundaries] added Kingston, Jamaica as an admin_centre in OSM for Kingston and St Andrew Corporation in Jamaica. Overriding with a 0.9 probability so the full name of the combined parish gets used (as "state") some of the time, but mostly just stands in as a city boundary for Kingston 2016-09-06 15:27:09 -04:00
Al
db8f5b717c [boundaries] adding use_admin_center to boundary configs right alongside other overrides 2016-09-02 02:00:18 -04:00
Al
5542ce2792 [boundaries] Adding exceptions for Korean special cities 2016-08-30 12:45:16 -04:00
Al
1c069633f8 [places] Using a few more varients for arrondissement regex 2016-08-29 20:04:27 -04:00
Al
0ff4c420da [boundaries] Revising boundary types for Colombia, looks like admin_level=6 is municipality, levels 7 and 8 are city districts. Making an override for Bogota 2016-08-28 13:24:11 -04:00
Al
b75419d6e8 [boundaries] Luxembourg quarters = city_district 2016-08-24 23:37:44 -04:00
Al
3fef3e56d5 [boundaries] converting Mexico City boroughs to city_district 2016-08-22 03:51:01 -04:00
Al
79c9694e2d [names] Allowing for similarity-only normalization in name affixes 2016-08-22 03:47:08 -04:00
Al
5cff7b85bd [geonames] Adding basic GeoNames admin mappings for all countries we have postal codes lists for so some form of training data can be created for postcodes not listed in OSM 2016-08-15 01:09:17 -04:00
Al
7f4e636fc5 [fix] accidentally had Vietnam country code switched with Virgin Islands 2016-08-14 18:43:24 -04:00
Al
8a5da5f860 [boundaries/osm] Reverting admin_level=10 back to city_district for India so it'll match the current training data, can revisit later 2016-08-13 22:51:42 -04:00
Al
55895369b8 [boundaries] Using state again for UK countries (England, Scotland, Wales, Northern Ireland). country_region was created mostly for non-administrative regions of a country (usually admin_level=3 in OSM). The UK is a bit more complicated in that there are multiple non-sovereign countries, but it's probably not worth creating a different tag and different set of parameters just to have a distinct name for 1st level admin in the UK 2016-08-11 23:47:31 -04:00
Al
d51a6693ac [fix] reverting commit that was lumped in with geonames script 2016-08-11 21:49:29 -04:00
Al
74d042e3c7 [boundaries] For India, making admin_level 10 map to suburb rather than city_district 2016-08-11 21:47:10 -04:00
Al
22123b80ba [fix] refactoring geonames script a bit 2016-08-11 21:31:39 -04:00
Al
48755ec218 [boundaries] Adding regex replacements for boundary names such as Lyon 2e Arrondissement where putting Lyon is the OSM convention but we might sometimes want just 2e Arrondissement to appear in the training data next to Lyon 2016-08-11 13:09:24 -04:00
Al
fa003ca430 [fix] indentation in boundaries configs 2016-08-01 00:52:10 -04:00
Al
f8c8d05997 [fix] same thing for the exception countries 2016-07-29 12:47:08 -04:00
Al
045eab8e58 [osm] Making ISO codes lower probability for reverse geocoded country as well 2016-07-29 12:30:32 -04:00
Al
750037330e [boundaries] Updated boundaries for Slovakia to capture city districts, etc. 2016-07-27 14:07:36 -04:00
Al
d9b70d3404 [fix] mapping the nodes for NYC boroughs to city_district 2016-07-27 12:22:50 -04:00
Al
eae7a6a78c [osm/boundaries] extend admin overrides in the UK to Greater London which includes London and the City of London 2016-07-25 16:56:39 -04:00
Al
38e67f5013 [boundaries] More fun with mapping UK admin boundaries. Non-metroplitan counties and non-metropolitan districts map to state_district. admin_level=6 maps to state district except for London where it's the city minus City of London. admin_level=8 (e.g. Manchester) maps to city except in London where it maps to city_district. admin_level=10 is suburb unless designation=civil_parish, in which case it's treated as a city boundary (individual towns/villages may be city or suburb depending on their place tag). Just complicated enough to be valid UK law :-). 2016-07-25 16:02:00 -04:00
Al
4b67cf79f4 [boundaries/osm] Mapping regions of England to state 2016-07-25 15:02:22 -04:00
Al
1058b17a61 [osm] Moving admin_center overrides to OSM parser config 2016-07-25 02:02:48 -04:00
Al
c9aa0bc913 [boundaries/osm] Use name:en most of the time for New Zealand and occasionally name 2016-07-25 01:53:43 -04:00
Al
487db3b959 [boundaries] Adding small islands/territories, usually with just the country boundary so we can pick up simple named points (note: Western Sahara not represented as a country in OSM) 2016-07-21 17:04:57 -04:00
Al
ef508c5361 [boundaries] San Marino 2016-07-21 17:04:57 -04:00
Al
ff8de92882 [boundaries] Åland Islands 2016-07-21 17:04:57 -04:00
Al
5f9d73f3df [boundaries] United States Minor Outlying Islands 2016-07-21 17:04:57 -04:00
Al
a72066194d [boundaries] Wallis and Futuna 2016-07-21 17:04:57 -04:00
Al
abb3166d5a [boundaries] Christmas Island 2016-07-21 17:04:57 -04:00
Al
dbc0aa812b [boundaries] French Southern Territories 2016-07-21 17:04:57 -04:00
Al
8e4af47422 [boundaries] Guinea-Bissau 2016-07-21 17:04:57 -04:00
Al
35c3491820 [boundaries] Norfolk Island 2016-07-21 17:04:57 -04:00
Al
3e89066f3f [boundaries] Falkland Islands 2016-07-21 17:04:57 -04:00
Al
a179a0d24d [boundaries] Turks and Caicos 2016-07-21 17:04:57 -04:00
Al
6c7810c35c [boundaries] Samoa 2016-07-21 17:04:57 -04:00