d3 / d3-geo

Geographic projections, spherical shapes and spherical trigonometry.

Home Page:https://d3js.org/d3-geo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect map of India is rendered

harora-ot opened this issue · comments

The below image shows a map drawn using this library version 1.11.3
The map of India is incorrect and does not show the disputed areas of Kashmir. To use such a map is insensitive towards the Indian population. This should be corrected to reflect the disputed areas with Pakistan and China. The dotted lines need to be drawn, they are significant to a lot of people.

image

D3 doesn’t provide any geographic boundaries, so this data is coming from elsewhere. You might be looking at something from Natural Earth Data, but I can’t tell from a screenshot alone.

https://github.com/nvkelso/natural-earth-vector

Here is a link for refrence. Any pointers on how to tweak this? Editing states.json ?
http://embed.plnkr.co/i2eLwxweLJhuUgTuOS4x/

@harora-ot The first step is finding out where states.json comes from in that example. That example does not cite any source for that data file.

The next step is finding a data source for boundaries that fits your needs. Maybe find an online map that has the boundaries you would expect to see, then research what data source they are using.

Also, Natural Earth does provide disputed boundaries, which you could pull into the map to highlight them.

https://www.naturalearthdata.com/downloads/50m-cultural-vectors/

image

Good luck!

Thanks, appreciate the direction given. I Will circle back once I am able to sort this