Location of all protected heritage monuments in India

557 views
Skip to first unread message

Arun Ganesh

unread,
Oct 13, 2018, 5:24:55 PM10/13/18
to datameet
Does anyone have a shapefile of all the protected monuments in the country? 

The Wikipedia editors have done a wonderful job of compiling a comprehensive list of ASI and state protected monuments but this lacks location information. There are also an amazing collection of free photographs thanks to the Wiki Loves Monuments photo contest 

Only recently discovered quite a few monuments within Mumbai that i never knew existed and such a dataset can help promote more awareness of our cultural treasures. It's a shame that this information is not more easily accessible.


Sashikumar N

unread,
Oct 15, 2018, 2:20:13 AM10/15/18
to datameet
Bhuvan has a WMS layer of all ASI monuments, please check

Arun Ganesh

unread,
Oct 15, 2018, 4:01:03 AM10/15/18
to datameet
On Mon, Oct 15, 2018 at 11:50 AM Sashikumar N <sashik...@gmail.com> wrote:
Bhuvan has a WMS layer of all ASI monuments, please check


Its fantastic to browse around and should be shared more widely. Is there a way to get the features as vectors?

Naveen Francis

unread,
Oct 16, 2018, 3:22:51 AM10/16/18
to datameet
Hello,

Bhuvan culture monument is website is released under NDSAP
Quality data is perfect. 
We have used scraped data for heritage walk in 2016 

Scraped data for national monuments from Kerala and MP

State govt monument list in Wikipedia is not comprehensive. 
Data was collected way back in 2010 by ASI is used in Wikipedia. 
Recent additions/deletions are not there in ASI website. 
State govts archaeology websites are not mentioned properly

Thanks
naveenpf

Sashikumar N

unread,
Oct 16, 2018, 3:29:56 AM10/16/18
to datameet
Scrapping WMS layer is not possible, (i don't know if there is a way to do it). But if your interest is only few entities, you can use 'Tools' -> 'Draw'  to mark/draw and download them as shapefile from the Bhuvan itself. 

Arun Ganesh

unread,
Oct 16, 2018, 5:12:43 AM10/16/18
to datameet

They have disabled WFS so its not possible to download the shapefiles, but it looks the WMS GeoRSS output gives the vectors in an xml format. 


The file opens great in Qgis, but the feature properties are formatted as an HTML list. If this can be cleaned up, we can have the exact shapefiles.

--
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.
For more options, visit https://groups.google.com/d/optout.

Nikhil VJ

unread,
Oct 17, 2018, 12:35:34 AM10/17/18
to datameet
Here you go,


It's in a CSV now and you can drag-drop it on geojson.io for preview, and convert it to other formats from there.

All metadata encountered in the xml is saved in respective columns.

The python script used is there too, in a jupyter notebook (.ipynb) file. Github will display it nicely.

-Nikhil VJ
Pune, India

Sashikumar N

unread,
Oct 17, 2018, 1:27:47 AM10/17/18
to datameet
HI Nikhil,
Cool and neat solution, Thankyou. just a quick question, what if the WMS layer is a line or polygon, what has to be changed in the python script?

regards
sashi

Arun Ganesh

unread,
Oct 17, 2018, 1:31:58 PM10/17/18
to datameet
Excellent Nikhil! 

Yesterday was playing with the Bhuvan WMS layers and built a simple interface to explore the data: https://publicmap.github.io/bites/asi-map/

With these shapefiles, no longer have to rely on the really slow Bhuvan layers. Going to hack on this in my spare time.


Naveen Francis

unread,
Oct 17, 2018, 10:45:38 PM10/17/18
to datameet

Nikhil VJ

unread,
Oct 29, 2018, 12:07:32 AM10/29/18
to data...@googlegroups.com
Hi All,

Devdatta posted on another thread a python program he made for converting even lines and polygons to .geojson format and it extracts the metadata too.

Coincidentally I was also making something along the same lines over the weekend and didn't notice the update there.
So here's another path up the mountain:

We've worked with different libraries, and I'm posting mine too for these reasons:
- I've used a 'feedparser' module that does most of the grunt work of converting the XML to geojson formatted objects. Which gave me time to:
- Used geojson and geojson_utils packages that can be taken forward for programmatically doing GIS-type operations like merging separated parts into multi-polygon (which is something mentioned about Bhuvan's data), computing distance and area, detecting intersections etc
- Parsed the numbers in the metadata even if they're like: "-3.34e-4". So the output .geojson shapefile has numeric fields if the metadata was carrying it, one can directly use them to render choropleth etc. See a bad example.
- Did a "right hand rule" rectification that was needed to produce valid GeoJSON that checks out on geojsonlint.com . (not critical but some places still need it)
- Save an additional CSV where the metadata is laid out in a neat table, and if it's a point locations file, then the csv will have lat-long columns and can be used directly for mapping, like I did with the asi-monuments data previously.

I've made it in a python 3 Jupyter Notebook; We could make this into a user-friendly website or a EXE program that runs on windows, but that will take some work. Contact if interested.


Extra: 
1. Here's a site that makes embeddable choropleth maps without coding needed, and can import the numbers from outside: https://app.datawrapper.de (yes, QGIS can do it too, but single-task-focus brings user-friendliness)
2. And here are two sites that convert shapefiles between various formats: http://ogre.adc4gis.com, https://geoconverter.hsr.ch/ (they don't rescue the trapped metadata of course, that's peculiar to Bhuvan)


--
Cheers,
Nikhil VJ
+91-966-583-1250
Pune, India
http://nikhilvj.co.in

Nikhil VJ

unread,
Nov 4, 2018, 1:04:25 PM11/4/18
to data...@googlegroups.com
Hi, 

I came across http://gk.historic.place/ , a historic places map/atlas that runs on historical places data saved in OpenStreetMap. It needs the proper tags to be set in OSM to recognize them.
It would be cool to import all or parts of this ASI monuments dataset to OSM and make it appear on that global map of historical places.

I'm not doing it, just putting the idea out there for interested folks to take up. It may also make a cool project.
Here's a blog post explaining what to do. (Forgive the php error messages on the page, scroll down for the content), 

Addendum:
Just cross-posting again from the other thread, Arun has made a QGIS script that does the job of extracting Bhuvan's metadata out to columns from within QGIS itself.
Here's his script with instructions, and here's the message thread where it's posted.
Reply all
Reply to author
Forward
0 new messages