foursquare / quattroshapes

Other
231 stars 18 forks source link

meta data issues with shape files #1

Open jillesvangurp opened 11 years ago

jillesvangurp commented 11 years ago

I've been playing with the quatroshapes shapefiles a bit. It seems there are a few issues with the shape files. I'm using gadl to convert them to json and kml:

ogr2ogr -f geoJSON qs_adm0.json qs_adm0.shp ogr2ogr -f kml qs_adm0.kml qs_adm0.shp

I've seen the following issues: 1) in some cases ids come out as doubles with a .0 (or multiple zeros in the kml) added. This looks like an issue with ogr2ogr. However I only see it in some files. adm0 is fine but neighborhoods are not. This might indicate some issue in your data pipeline. 2) I've seen some cases where they are rendered using the E notation even, which makes converting back to long ids a bit tedious. 3) some ids have negative values; this seems to affect e.g. the Caribbean island Sint Maarten which has a woe id of -90???. 4) some polygons have no id at all 5) only about 4654 polygons have woeids

Are you guys planning to release a new set of shape files with more ids? Also, even though I can guess the meaning of most fields in the shape files, a definition of all the values would be quite handy.

BTW. I'm actually trying to construct a graph of connected locations with polygons, ids, and translations. This will be the backbone for http://localstre.am together with a lot of open street map data.