Dear Arun:

Can you help me understand this by downloading, processing attributes, and sharing the village layer for one state--say Madhya Pradesh?

I may be asking too much, but in fact if this method for downloading village shapefiles from Bhuvan is feasible, it would be great to complete the repository of village boundary shapefiles started by Thejesh and other datameet folks.

Sharad


On 28-10-2018 11:58, Arun Ganesh wrote:
The various village/taluk shapefile layers are available in the Bhuvan GeoServer layer listing:

http://bhuvannuis.nrsc.gov.in/bhuvan/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.MapPreviewPage

Search for 'vill' for village boundaries by state. Search for 'taluk' for all taluk boundaries. Note that the page gives a timeout error if you take more than a few seconds and you need to start over. Since WFS export is disabled, you can use the GeoRSS option to download the shape.

The one issue is that the attributes are encoded as an html string and needs to be parsed out. Nikhil has a great python script to do this: https://github.com/answerquest/asi-monuments-xml2csv/blob/master/asi-monuments2.ipynb but needs to be customized for each layer.



On Fri, May 11, 2018 at 1:48 PM Sharad Lele <sharad.l...@gmail.com <mailto:sharad.l...@gmail.com>> wrote:

    Hi Thejesh:

    Did you ever manage to convert the data into a polygon file? I
    could not follow the technical intricacies of what you were
    discussing with Palash, but certainly the original json file
    posted by him did not contain the polygons and could not be
    imported into QGIS. Do you now have one which can be? And is it
    good quality?

    Sharad

    On Friday, January 20, 2017 at 6:24:51 PM UTC+5:30, Thejesh GN wrote:

        Imported into mongo to do some initial analysis[1].

        Will do some more analysis.


        > db.states.count()
        36
        > db.districts.count()
        672
        > db.taluks.count()
        5960
        > db.villages.count()
        522291




        [1]
        https://gist.github.com/thejeshgn/ea0074077b6fcd6c0108b2a4380fc354

        Thej
        --
        Thejesh GN *⏚* ತೇಜೇಶ್ ಜಿ.ಎನ್
        http://thejeshgn.com
        GPG ID :  0xBFFC8DD3C06DD6B0

        On 20 January 2017 at 17:03, Palash Kulshrestha
        <tricky...@gmail.com> wrote:

            Hi Thejesh
            Thanks for the heads up, I wasn't aware of the underlying
            architecture which is used in geo systems. So wasn't able
            to understand the layers data. And now I am able to
            understand how they come up with polygon on the map. Other
            wise I was thinking that they somehow came up random
            shapes using min max x,y.

            I'm looking into the new api that you have provided and
            see what I can come up with. I ll update. Any advice?

            On Friday, January 20, 2017 at 4:54:47 PM UTC+5:30,
            Thejesh GN wrote:

                @Palash Kulshrestha
                Let me know if you downloaded the shapes too.


                The accuracy isn't bad for a national level project

                
https://gist.github.com/thejeshgn/2b50ce7fe45287152f55941bd8d76869





                Thej
                --
                Thejesh GN *⏚* ತೇಜೇಶ್ ಜಿ.ಎನ್
                http://thejeshgn.com
                GPG ID :  0xBFFC8DD3C06DD6B0

                On 20 January 2017 at 16:47, Thejesh GN
                <i...@thejeshgn.com> wrote:

                    Ah

                    
https://ncog.gov.in/garvgis/admin/getTalukaWiseVillageBoundary?districtId=572&talukaId=05545&villageId=613256

                    Gives

                    
{"gid":438129,"vilNameSoi":"KAMMASANDRA","stateId":"29","distId":"572","subdistId":"05545","villageId":"613256","villageName":"Kammasandra","minx":77.68262864449315,"miny":12.824103451365033,"maxx":77.69996896356992,"maxy":12.841455112691222}


                    Then you get the actual layer using

                    
