Commit Graph

154 Commits

Author SHA1 Message Date
Al
6e73d46097 [fix] typo 2016-11-18 00:50:18 -05:00
Al
a9fdfee2ac [polygons] adding optional test_point for complex polygons with an admin_center, and including admin_center lat/lon as part of the properties 2016-11-17 19:36:32 -05:00
Al
c2ccec70ad [polygons] adding lat/lon props to admin centers 2016-11-17 19:21:31 -05:00
Al
71d535e845 [polygons] using try/except in polygons 2016-11-17 17:38:54 -05:00
Al
d701bb1320 [polygons] only applying the new fix-on-read solution in the OSM admin/subdivision indices 2016-11-17 00:33:06 -05:00
Al
c1d4b03bb4 [polygons] moving polygon fixes to the to_polygon method so they get applied both at ingestion and on cache load 2016-11-16 23:25:48 -05:00
Al
a25ae7f9ef [osm/polygons] adding fixed version of a polygon if polygon is invalid and doesn't contain its centroid 2016-11-16 17:38:01 -05:00
Al
63edd53fb3 [openaddresses] adding clear_cache method to clear the LRU cache for point-in-polygon indices and using it in OpenAddresses import since it heavily reuses polygons and only for the current file 2016-10-22 20:28:59 -04:00
Al
30074524d8 [fix] return empty list for languages in country_and_languages 2016-10-07 18:57:22 -04:00
Al
ff7fec6ed1 [osm/polygons] need to include id/type in polygon properties now that they're getting added earlier in the pipeline 2016-10-07 01:21:02 -04:00
Al
faf418decb [languages] using country_and_languages method in OSM, neighborhoods and OpenAddresses 2016-10-05 02:49:55 -04:00
Al
98a8d898a1 [fix] import 2016-10-05 01:39:34 -04:00
Al
2bc109f519 [osm] adding an OSM-based country_and_languages method 2016-10-04 18:41:00 -04:00
Al
adeedef39e [fix] import 2016-10-01 01:19:36 -04:00
Al
5d7405b2fd [osm] country and postal code polygon readers 2016-10-01 01:11:35 -04:00
Al
469332ffc4 [osm/polygons] Reducing cache_size to 250k now that the polygons are larger 2016-07-30 16:44:59 -04:00
Al
3d20bd13c3 [osm] Add population to reverse geocoder properties 2016-07-30 12:25:39 -04:00
Al
a45ff88f5f [osm/polygons] Don't simplify OSM polygons, might have memory 2016-07-29 12:53:13 -04:00
Al
ee795211bc [polygons] Include designation in OSM admin properties (for UK) 2016-07-25 00:27:27 -04:00
Al
6f5aeb725c [fix] include admin center id and type 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
c77c13c1bd [polygons] When loading polygons from disk/GeoJSON, include holes 2016-07-21 17:04:57 -04:00
Al
d595e48721 [polygons] Adding university and hospital polygons to the subdivisions index, (multiple sub-buildings but still want to know the parent entity) 2016-07-21 17:04:57 -04:00
Al
b8513c0dc6 [osm] Adding osm_type_and_id function for handling all-to-nodes output from osmfilter. Using in neighborhoods as well as admin rtree. 2016-07-21 17:04:57 -04:00
Al
3263535cf1 [fix] name 2016-07-21 17:04:57 -04:00
Al
3b4d3090cd [fix] polygons crossing the international date line 2016-07-21 17:04:57 -04:00
Al
a0e6a828c9 [languages] Adding country_and_languages to the language rtree itself 2016-07-21 17:04:57 -04:00
Al
e21b793b03 [polygons] Adding ISO3166 alpha 2/3 codes to OSM polygons index 2016-07-21 17:04:57 -04:00
Al
9977a7a254 [mv] Moving osm_admin_boundaries to just admin_boundaries 2016-07-21 17:04:57 -04:00
Al
799bbe4912 [neighborhoods] Moving neighborhoods index to its own package 2016-07-21 17:04:57 -04:00
Al
efc40c5698 [fix] polygons 2016-07-21 17:04:57 -04:00
Al
c7ea5d9637 [fix] typo 2016-07-21 17:04:57 -04:00
Al
0a80ec7129 [polygons] Adding __iter__ and __len__ to polygon index and keeping track of the number of polygons for iteration 2016-07-21 17:04:57 -04:00
Al
9a0ea19d02 [polygons] Persistent polygons for neighborhoods index as well, cache size at 100k 2016-07-21 17:04:57 -04:00
Al
90142e8559 [polygons] neighborhoods repo has the correct polygons for NYC, removing the pediacities version 2016-07-21 17:04:57 -04:00
Al
c570bb7aef [fix] priorities in neighborhood index 2016-07-21 17:04:57 -04:00
Al
e87c216241 [fix] var name 2016-07-21 17:04:57 -04:00
Al
ab1a8d4416 [fix] Fixes to Zetashapes reverse geocoder 2016-07-21 17:04:57 -04:00
Al
a93f110112 [fix] moving methods 2016-07-21 17:04:57 -04:00
Al
efd167323b [polygons/neighborhoods] refactoring Zetashapes download, adding in PediaCities polygons for NYC neighborhoods 2016-07-21 17:04:57 -04:00
Al
333bd7ef45 [polygons] refactoring methods for getting cached/non-cached polygons 2016-07-21 17:04:57 -04:00
Al
e4ff4a28b1 [polygons] Quattroshapes neighborhoods use regular in-memory polygons 2016-07-21 17:04:57 -04:00
Al
76fc337d0e [osm/polygons] add building:part to building polygons 2016-07-21 17:04:57 -04:00
Al
6a03b0376c [osm/polygons] Using greater simplify tolerance 2016-07-21 17:04:57 -04:00
Al
ae62471d32 [fix] simplify_polygons in building geocoder, and adding caching back to OSM admin polygons as it's faster when taking into account startup time. Also adding a few properties to buildings and landuse polygons 2016-07-21 17:04:57 -04:00
Al
26ada5cdbb [osm/polygons] From benchmarking it seems to make sense to keep OSM polygons in memory after all 2016-07-21 17:04:57 -04:00
Al
f76a78120d [fix] properties/polygon key split 2016-07-21 17:04:57 -04:00
Al
d460e2abe9 [osm/polygons] Trying persistent polygons again on OSM/Quattroshapes to test the new settings 2016-07-21 17:04:57 -04:00
Al
171a85bdff [osm/polygons] Storing polygon JSON under a different key so it doesn't have to be read from disk after a successful cache matched point-in-polygon test just to retrieve the properties 2016-07-21 17:04:57 -04:00
Al
67a3ee8e2a [fix] var name 2016-07-21 17:04:57 -04:00