Commit Graph

889 Commits

Author SHA1 Message Date
Al
a7b3403bf7 [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-14 17:03:23 -04:00
Al
4d5d0c3621 [fix] Reverting to dropping ways/relations in planet-neighborhoods.osm since the polygon index itself can now be checked 2016-07-14 16:58:56 -04:00
Al
af3ab3194b [osm] get_first_component for passing in a properties dictionary and returning an address formatting component 2016-07-14 16:57:38 -04:00
Al
0094d07621 [osm] Adding admin_center properties to admin boundary polygons 2016-07-14 16:37:27 -04:00
Al
c0917bec87 [osm] Extract all members with role= as dependencies 2016-07-14 16:35:08 -04:00
Al
3baf3c3f60 [components] Check global keys first (e.g. place= before admin_level=) in boundary component mapping 2016-07-14 16:33:47 -04:00
Al
9f61976bf6 [addresses] Implementing phrases for numbered blocks 2016-07-12 02:05:36 -04:00
Al
2510d0896b [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-11 22:31:52 -04:00
Al
538b89c00c [neighborhoods] /zetashapes/clickthathood/ 2016-07-11 15:36:29 -04:00
Al
1ac4ab182e [addresses] Implementing alphabet_probability, so may still use the Latin alphabet in some cases 2016-07-07 15:26:51 -04:00
Al
bdbcbb8d0a [test] Printing invalid phrases in address config tests 2016-07-06 15:40:54 -04:00
Al
dfeea0906c [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-06 15:40:04 -04:00
Al
2f4548664f [addresses] Implementing list-based field combinations 2016-07-04 18:09:50 -04:00
Al
d09e0ca966 [addresses] Implementing whitespace_probability and ordinal_suffix probability for Roman numerals 2016-07-04 18:09:26 -04:00
Al
ad50e44c12 [osm] Japanese addresses only use named valid venues, not just anything with a name 2016-07-03 23:43:32 -04:00
Al
ce2f5be564 [fix] ordinal spellout for numbers which map directly to a simple rule 2016-07-03 23:42:40 -04:00
Al
adb2d30438 [fix] alternatives lists in config utils 2016-07-03 23:42:13 -04:00
Al
ba6ec40748 [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-03 23:41:49 -04:00
Al
1c45163411 [addresses] Handling digit rewrites (spellout, Roman numerals, etc.) in the base class 2016-07-03 23:40:50 -04:00
Al
24c0622bce [addresses] Removing temporary file list and allowing any file ending in .yaml in resources/addresses to be parsed/imported 2016-07-03 23:38:15 -04:00
Al
085cae3407 [fix] components 2016-07-03 23:36:27 -04:00
Al
203980fe0f [addresses] Using Digits.rewrite in unit generation as well as adding a new config option for generating positive numbers only 2016-07-02 04:27:55 -04:00
Al
94b5d055f7 [addresses] Using Digits.rewrite for entrance, staircase, floor numbers, and PO boxes 2016-07-02 04:26:40 -04:00
Al
28f49f3eb7 [addresses] Adding Digits, which allows for replacing numbers with their unicode full-width equivalents or doing number spellout 2016-07-02 04:25:29 -04:00
Al
22524f7822 [addresses] Adding some of the new configs and returning None if no phrase alternatives exist 2016-07-02 04:24:07 -04:00
Al
5579156320 [addresses] Fixes for standalone components, conditional adds, and allowing generated unit numbers to use known floor number 2016-07-02 04:22:34 -04:00
Al
ade190f8c7 [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-06-30 02:34:03 -04:00
Al
171a2c9b2f [addresses] Adding ability to determine unit numbers using a known floor number 2016-06-29 15:57:10 -04:00
Al
5b17a3a3ce [addresses] Roman numerals can be returned by Floor.random, relaxing the Zipfian distribution on floors so we get higher floors 2016-06-28 19:47:23 -04:00
Al
15059c76a6 [test] Adding tests for address configs 2016-06-28 13:10:47 -04:00
Al
5e78f72fc7 [fix] a few errors with non-numbers in numeric_phrase 2016-06-28 13:08:38 -04:00
Al
4bbc52372c [addresses] Adding new configs 2016-06-27 03:06:54 -04:00
Al
0e7348abba [addresses] Implementing Roman numerals and cardinal/ordinal number spellout in numbering base class 2016-06-27 03:06:33 -04:00
Al
ee1326b15c [addresses] Russian address config 2016-06-26 01:25:27 -04:00
Al
414c2e9820 [addresses/dictionaries] Updates to Portuguese configs, variations for Brasil 2016-06-25 20:29:36 -04:00
Al
2b752de6a7 [numex] Adding method to do cardinal number spellout by hundreds e.g. twenty-three seventeen instead of two thousand three three hundred seventeen 2016-06-25 13:36:10 -04:00
Al
b8bc8a33d5 [numex] Ordinal spellout using the numex configs 2016-06-25 13:35:03 -04:00
Al
e2a9a57269 [numex] Adding numeric expression spellout in the Python geodata module for generating training data 2016-06-24 16:10:36 -04:00
Al
cf2ed2b299 [osm/addresses] using new is_numeric in AddressComponents expansion and removing venue names that are identical to the house number 2016-06-23 13:59:40 -04:00
Al
082dbe6dd2 [addresses] Implementing unit types which use concatenated floors with offsets for basement (e.g. Norway) 2016-06-16 01:45:43 +02:00
Al
1f08cce1a7 [addresses] Implementing number_min_abs_value, number_max_abs_value outside of number_abs_value constraint 2016-06-16 01:44:12 +02:00
Al
c76e7ab776 [addresses] Adding Portuguese sub-building config 2016-06-16 01:43:03 +02:00
Al
ccd1d4825c [addresses/units] Adding special handling for floor phrase + unit concatenation in the unit field (handles bruksenhetsnummer/bolignummer-style addresses in Norway) 2016-06-14 22:02:14 +02:00
Al
f02d393b90 [addresses] Adding null-phrase/null-phrase-alpha-only handling and zero padding to numbered components in sub-building configs 2016-06-14 21:53:43 +02:00
Al
e6ac8062d8 [addresses] adding nb.yaml to valid configs 2016-06-14 21:52:11 +02:00
Al
e1cb8b4bbb [fix] return None if there are no ordinal suffixes for a given language 2016-06-13 16:17:26 +02:00
Al
1f7186d9f2 [fix] addr:place= 2016-06-09 16:17:21 +02:00
Al
e0306b2147 [osm] Adding railway stations to venues/addresses data sets 2016-06-09 14:59:37 +02:00
Al
89c09fb8aa [addresses] Adding Danish config to parsed configs 2016-06-07 18:04:24 -04:00
Al
3b0712ef41 [fix] name 2016-06-02 12:17:40 -04:00