Pradhan Mantri Gram Sadak Yojana (PMGSY) data as GEOJSON files curated in the interest of data community.
Data source: http://omms.nic.in/ (Other details -> Facilities)
I updated district names in the PMGSY data to match the shapefiles.
Pick a state, download data for all districts as an excel file.
This is a one time step. I used covid19india's map files.
Pick only data-specific rows
import pandas as pd
# these are columns with no data but are artifacts from excel formatting
ignore_cols = ['Unnamed: 1', 'Unnamed: 14', 'Unnamed: 15']
df = pd.read_csv('state-file.xlsx')
# create a CSV
df.drop(ignore_cols, axis=1).to_csv('state-file.csv', index=False)
Import state map file into QGIS as a layer. Simply drop the map file directly into QGIS. This is more for reference to see how well the PMGSY data points map to the state regions.
To add PMGSY data, Layer -> Add Layer -> Add Delimited text layer
Select the csv file prepared above. Pick longitude for X and latitude for Y attributes. Some points may lie outside of the regions, I retained them (didn't delete anything).
Once the points layer is ready for export, right-click on the points layer -> Export -> Save Features as -> GeoJSON format, set a file name and export. I went with the default export options.
There are a few name mismatches between PMGSY data and the shapefiles. I assumed shapefiles names as ground truth and renamed PMGSY data accordingly.
If you notice a name mapping mismatch please reach out. I'll fix it.
- Nellore -> S.P.S. Nellore
- Kadapa -> Y.S.R. Kadapa
- Dibang Valley -> Upper Dibang Valley
- Kamale -> Kamle
- Pakke kessang -> Pakke Kessang
- Kamrup Rural -> Kamrup
- Kamrup Metro -> Kamrup Metropolitan
- N.C. Hills -> Dima Hasao
Biswanath, Charaideo, Hosai, Majuli, South Salmara Mankachar, West Karbi Anglong districts data isn't available yet on PMGSY.
Bilaspur is divided into Bilaspur and Gaurella Pendra Marwahi but united Bilaspur is present in the maps repository.
- Jagitial -> Jagtial
- Jayashankar Bhoopalapally -> Jayashankar Bhupalpally
- Komarambheem Asifabad -> Kumurambheem Asifabad
- Mahaboobnagar -> Mahabubnagar
- Ranga Reddy -> RangaReddy
- Yadadri Bhongiri -> Yadadri Bhuvanagiri
Hyderabad district data isn't available yet on PMGSY.
Maharashtra, Madhya Pradesh, Uttar Pradesh files are larger than 25 MB and hence aren't uploaded here.
- Andhra Pradesh - covid19india
- Telangana - Telangana open data portal
PMGSY data is shared under the Government Open Data License - India, link
Shapefiles are shared under MIT license (the entire repository is shared as such with no another license for maps)