https://ncog.gov.in/garvgis/admin/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=cite:Village2014&PROPERTYNAME=the_geom,VIL_2011,VIL_NAME11&CQL_FILTER=VIL_2011=%27613256%27&maxFeatures=50&outputFormat=json

                    
{"type":"FeatureCollection","totalFeatures":1,"features":[{"type":"Feature","id":"Village2014.438129","geometry":{"type":"MultiPolygon","coordinates":[[[[77.7,12.8348],[77.6995,12.8326],[77.699,12.8305],[77.6983,12.828],[77.6978,12.8262],[77.697,12.8259],[77.6961,12.8255],[77.6951,12.825],[77.6935,12.8243],[77.6929,12.8241],[77.6893,12.8251],[77.6884,12.8253],[77.6871,12.8258],[77.6826,12.8271],[77.6829,12.8288],[77.6841,12.8313],[77.684,12.8333],[77.6838,12.8351],[77.685,12.8374],[77.6856,12.8384],[77.6863,12.84],[77.687,12.8415],[77.6885,12.8394],[77.6896,12.8392],[77.6916,12.8384],[77.6935,12.8379],[77.6954,12.8373],[77.6963,12.8369],[77.697,12.8364],[77.6979,12.8358],[77.6989,12.8351],[77.7,12.8348]]]]},"geometry_name":"the_geom","properties":{"VIL_2011":"613256","VIL_NAME11":"Kammasandra"}}],"crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG::4326"}}}









                    Thej
                    --
                    Thejesh GN *⏚* ತೇಜೇಶ್ ಜಿ.ಎನ್
                    http://thejeshgn.com
                    GPG ID :  0xBFFC8DD3C06DD6B0

                    On 20 January 2017 at 16:43, Thejesh GN
                    <i...@thejeshgn.com> wrote:

                        Seems to have only the following data for each
                        village. Dont know what minx, maxx etc are. Is
                        geo layer stored separately

                        
{"gid":14741,"vilNameSoi":"KAJLA","stateId":"19","distId":"344","subdistId":"02465","villageId":"343022","villageName":"Kajla",
                        
"minx":87.37861784203545,"miny":22.159016472923042,"maxx":87.38472569821403,"maxy":22.162844638588865,"type":"village"}

                        Thej
                        --
                        Thejesh GN *⏚* ತೇಜೇಶ್ ಜಿ.ಎನ್
                        http://thejeshgn.com
                        GPG ID :  0xBFFC8DD3C06DD6B0

                        On 20 January 2017 at 14:22, Palash
                        Kulshrestha <tricky...@gmail.com> wrote:

                            Hi Surtirtha, Sharad, Devdatta

                            I 've extracted all available data of
                            indian subcontinent and stored it in json
                            file
                            
https://drive.google.com/file/d/0B8ZjiDWHZ1j-S0taUzRwYmt2NG8/view?usp=sharing

                            It is till village level. I hope that its
                            put to some use for greater good.

                            On Monday, June 13, 2016 at 11:33:01 PM
                            UTC+5:30, Sutirtha wrote:

                                Dear everyone: I am not sure if
                                someone in the group has looked at
                                this website:
                                https://ncog.gov.in/garvgis/admin/gisModule.


                                If one zooms in on the map
                                sufficiently, the website gives
                                district>sub-district>village
                                polygons. I do not have the skills to
                                pull out them out into .shp file but I
                                am hoping that someone in the group
                                might have the time and resources to
                                kindly take a look at it.

                                Best,
                                SR



-- 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.




-- 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.


-- 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+unsubscr...@googlegroups.com
    <mailto:datameet+unsubscr...@googlegroups.com>.
    For more options, visit https://groups.google.com/d/optout.

--
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 a topic in the Google Groups "datameet" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/datameet/XTF4_P-nxU8/unsubscribe. To unsubscribe from this group and all its topics, send an email to datameet+unsubscr...@googlegroups.com <mailto:datameet+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

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

Reply via email to