Re: [datameet] Re: Census of India seems to have maps of everything!

2015-10-30 Thread nishadh


1. Python codes can be used for converting those json files into shape 
files. Using geopandas library the task is simple for such a large number 
of files, the code goes as follows,

import geopandas as gpd
import glob
from geopandas import GeoDataFrame

jsn=glob.glob("/home/me/raw-json-102-241/*.json")
#getting the list of json file in the folder

df1=pd.DataFrame()
for js in jsn:
dd = gpd.read_file(js)
dd1=dd[[u'DIST_NAME', 'NAME', 'OBJECTID','STAT_NAME', u'TEHS_NAME', u
'geometry']]
df1=df1.append(dd1)

#looping over each json file and opening it with geopandas cool tool 
read_file(json)

db1 = GeoDataFrame(df1, columns=[u'DIST_NAME', 'NAME', 'OBJECTID',
'STAT_NAME', u'TEHS_NAME', u'geometry'], index=df1.index)

#organizing the looped shape formats and converting into geodataframe
#now saving the shape file!
db1.to_file('v102-241.shp',driver='ESRI Shapefile')

2. There is a web map service(WMS) for this same data (I am little sure!) 
2001 census map upto village/town level. See this link for more 
info http://gis.stackexchange.com/a/115876 to use that WMS in QGIS. Here 
also the data is not available in readily usable format, it is available in 
raster format (aka pdf format!).  

3. I think the RTI can be stress it out for shape files or form of data 
which can be "used" not only for simple "view". Moreover the RTI can be 
more emphasis to the demand on already published data as pdf files/WMS such 
as village or town level map, as the ward level map is not published, it 
can raise the denial of RTI. 

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


Re: [datameet] Re: bihar pre delimitation AC shapefiles

2015-10-30 Thread Chandrashekhar Raman
Thank you dileep.. Will check this out as well. 

Btw tried the one that Dev shared and that seems to be pretty good as well. 
Just one AC missing - i think govindpur

Regards
Cs

Sent from my iPhone

> On 30-Oct-2015, at 12:17 PM, Dilip Damle  wrote:
> 
> The predetermination data was available fro download from the Election 
> commission website itself.
> I had kept it safely.
> 
> Here it is. There is a known problem about the placement of Uttarakhand in 
> one of the sets.
> 
> 
>> On Wednesday, October 28, 2015 at 11:43:58 AM UTC+5:30, Chandrashekhar Raman 
>> wrote:
>>  does anyone have access to pre-delimitation assembly constituency 
>> shapefiles of Bihar.. i.e 2005 backwards. much appreciate if can be shared.
>> 
>> thanks
>> cs
> 
> -- 
> 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.
> 

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


Re: [datameet] Re: Census of India seems to have maps of everything!

2015-10-30 Thread Sharad Lele [शरच्चंद्र लेले]

Here is an update from my colleague who tried to get these maps:

/I called Delhi folks. Apparently, town with ward boundary maps are not 
available for public dissemination at the moment for any state. He asked 
me to purchase the state map book (which is available online) for the 
all the maps they have. /


Clearly, RTI is called for.
Sharad

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


Re: [datameet] Re: Census of India seems to have maps of everything!

2015-10-30 Thread Thejesh GN
http://mapshaper.org/

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

On 30 October 2015 at 12:59, Dilip Damle  wrote:

> Hi,
> What would be the easiest way to convert the json files to Shapefile
>
>
> On Wednesday, October 28, 2015 at 1:10:22 PM UTC+5:30, nishadh wrote:
>>
>> Dear Sharad,
>>
>> 1. Sorry, the statement-ward level is wrong, it is village or town level.
>> I was referring to "Town code/Village code"
>> in census data, which is marked in the pdf maps and it is the lowest
>> level, unique code in the map.
>> The ward level data in census tables (population enumeration tables or
>> house listing tables)
>> doesn't has a unique code and is linked with Town code/Village code as
>> its serial numbers.
>>
>> 2. Regarding the shape file, this link would be a good start for 2001
>> census data village map
>> https://archive.org/details/IndiaVillageBoundaries. Though incomplete,
>> the data has boundary for some 2,80,000 villages.
>>
>>
>> Regards,
>> Nishadh
>>
>>
>> On Wednesday, October 28, 2015 at 7:57:10 AM UTC+5:30, Sharad Lele wrote:
>>>
>>> Dear Nishadh;
>>>
>>> Many thanks for pointing us to this link, where the 2011 pdf maps have
>>> now been uploaded.
>>>
>>> 1. I could not find any urban ward-level boundaries in the pdf. I only
>>> see taluk-wise or tehsil-wise maps in which village boundaries are
>>> shown, and also the urban area is marked as a whole. But no ward
>>> boundaries within the urban area. Am I missing something?
>>>
>>> 2. About shapefile: Ah! this is the eternal battle! As I said in an
>>> earlier post, census MUST be having all these boundaries digitized, and
>>> has in fact boasted in an internal presentation that they have
>>> sub-ward-level maps. But they refuse to acknowledge that when we
>>> approach them. Maybe someone should file an RTI.
>>>
>>> Till then we have to take the shapefiles we have (such as the one I
>>> posted for Karnataka) and update them using the pdf as a guide. (crude).
>>>
>>> Sharad
>>>
>>>
>>> On 27-10-2015 19:41, nishadh wrote:
>>> > This link
>>> http://www.censusindia.gov.in/2011census/maps/atlas/administrative_atlas.html
>>> has (but in pdf!) census data map linked by the unique codes upto the
>>> lowest ward level. Any way to avail in shape file?
>>> >
>>>
>>>
>> On Wednesday, October 28, 2015 at 7:57:10 AM UTC+5:30, Sharad Lele wrote:
>>>
>>> Dear Nishadh;
>>>
>>> Many thanks for pointing us to this link, where the 2011 pdf maps have
>>> now been uploaded.
>>>
>>> 1. I could not find any urban ward-level boundaries in the pdf. I only
>>> see taluk-wise or tehsil-wise maps in which village boundaries are
>>> shown, and also the urban area is marked as a whole. But no ward
>>> boundaries within the urban area. Am I missing something?
>>>
>>> 2. About shapefile: Ah! this is the eternal battle! As I said in an
>>> earlier post, census MUST be having all these boundaries digitized, and
>>> has in fact boasted in an internal presentation that they have
>>> sub-ward-level maps. But they refuse to acknowledge that when we
>>> approach them. Maybe someone should file an RTI.
>>>
>>> Till then we have to take the shapefiles we have (such as the one I
>>> posted for Karnataka) and update them using the pdf as a guide. (crude).
>>>
>>> Sharad
>>>
>>>
>>> On 27-10-2015 19:41, nishadh wrote:
>>> > This link
>>> http://www.censusindia.gov.in/2011census/maps/atlas/administrative_atlas.html
>>> has (but in pdf!) census data map linked by the unique codes upto the
>>> lowest ward level. Any way to avail in shape file?
>>> >
>>>
>>> --
> 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.
>

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


