PoK elevation data | India's center of mass

36 views
Skip to first unread message

Dilawar Singh

unread,
Jun 11, 2020, 3:33:20 PM6/11/20
to data...@googlegroups.com
Hi datameet,

I was browsing through my old repositories. I once computed the center of mass of the country using available elevation data (data is from here http://www.geonames.org/data-sources.html, this data does not have PoK). The image is attached. The center of mass lies very near to Jhansi without PoK. It is likely to shift to the north after adding PoK since the Himalayas are heavy!

I am keen on finishing this exercise with PoK elevation data. Do we have the elevation data of India in datameet repositories? If not, I can prepare such data by appending data from PK elevation data and send it via a PR or hand over the repository itself.

cheers,
--
Dilawar
NCBS Bangalore
main.py.png

Arun Ganesh

unread,
Jun 11, 2020, 5:32:36 PM6/11/20
to datameet
If you share your code it would be easier to understand what exactly you need.

My approach for this exercise would be to grab the SRTM dem data[1] and clip it to the India borders[2] using GDAL/QGIS.

What you then have is a gridded raster with each pixel representing the elevation at that point. It seems like that is all the data you would need for your computation right?


--
Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org
---
You received this message because you are subscribed to the Google Groups "datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datameet+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/datameet/CAM72-ZvCeZSC5yAZKxvjjpZcGT%3DuYWPFMdyMasoH8uN2Mks-jg%40mail.gmail.com.

Dilawar Singh

unread,
Jun 11, 2020, 10:46:09 PM6/11/20
to data...@googlegroups.com
Dear Arun

Thanks. [1] is exactly what I need. I didn't even know what to search for.

The code was unnecessary convolutied to post directly. It compares various sampling methods; I'll post a simplified version along with the results soon.

Thanks again,
   Dilawar



--
Dilawar
NCBS Bangalore

Dilawar Singh

unread,
Jun 14, 2020, 9:13:04 AM6/14/20
to datameet
First the results.

The center of mass (with given boundary and assuming uniform soil density) is at coordinates
http://www.openstreetmap.org/?mlon=79.4862&mlat=23.3822&zoom=8 (23.3822, 79.4842) while the centroid is at http://www.openstreetmap.org/?mlon=79.3426&mlat=28.6731&zoom=8 . Center of mass is north to centroid because Himalayas are heavy!

More technical details can be found here https://github.com/dilawar/map-india-center (still cleaning up).


india_com.png



I also created a data-set: a single GeoTIFF file with elevation profile of the country. This file is over 2.5GB and is hosted here https://figshare.com/articles/India_s_elevation_profile_in_a_GeoTIFF_file/12479306 . This profile is generated after merging downloaded tiles together and clipping it using boundaries of India downloaded from here https://github.com/datameet/maps/tree/master/Country .

The Github repository linked above has tiles from  http://srtm.csi.cgiar.org/srtmdata/ (thanks Arun). The pipeline is automated using cmake (version 3.4) and requires gdal, python3 and gawk to run. 

best,
   Dilawar

Natasha kalra

unread,
Jun 14, 2020, 2:15:33 PM6/14/20
to data...@googlegroups.com
Hi all

I am unable to find the Swach Sarvaekshan 2020 quater wise as well as the annual results. Can anyone share the link? PIB shares only the list of first 20 cities rank.

Thanks in advance
Natasha

--

Arun Ganesh

unread,
Jun 17, 2020, 7:42:40 AM6/17/20
to datameet
Nice to see you got it working Dilawar!

--
Datameet is a community of Data Science enthusiasts in India. Know more about us by visiting http://datameet.org
---
You received this message because you are subscribed to the Google Groups "datameet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datameet+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages