And if you need to find which ward does a location is situated, you can use
point_in_poly function.
some_place_lat=19.1645972
some_place_lon=72.8496286
for id in range(len(r.shapes())):
geom = r.shape(id)
if point_in_poly(some_place_lon, some_place_lat, geom.points):
print r.records()[id][2]
This is a loop that considers all wards and checks if the given location
(some_place) falls within it. The above code will return "P/S" (P south)
which I guess is correct. The function point_in_poly can be found here...
https://gist.github.com/shantanuo/05187dd23b96f5e92f6b
-- Shantanu
On Wednesday, 13 January 2016 18:16:36 UTC+5:30, Devdatta Tengshe wrote:
>
> HI Abhay,
>
> Are you looking for Municipal wards? If so, here is the data.
>
>
> Regards,
> Devdatta
>
> On Tue, Jan 12, 2016 at 7:10 PM, Abhay Singh <[email protected]
> <javascript:>> wrote:
>
>>
>> hi
>> I am student of TISS, and working on project where i need mumbai
>> shapefile ward wise.
>> If anyone have can please share.
>>
>> Thanks and regards
>>
>> Abhay
>>
>> --
>> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.