18F / eiti-data

[WIP] EITI data and maps for DOI
http://18f.github.io/eiti-data/
Creative Commons Zero v1.0 Universal
4 stars 2 forks source link

Alaskan offshore areas produce invalid polygons #4

Closed shawnbot closed 9 years ago

shawnbot commented 9 years ago

Update: This appears to be a TopoJSON issue. The presence of the Alaskan offshore areas in the offshore topology (which includes all 4 regions: Alaskan, Atlantic, Gulf and Pacific) causes TopoJSON to do weird things when converting the geometries to GeoJSON polygons.

This appears to be a reprojection artifact, since regenerating the TopoJSON from the original Shapefiles eliminates the offset. However, the resulting TopoJSON also has geometry issues that prevent us from being able to render them as clickable regions, so we need a fix that addresses both problems.

shawnbot commented 9 years ago

Full issue described in mbostock/d3#2434.

shawnbot commented 9 years ago

For now I've left Alaskan offshore areas out of the offshore.json input file.