Commit Graph

1311 Commits

Author SHA1 Message Date
Al
75d9c31395 [text] Adding NORMALIZE_STRING_COMPOSE constant in pynormalize.c 2016-07-24 03:37:43 -04:00
Al
7b3f4e9175 [text] Adding utils.py for is_numeric/is_numeric_strict 2016-07-24 03:37:11 -04:00
Al
a620cae6e0 [fix] var 2016-07-23 15:45:07 -04:00
Al
487d589531 [fix] remove var 2016-07-23 15:17:47 -04:00
Al
bfc75912bc [fix] Only skip Quattroshapes matching if place=neighborhood 2016-07-23 15:15:23 -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
31db378303 [fix] var name 2016-07-23 02:32:30 -04:00
Al
53f6053ec6 [fix] var names in osm component mapping 2016-07-23 02:05:41 -04:00
Al
ba507fded0 [fix] OSM component mapping in neighborhoods index 2016-07-23 01:44:43 -04:00
Al
a3e11974e6 [fix] import 2016-07-23 01:07:43 -04:00
Al
d18362056f [fix] typo 2016-07-23 00:32:48 -04:00
Al
ae3ee39709 [fix] Using containing polygons from OSM to determine component type in neighborhoods index 2016-07-22 19:16:44 -04:00
Al
9bf065f8a5 [fix] var 2016-07-22 19:06:12 -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
06541f5911 [osm] Adding country_region tag to address formatter 2016-07-21 23:38:37 -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
0afbc84a2b [phrases] pulling phrase extraction out of command-line script so it's more reusable for other tasks 2016-07-21 17:04:57 -04:00
Al
99fa6eee61 [osm] Neighborhood index now uses OSM admin R-tree to check whether nodes that are otherwise classified as non-suburbs (e.g. Santa Monica is a city) but may still match one of the neighborhood data sets, are excluded from the final neighborhood index 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
46f83ce3ef [addresses] Implementing phrases for numbered blocks 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
9c931a329e [neighborhoods] /zetashapes/clickthathood/ 2016-07-21 17:04:57 -04:00
Al
cc280c7001 [addresses] Implementing alphabet_probability, so may still use the Latin alphabet in some cases 2016-07-21 17:04:57 -04:00
Al
99c1b633ac [test] Printing invalid phrases in address config tests 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
6d0e5359e7 [addresses] Implementing list-based field combinations 2016-07-21 17:04:57 -04:00
Al
eca6fc7de3 [addresses] Implementing whitespace_probability and ordinal_suffix probability for Roman numerals 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
068e24a206 [fix] ordinal spellout for numbers which map directly to a simple rule 2016-07-21 17:04:57 -04:00
Al
d6c44a0c09 [fix] alternatives lists in config utils 2016-07-21 17:04:57 -04:00
Al
793671d0b9 [addresses] Sample from higher floors in buildings higher than 10 stories since those are relatively rare and we get enough lower numbered floors from random sampling 2016-07-21 17:04:57 -04:00
Al
47f926c4b6 [addresses] Handling digit rewrites (spellout, Roman numerals, etc.) in the base class 2016-07-21 17:04:57 -04:00