Covid19india-react: Update all district shapefiles (JSONs)

Created on 30 Mar 2020  路  13Comments  路  Source: covid19india/covid19india-react

We are using old district boundaries for most states. Telangana, West Bengal, Manipur, Gujarat, Maharashtra to name a few. This is causing both name mismatch problems and missing data

Solution
We have access to district boundaries from 2019, we can replace the JSONs we are using with new ones. The new JSONs also match well with the district names reference we are using for data collection.

Should resolve related issues like #253 and #256

Geography In Progress

Most helpful comment

@shuklaayush @JunaidBabu @sudevschiz
Almost all of the topojsons are available now in the repo link above. Will finalize Tamil Nadu and the remaining states of northeast once we have the latest available.

@sivaanil - these are community led efforts that are more or less manual in nature. See projects.datameet.org/maps/ for more (although we still have to update the datameet repositories with the latest)

All 13 comments

Can you share the json files we can fix this easily

Yes, on it

Latest json files are available here: https://github.com/guneetnarula/indian-district-boundaries/tree/master/topojson/state-wise

In my last PR, jsons for Andhra Pradesh, J&K and Ladakh were integrated. So use the others for now. I'll upload the remaining within a day.

@guneetnarula Little curious May I know from where can you get these files ?

@shuklaayush @JunaidBabu @sudevschiz
Almost all of the topojsons are available now in the repo link above. Will finalize Tamil Nadu and the remaining states of northeast once we have the latest available.

@sivaanil - these are community led efforts that are more or less manual in nature. See projects.datameet.org/maps/ for more (although we still have to update the datameet repositories with the latest)

Thank you for the info @guneetnarula

I noticed Gwalior District and Datiya District map in Madhya Pradesh state are not showing correctly, Not sure if I need to file a seperate issue or it is taken care by Json file udpate. the official map is hosted at http://geoportal.mp.gov.in/DistrictPortal.aspx . Both district you will find in north of Madhya Pradesh map. The Covid19india site is showing incorrectly.

Several maps are not scaled and translated with the actual GIS boundaries.
Tamil Nadu, for instance. I tried playing around with the transform.scale and transform.translate values, but it is very difficult to determine the correct position by trial and error.

Any clues how to do this easily?

@psunthar d3 has fitSize/fitExtent methods for this purpose

I noticed Gwalior District and Datiya District map in Madhya Pradesh state are not showing correctly, Not sure if I need to file a seperate issue or it is taken care by Json file udpate. the official map is hosted at http://geoportal.mp.gov.in/DistrictPortal.aspx . Both district you will find in north of Madhya Pradesh map. The Covid19india site is showing incorrectly.

@limshark Is it correct here: https://github.com/guneetnarula/indian-district-boundaries/blob/master/topojson/state-wise/madhyapradesh.json ?

@guneetnarula , yes, both the district Gwalior and Datiya looks correct in https://github.com/guneetnarula/indian-district-boundaries/blob/master/topojson/state-wise/madhyapradesh.json .

Hey @jeremyphilemon @shuklaayush just uploaded another batch of jsons. Covers all union territories and remaining northeast states. Only MZ and TN are left now. Needs some work. https://github.com/guneetnarula/indian-district-boundaries/tree/master/topojson/state-wise

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iDhruv22 picture iDhruv22  路  6Comments

mohammedrehan275 picture mohammedrehan275  路  6Comments

Vaibhav2812 picture Vaibhav2812  路  4Comments

soumiknandi picture soumiknandi  路  4Comments

Cryptonex7 picture Cryptonex7  路  6Comments