scraperwiki / geojson-tool

GeoJSON Tool on ScraperWiki
2 stars 0 forks source link

Polygon #14

Closed drj11 closed 10 years ago

drj11 commented 10 years ago

This isn't necessarily finished, but it is in a state where @IanHopkinson should be able to look at it. If you think it's okay to merge, then please do so. Similarly, feel free to continue working on the branch in my absence.

IanHopkinson commented 10 years ago

I note that initial testing was with this file: http://eric.clst.org/wupl/Stuff/gz_2010_us_040_00_20m.json It seems to work in Tableau, it turns out that some US states are a funnier shape than I realised!

I also tried out this data: http://ckan.it.ox.ac.uk/storage/f/2013-10-12T13%3A15%3A16.832Z/ne-countries-110m.json Linked from here: http://ckan.it.ox.ac.uk/dataset/geojson-by-country-code

This seems not to work for some countries because they are described by multipolygon.

IanHopkinson commented 10 years ago

Not handling multipolygon explains why some states are missing in first example

IanHopkinson commented 10 years ago

Multipolygon elements now added: image Small problems with Antarctica in the http://ckan.it.ox.ac.uk/storage/f/2013-10-12T13%3A15%3A16.832Z/ne-countries-110m.json data: image