fraxen / tectonicplates

Other
148 stars 138 forks source link

GeoJson split on International Date Line #3

Open vasturiano opened 6 years ago

vasturiano commented 6 years ago

First of all thanks so much for compiling this data, it is very useful!

I'm using the GeoJson format to build this example of volcanoes overlapping with tectonic plates: https://bl.ocks.org/vasturiano/3c27138769a04d1780562ce04afbedf2

It works great, except that the shapes that cross the International date line (lon: 180deg), seem to be split into two sections, causing the shape stroke to show a vertical line along the 180 meridian.

You can see it in the example by rotating the globe to the IDL.

It's not a huge deal, but just wanted to bring it up in case there's an easy fix. :)

adamjstewart commented 3 years ago

I also noticed this. Some plates, like AU and PA are coded as MULTIPOLYGONs, while others like KE and BR have two separate POLYGON entries. It isn't hard to manually merge these entries, but it would be better if things were more consistent.