Commit Graph

60 Commits

Author SHA1 Message Date
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
9755d2cee9 [osm/polygons] Keep OSM/Quattroshapes admin polygons in memory as there are fewer of them and they are large 2016-07-21 17:04:57 -04:00
Al
499a20cb36 [osm/polygons] Using an LRU cache for prepped polygons in the various PolygonIndex subclasses. That way can store less simplified polygons but keep frequently accessed ones (like countries) in memory 2016-07-21 17:04:57 -04:00
Al
a84047b567 [fix] name 2016-07-21 17:04:57 -04:00
Al
57c3e0ddd4 [fix] import 2016-07-21 17:04:57 -04:00
Al
0e58f24172 [fix] arg name 2016-07-21 17:04:57 -04:00
Al
6d1352334e [fix] command for subdivision polys 2016-07-21 17:04:57 -04:00
Al
fe7cc0a937 [fix] import 2016-07-21 17:04:57 -04:00
Al
70effea0f7 [fix] Simplify OSM polygons but using the new threshold 2016-07-21 17:04:57 -04:00
Al
4e17ef6f91 [osm] Storing polygon properties in a LevelDB, polygons themselves stay in memory 2016-07-21 17:04:57 -04:00
Al
b25682e761 [polygons/zones] Adding a polygon reader for OSM zones (named residential/commercial/industrial/military areas) which are closed ways and can be used in addresses e.g. in office parks, larger housing complexes, etc. 2016-07-21 17:04:57 -04:00
Al
f79a3c5bf4 [osm/polygons] Allowing polygons that GEOS claims are invalid in OSM polygon index (there were some glaring omissions from the index like the polygons for the UK or Berlin). For some reason .buffer(0) creates weird multipolygons that no longer contain their centroids, etc. and aren't useful in reverese geocoding 2016-01-17 15:43:21 -05:00
Al
58e53cab1c [scripts] Adding the tokenize/normalize wrappers directly into the internal geodata package so pypostal can be maintained in an independent repo 2016-01-12 13:29:31 -05:00
Al
c8e4602d4c [fix] Neighborhoods reverse geocoder discriminates between OSM matched with Zetashapes and OSM matched with Quattroshapes 2015-11-30 10:59:50 -05:00
Al
b0667d0032 [fix] only care about levels in Quattroshapes index, not Zetashapes 2015-11-26 23:45:50 -05:00
Al
0eb0042826 [fix] Same in neighborhoods reverse geocoder lookups 2015-11-26 14:17:17 -05:00
Al
4cff1f8a9d [fix] Quattroshapes neighborhoods index uses geohashes for slightly better coverage 2015-11-26 12:45:54 -05:00
Al
98d8054a2b [polygons/quattroshapes] Converting Quattroshapes lookups to an R-tree index 2015-11-25 19:37:57 -05:00
Al
8a8e45f2a6 [fix] filenames 2015-11-25 18:08:04 -05:00
Al
bd88628a98 [polygons/quattroshapes] Removing local admin and neighborhoods from the Quattroshapes reverse geocoder since they're covered in neighborhoods 2015-11-25 18:06:14 -05:00
Al
04183c672e [fix] non-integer admin levels 2015-11-22 18:33:27 -05:00
Al
9fc60600dd [fix] OSM reverse geocoder polygon ordering 2015-11-20 14:49:37 -05:00
Al
130518fe58 [polygons] OSM reverse geocoder sort levels 2015-11-20 13:52:30 -05:00
Al
48a305c8c4 [fix] Reverting last two changes, have to fix on the OSM side 2015-11-01 16:23:41 -05:00
Al
90773294b9 [polygons] Only fixing polygons in cases with inner rings 2015-11-01 12:36:35 -05:00
Al
aba2c51e65 [fix] name 2015-11-01 01:35:01 -04:00
Al
1dbfc6a87b [polygons/neighborhoods] Not counting local admin polys unless they match OSM, fix for Paris arrondissements 2015-11-01 01:24:43 -04:00
Al
4fdaef2638 [fix] Don't need Quattroshapes dir for OSM Rtree 2015-10-31 19:08:04 -04:00
Al
0227d9335f [fix] Removing some debug code 2015-10-31 14:50:32 -04:00
Al
5882c2d64b [fix] command-line arg II 2015-10-31 14:25:17 -04:00
Al
66f8a2dc9e [fix] command-line arg 2015-10-31 14:24:23 -04:00
Al
e5d8812504 [fix] argument default 2015-10-31 14:23:37 -04:00
Al
f39090869e [fix] imports 2015-10-31 14:22:45 -04:00
Al
8166cd66c8 [fix] encoding yet again 2015-10-31 14:19:50 -04:00
Al
f473ff0dad [fix] encoding, different file 2015-10-31 14:18:47 -04:00
Al
a2eb40109c [fix] file encoding 2015-10-31 14:17:26 -04:00
Al
3e43ac7255 [polygons/osm] Adding a unified neighborhood reverse geocoder incorporating Zetashapes, OSM and Quattroshapes. Uses the new Soft TFIDF implementation to approximately match OSM names to Quattroshapes/Zetashapes names and geohash indices for more coarse point-in-polygon tests (OSM neighborhoods are stored as points not polygons, so need to match with a geometry from the other sources) 2015-10-31 14:15:39 -04:00
Al
d0aa3b9109 [polygons/osm] alt_name 2015-10-20 09:27:55 -04:00
Al
218eae548c [fix] logger 2015-10-20 06:43:51 -04:00
Al
e5129957f8 [osm/polygons] Add relation id to OSM reverse geocoder 2015-10-19 18:00:45 -04:00
Al
0d213e426a [fix] logger 2015-10-19 15:55:19 -04:00
Al
f5bd9b8371 [polygons/osm] logging during reverse geocoder construction 2015-10-19 15:54:07 -04:00
Al
83295b1b34 [polygons/osm] Adding in-memory OSM reverse geocoder for all admin boundaries 2015-10-19 15:38:23 -04:00
Al
f5bf7b8f2d [fix] ordering and reverse geocoder fields 2015-10-13 22:26:30 -04:00
Al
e7b1040a47 [polygons] Admin level constants, using transformed name as the sort key 2015-10-13 21:22:09 -04:00
Al
d151445dc3 [fix] class var 2015-10-13 20:46:12 -04:00
Al
4e34575ed2 [fix] name 2015-10-13 20:45:31 -04:00
Al
16e7046f7c [polygons] Aliasing names for various polygons types 2015-10-13 20:44:59 -04:00
Al
646ad64af8 [fix] A few Quattroshapes fixes 2015-10-13 17:52:21 -04:00
Al
e6fc405eb9 [fix] conversion errors 2015-10-13 12:47:50 -04:00