Re: [datameet] Re: Census of India seems to have maps of everything!

2015-10-30 Thread Dilip Damle
Hi, 
What would be the easiest way to convert the json files to Shapefile

On Wednesday, October 28, 2015 at 1:10:22 PM UTC+5:30, nishadh wrote:
>
> Dear Sharad,
>
> 1. Sorry, the statement-ward level is wrong, it is village or town level. 
> I was referring to "Town code/Village code" 
> in census data, which is marked in the pdf maps and it is the lowest 
> level, unique code in the map. 
> The ward level data in census tables (population enumeration tables or 
> house listing tables) 
> doesn't has a unique code and is linked with Town code/Village code as its 
> serial numbers.
>
> 2. Regarding the shape file, this link would be a good start for 2001 
> census data village map 
> https://archive.org/details/IndiaVillageBoundaries. Though incomplete, 
> the data has boundary for some 2,80,000 villages.
>
>
> Regards,
> Nishadh
>
>
> On Wednesday, October 28, 2015 at 7:57:10 AM UTC+5:30, Sharad Lele wrote:
>>
>> Dear Nishadh; 
>>
>> Many thanks for pointing us to this link, where the 2011 pdf maps have 
>> now been uploaded. 
>>
>> 1. I could not find any urban ward-level boundaries in the pdf. I only 
>> see taluk-wise or tehsil-wise maps in which village boundaries are 
>> shown, and also the urban area is marked as a whole. But no ward 
>> boundaries within the urban area. Am I missing something? 
>>
>> 2. About shapefile: Ah! this is the eternal battle! As I said in an 
>> earlier post, census MUST be having all these boundaries digitized, and 
>> has in fact boasted in an internal presentation that they have 
>> sub-ward-level maps. But they refuse to acknowledge that when we 
>> approach them. Maybe someone should file an RTI. 
>>
>> Till then we have to take the shapefiles we have (such as the one I 
>> posted for Karnataka) and update them using the pdf as a guide. (crude). 
>>
>> Sharad 
>>
>>
>> On 27-10-2015 19:41, nishadh wrote: 
>> > This link 
>> http://www.censusindia.gov.in/2011census/maps/atlas/administrative_atlas.html
>>  
>> has (but in pdf!) census data map linked by the unique codes upto the 
>> lowest ward level. Any way to avail in shape file? 
>> > 
>>
>>
> On Wednesday, October 28, 2015 at 7:57:10 AM UTC+5:30, Sharad Lele wrote:
>>
>> Dear Nishadh; 
>>
>> Many thanks for pointing us to this link, where the 2011 pdf maps have 
>> now been uploaded. 
>>
>> 1. I could not find any urban ward-level boundaries in the pdf. I only 
>> see taluk-wise or tehsil-wise maps in which village boundaries are 
>> shown, and also the urban area is marked as a whole. But no ward 
>> boundaries within the urban area. Am I missing something? 
>>
>> 2. About shapefile: Ah! this is the eternal battle! As I said in an 
>> earlier post, census MUST be having all these boundaries digitized, and 
>> has in fact boasted in an internal presentation that they have 
>> sub-ward-level maps. But they refuse to acknowledge that when we 
>> approach them. Maybe someone should file an RTI. 
>>
>> Till then we have to take the shapefiles we have (such as the one I 
>> posted for Karnataka) and update them using the pdf as a guide. (crude). 
>>
>> Sharad 
>>
>>
>> On 27-10-2015 19:41, nishadh wrote: 
>> > This link 
>> http://www.censusindia.gov.in/2011census/maps/atlas/administrative_atlas.html
>>  
>> has (but in pdf!) census data map linked by the unique codes upto the 
>> lowest ward level. Any way to avail in shape file? 
>> > 
>>
>>

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