Commit Graph

392 Commits

Author SHA1 Message Date
Al
39c193d52d [osm] Fixing parse_osm_number_range. Only treat it as a range if the number on the right is greater, make letter range parsing optional 2016-07-24 19:49:20 -04:00
Al
4151ce7919 [osm] Adding rail stations to venues data set if they have a street address and a Wikipedia 2016-07-24 14:13:38 -04:00
Al
26225ee8bb [osm] Removing rail stations from venues and making them a separate data set for reverse geocoding, fixing building!=yes query, should not include records with no building tag at all 2016-07-23 03:57:05 -04:00
Al
83f39a3dc5 [fix] removing print 2016-07-23 03:26:02 -04:00
Al
2a634797ec [fix] make sure values are hashable in mapping OSM components 2016-07-23 03:04:23 -04:00
Al
53f6053ec6 [fix] var names in osm component mapping 2016-07-23 02:05:41 -04:00
Al
9681d4dc8e [merge] 2016-07-22 18:55:55 -04:00
Al
c8e426a94d [osm] If sub-building tags are specified in OSM tags (e.g. addr:floor), only include them if the values are numeric 2016-07-22 18:47:31 -04:00
Al
9bece91bd5 [osm] When choosing a namespaced language, alias all namespaced tags, not just the addr:* tags 2016-07-22 14:56:07 -04:00
Al
9a6279d73b [fix] normalize building component tags, not regular tags 2016-07-22 14:54:18 -04:00
Al
b1b797171c [osm] Combining addr:block_number and addr:housenumber in Japan (randomly adds phrases for the 番号/bango system) 2016-07-22 14:52:16 -04:00
Al
bc2a0f0926 [osm] Splitting place keys into those that override admin_level and those that are fallbacks when admin_level, etc. are not present 2016-07-21 17:04:57 -04:00
Al
352d648649 [fix] label properties for relations 2016-07-21 17:04:57 -04:00
Al
7489c14455 [osm] Adding method for overriding per-country boundary types (either by id or containing polygon) 2016-07-21 17:04:57 -04:00
Al
538861a880 [osm] update properties of a relation with its label's properties 2016-07-21 17:04:57 -04:00
Al
6f5aeb725c [fix] include admin center id and type 2016-07-21 17:04:57 -04:00
Al
dd20db85e1 [fix] include all relation members from OSM in dependencies 2016-07-21 17:04:57 -04:00
Al
cabe2c2930 [fix] define var 2016-07-21 17:04:57 -04:00
Al
12250533e3 [osm] fixing Santa Monica and other polygons by treating member ways with blank role type (old way of specifying outer) as outer boundaries so the polygons are valid, adding a properties-only option admin polygons 2016-07-21 17:04:57 -04:00
Al
0f56eb5aca [fix] Only add nodes to dictionary if they have place= as there are named nodes that are not admin_centres 2016-07-21 17:04:57 -04:00
Al
3eae77c148 [fix] Reverting to dropping ways/relations in planet-neighborhoods.osm since the polygon index itself can now be checked 2016-07-21 17:04:57 -04:00
Al
f5ecba155f [osm] get_first_component for passing in a properties dictionary and returning an address formatting component 2016-07-21 17:04:57 -04:00
Al
ad5f34664a [osm] Adding admin_center properties to admin boundary polygons 2016-07-21 17:04:57 -04:00
Al
904cb7f4c1 [osm] Extract all members with role= as dependencies 2016-07-21 17:04:57 -04:00
Al
ff66151109 [components] Check global keys first (e.g. place= before admin_level=) in boundary component mapping 2016-07-21 17:04:57 -04:00
Al
e2097f79fd [osm] For the OSM neighborhoods data set, including neighborhoods, cities, etc. which are ways/relations to more effectively dedupe with ClickThatHood and Quattroshapes 2016-07-21 17:04:57 -04:00
Al
c91950ea6c [osm] Adding OSM file for places stored as nodes. Adding a general venue definition accessible from the geodata Python package. OSM definitions expand simple variables so can reuse/combine definitions in the bash script 2016-07-21 17:04:57 -04:00
Al
e4d8faab73 [osm] Japanese addresses only use named valid venues, not just anything with a name 2016-07-21 17:04:57 -04:00
Al
fe2bb06ac2 [osm] Since most streets in Japan do not have names, define a separate set of valid address constraints and merge the files into planet-addresses.osm 2016-07-21 17:04:57 -04:00
Al
8383d5bb12 [numex] Adding numeric expression spellout in the Python geodata module for generating training data 2016-07-21 17:04:57 -04:00
Al
a6da72a831 [fix] addr:place= 2016-07-21 17:04:57 -04:00
Al
ca88ff7f73 [osm] Adding railway stations to venues/addresses data sets 2016-07-21 17:04:57 -04:00
Al
72e647902d [fix] name 2016-07-21 17:04:57 -04:00
Al
03be909a60 [fix] name 2016-07-21 17:04:57 -04:00
Al
9059c2af60 [addresses] Don't generate sub-building components at all if there's no house number 2016-07-21 17:04:57 -04:00
Al
419f5961a5 [fix] unused var 2016-07-21 17:04:57 -04:00
Al
420ceb6c38 [intersections] Only requiring a tag to share at least two ways 2016-07-21 17:04:57 -04:00
Al
202dc0c58a [fix] name 2016-07-21 17:04:57 -04:00
Al
73b2aec25e [fix] input file 2016-07-21 17:04:57 -04:00
Al
89f6793243 [fix] args 2016-07-21 17:04:57 -04:00
Al
51831e2111 [fix] add ways db dir 2016-07-21 17:04:57 -04:00
Al
f7680e9b65 [fix] name 2016-07-21 17:04:57 -04:00
Al
0a912766e4 [fix] logging for intersections data 2016-07-21 17:04:57 -04:00
Al
baf8fbb381 [fix] import 2016-07-21 17:04:57 -04:00
Al
b4a70a9a56 [fix] import 2016-07-21 17:04:57 -04:00
Al
8aada7086f [intersections] intersections training data 2016-07-21 17:04:57 -04:00
Al
701e67614a [fix] import 2016-07-21 17:04:57 -04:00
Al
11d1acc3bc [parser] Sample chain store alternate names from the cross-language dictionary 2016-07-21 17:04:57 -04:00
Al
69e1c846ba [parser] Fixing config keys so OSM streets/venues get abbreviated. Selecting namespaced address fields in cases like Brussels or Hong Kong where everything is bilingual. Adding the ability to pass a known language into address component expansion 2016-07-21 17:04:57 -04:00
Al
b294b891dd [boundaries] lines sharing a point are added to the polygon head-to-tail, reversing the node order as needed, produces accurate OSM polygons for reverse geocoding lookups 2016-07-21 17:04:57 -04:00