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

asia_110m.json and asia_50m.json has some deformations #19

Open
reza1615 opened this issue Apr 5, 2020 · 1 comment
Open

asia_110m.json and asia_50m.json has some deformations #19

reza1615 opened this issue Apr 5, 2020 · 1 comment

Comments

@reza1615
Copy link

reza1615 commented Apr 5, 2020

asia_110m.json
asia_50m.json
world_50m.json
world_110m.json
has deformations. Open them in GitHub or http://geojson.io/ you will see.
image
image
image
Also I reprted this issue in the plotly/plotly.js#4730

@etpinard
Copy link
Owner

etpinard commented Apr 5, 2020

Thanks for posting!

Looks like geojson.io doesn't like polygons that cross the anti-merdian. Other renderers (e.g d3.js) handle these just fine (at least, the last time I checked).

I'm not aware of a generally-accepted way to describe polygons that cross the anti-merdian, so I'm not sure how we can fix this fairly for every renderer. At present, sane-topojson is intended to be used with d3.js.

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

2 participants