Commit Graph

2020 Commits

Author SHA1 Message Date
Al
46f421e455 [fix] names 2016-12-22 20:56:58 -05:00
Al
9db3c8ee4a [fix] name 2016-12-22 20:15:21 -05:00
Al
80c404899c [neighborhoods] adding some of the pure Quattroshapes neighborhoods (not matched to OSM) to be classified as city_district, starting with districts of Prague 2016-12-22 17:58:34 -05:00
Al
043dafc12a [openaddresses] add osm_neighborhood_overrides_city option for some countries that list what-we-otherwise-think-are-suburbs as the city 2016-12-22 17:50:21 -05:00
Al
7d5512a82f [neighborhoods] adding option for suburb/city_district to replace city when the user-specified city is actually a neighborhood/district 2016-12-22 15:15:26 -05:00
Al
9afc910ce3 [fix] var 2016-12-22 03:46:36 -05:00
Al
665a91ccea [fix] stray paren 2016-12-22 03:44:59 -05:00
Al
3e687f0ef0 [fix] parens 2016-12-22 03:38:56 -05:00
Al
242a5281cc [osm] throwing away street names that are None/NULL, and those that only contain punctuation 2016-12-22 03:36:30 -05:00
Al
7d195ca331 [fix] not allowing postal codes to pass validation if they are simply float zero 2016-12-22 02:59:54 -05:00
Al
c6683e3237 [addresses] check that user-specified boundary names have at least one word token (OSM can have addr:city="?" and other weirdness. Also only right-stripping hyphens from house number in case of negative numbers 2016-12-22 02:03:01 -05:00
Al
32e7637037 [fix] handle case where addr:conscriptionnumber exists but not addr:housenumber 2016-12-21 01:54:07 -05:00
Al
6388a79bf0 [addresses] strip "-", etc. in addr:housenumber 2016-12-21 01:53:23 -05:00
Al
c33db4f04d [addresses] normalize existing sub-building components 2016-12-21 01:28:43 -05:00
Al
3b14613f1d [fix] restore original house number for subsequent formatting after addr:conscriptionnumber/addr:streetnumber 2016-12-21 00:51:44 -05:00
Al
484c7ef912 [osm] adding addresses with addr:conscriptionnumber and addr:streetnumber when available 2016-12-21 00:36:40 -05:00
Al
eafafab959 [addresses] adding function to generate phrases for addr:conscriptionnumber in OSM, e.g. č.p. 123 in the Czech Republic 2016-12-21 00:35:39 -05:00
Al
cc4098fb05 [openaddresses] abbreviate states as well in OpenAddresses when full version is specified 2016-12-20 17:24:12 -05:00
Al
cd25ca1537 [names] replace name affixes with both country/language and language-only variants 2016-12-20 03:10:13 -05:00
Al
9e44fcb2bb [addresses] abbreviating neighborhoods/city_districts 2016-12-20 03:01:34 -05:00
Al
53723bbf3d [fix] passing argument through to normalized_place_name 2016-12-20 02:21:38 -05:00
Al
6d02fbb9b8 [addresses] switch for phrases that come from components so they only get stripped if they contain another phrase a la Washington, D.C. Consolidating always_use_full_names and random_key options 2016-12-20 01:42:40 -05:00
Al
56ca37d1f3 [fix] openaddresses config reading 2016-12-19 02:18:24 -05:00
Al
f2720db2f8 [osm] adding simple street name normalization for certain streets in OSM that also contain the house number (only when separated by commas and in a country/language where house number comes after street). There are other cases for normalization but need to better define them. 2016-12-19 02:13:44 -05:00
Al
ff32321425 [formatter] adding house_number_before_road method to AddressFormatter 2016-12-19 02:00:06 -05:00
Al
f35fd97735 [boundaries] add abbreviated state names to valid component names 2016-12-19 00:51:05 -05:00
Al
d02a18a5a8 [fix] all_names, use values instead of name keys 2016-12-18 17:29:15 -05:00
Al
e9c7bc43e3 [fix] check fixed list of keys in all_names as well 2016-12-18 17:26:43 -05:00
Al
2727572822 [addresses] using the name key disttribution in AddressComponents.all_names. Returning names and valid components from the new function instead of the full gazetteer (can be build later) 2016-12-18 17:22:13 -05:00
Al
954b6548bf [names] adding name_key_dist method to boundary names to account for certain boundaries like e.g. Kings County that have name exceptions 2016-12-18 17:20:03 -05:00
Al
d308473686 [addresses] separating boundary phrase gazetteer construction into its own method 2016-12-18 15:47:20 -05:00
Al
585b203a4f [fix] /props/attrs/ 2016-12-18 15:32:09 -05:00
Al
82b26117aa [fix] name comparison in neighborhoods index 2016-12-18 15:27:21 -05:00
Al
8322e98ad3 [fix] var name II 2016-12-18 11:42:16 -05:00
Al
0c55bc3bb8 [fix] var name 2016-12-18 11:41:00 -05:00
Al
e5657c5612 [fix] putting the neighborhoods check after the dupe threshold check, as it's not really needed until then anyway 2016-12-18 03:00:40 -05:00
Al
4314a6822d [fix] don't need to do two checks for OSM boundaries 2016-12-18 02:32:05 -05:00
Al
590246748f [fix] move OSM check to after ClickThatHood/Quattroshapes checks as we don't need to check the point if it doesn't match a neighborhood geometry. Should speed up neighborhood index construction 2016-12-18 02:27:50 -05:00
Al
86a8315b9d [openaddresses] adding new config option to OA config for aliasing fields based on a regex 2016-12-18 01:50:58 -05:00
Al
d357f0f37c [neighborhoods] check polygon boundaries in OSM neighborhood points for a name match at the city level or below 2016-12-18 01:46:44 -05:00
Al
3c6ed7489c [openaddresses] adding regex replacement to remove "*" from any field 2016-12-16 17:09:41 -05:00
Al
ba96f68b62 [fix] openaddresses formatter 2016-12-16 14:22:15 -05:00
Al
da3240d5f6 [openaddresses] making field maps in OpenAddresses config a dictionary rather than a list to make inheritance easier 2016-12-16 06:54:36 -05:00
Al
83aab5a46a [openaddresses] adding option to map values for a particular field 2016-12-16 06:44:19 -05:00
Al
846b88cde5 [addresses] let the place config take care of adding/removing neighborhoods rather than doing it as part of the add_neighborhoods method 2016-12-14 03:15:07 -05:00
Al
5946ead37f [addresses] using the defined component from the neighborhoods index for city_district (they're fairly rare, just NYC boroughs basically) 2016-12-14 03:10:07 -05:00
Al
026737cd3b [neighborhoods] adding component to neighborhoods index at construction time 2016-12-14 03:07:13 -05:00
Al
5846943b70 [addresses] removing place_type override requirement from the neighborhoods index (NYC boroughs, etc.) 2016-12-14 02:16:57 -05:00
Al
09f808ca47 [geoplanet] only add short postal codes to GeoPlanet data set if they match the Google regexes 2016-12-13 17:03:26 -05:00
Al
6b04711195 [neighborhoods] adjust cache size when building neighborhoods index 2016-12-13 16:11:42 -05:00