Re: [datameet] Any guide on how to scrape from leaflet maps

2023-01-22 Thread Vivek Matthew
Hi Vaidya,

I had come across this BWSSB site a couple of weeks back and found that 
it's missing a couple of STPs, including large ones like the 60MLD Hebbal 
STP and smaller ones like the one near Halasuru. From what I've seen, 
OpenStreetMap has better coverage of STP locations (and in some cases 
internal details) in the BWSSB region, so if you're still interested in 
BWSSB STP data, you might want to check the data on OpenStreetMap. This 
Overpass query should get you all the STPs in the BMRDA 
region: https://overpass-turbo.eu/s/1qto

Regards,
Vivek

On Monday, 12 December 2022 at 14:48:32 UTC+5:30 vaidyan...@gmail.com wrote:

> Found it, thanks!
>
> On Mon, Dec 12, 2022 at 2:43 PM Devdatta Tengshe  
> wrote:
>
>> Hi Vaidya,
>>
>> There isn't a single way to send data to a map built with leaflet, and 
>> there could be several different ways this could be done.
>>
>> Looking at the page you have mentioned, they have hardcoded the data in 
>> hidden input tags in the HTML itself, it should be straightforward to copy 
>> the data to a text file, and get the locations.
>>
>> Look in the source code for hidden input tags with names such as hid_1, 
>> hid_2 and so on.
>>
>>
>> Regards,
>> Devdatta
>>
>>
>> On Mon, 12 Dec 2022 at 14:36, Vaidya  wrote:
>>
>>> Am trying to get data of STP locations from this site:
>>> http://stpp.bwssb.gov.in/default.aspx
>>>
>>> Has anyone tried scraping from leaflet maps into shape files and written 
>>> a guide?
>>>
>>> Thanks,
>>> Vaidya
>>>
>>> -- 
>>> 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/CAHVy6PEnvZ%2Bt4qhODXmRgrrXrhHR5aAQR9OP3e_6TFauPvB3pg%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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/CAOQOUMtegTzKe%3DUaUdw34JTNO%2BnjxD9BVRDODQDo1jqddD_h%3Dg%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/977313b8-2d66-4c65-917b-cc220b786bd1n%40googlegroups.com.


Re: [datameet] Any guide on how to scrape from leaflet maps

2022-12-12 Thread Vaidya
Found it, thanks!

On Mon, Dec 12, 2022 at 2:43 PM Devdatta Tengshe 
wrote:

> Hi Vaidya,
>
> There isn't a single way to send data to a map built with leaflet, and
> there could be several different ways this could be done.
>
> Looking at the page you have mentioned, they have hardcoded the data in
> hidden input tags in the HTML itself, it should be straightforward to copy
> the data to a text file, and get the locations.
>
> Look in the source code for hidden input tags with names such as hid_1,
> hid_2 and so on.
>
>
> Regards,
> Devdatta
>
>
> On Mon, 12 Dec 2022 at 14:36, Vaidya  wrote:
>
>> Am trying to get data of STP locations from this site:
>> http://stpp.bwssb.gov.in/default.aspx
>>
>> Has anyone tried scraping from leaflet maps into shape files and written
>> a guide?
>>
>> Thanks,
>> Vaidya
>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/datameet/CAHVy6PEnvZ%2Bt4qhODXmRgrrXrhHR5aAQR9OP3e_6TFauPvB3pg%40mail.gmail.com
>> 
>> .
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/CAOQOUMtegTzKe%3DUaUdw34JTNO%2BnjxD9BVRDODQDo1jqddD_h%3Dg%40mail.gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAHVy6PFER0LzTy-9qs0gv94GvyiZanEAM91Lp1ZkV9U23tzARw%40mail.gmail.com.


Re: [datameet] Any guide on how to scrape from leaflet maps

2022-12-12 Thread Devdatta Tengshe
Hi Vaidya,

There isn't a single way to send data to a map built with leaflet, and
there could be several different ways this could be done.

Looking at the page you have mentioned, they have hardcoded the data in
hidden input tags in the HTML itself, it should be straightforward to copy
the data to a text file, and get the locations.

Look in the source code for hidden input tags with names such as hid_1,
hid_2 and so on.


Regards,
Devdatta


On Mon, 12 Dec 2022 at 14:36, Vaidya  wrote:

> Am trying to get data of STP locations from this site:
> http://stpp.bwssb.gov.in/default.aspx
>
> Has anyone tried scraping from leaflet maps into shape files and written a
> guide?
>
> Thanks,
> Vaidya
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/datameet/CAHVy6PEnvZ%2Bt4qhODXmRgrrXrhHR5aAQR9OP3e_6TFauPvB3pg%40mail.gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAOQOUMtegTzKe%3DUaUdw34JTNO%2BnjxD9BVRDODQDo1jqddD_h%3Dg%40mail.gmail.com.


[datameet] Any guide on how to scrape from leaflet maps

2022-12-12 Thread Vaidya
Am trying to get data of STP locations from this site:
http://stpp.bwssb.gov.in/default.aspx

Has anyone tried scraping from leaflet maps into shape files and written a
guide?

Thanks,
Vaidya

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/datameet/CAHVy6PEnvZ%2Bt4qhODXmRgrrXrhHR5aAQR9OP3e_6TFauPvB3pg%40mail.gmail.com.