Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta data issues with shape files #1

Open
jillesvangurp opened this issue Jul 9, 2013 · 0 comments
Open

meta data issues with shape files #1

jillesvangurp opened this issue Jul 9, 2013 · 0 comments

Comments

@jillesvangurp
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant