Re: [datameet] Converting maps in pdfs to actual shapefiles/geojsons

2022-12-01 Thread Vaidya
BWSSB line files in kml format have been hosted on Opencity (along with
original pdf) for anyone who wants to download:
Water line maps:
https://data.opencity.in/dataset/bwssb-water-supply-lines-map-of-bengaluru
Sewerage line maps:
https://data.opencity.in/dataset/bwssb-sewerage-line-maps-for-bengaluru

Thanks,
Vaidya


On Wed, Nov 30, 2022 at 4:30 PM Vaidya  wrote:

> Thanks Nikhil.
> This worked beautifully!
>
> -Vaidya
>
> On Wed, Nov 30, 2022 at 1:02 PM Nikhil VJ  wrote:
>
>> Hi Vaidya,
>>
>> You might be able to skip the manual tracing process that Devdatta linked
>> to 
>> and pull out vectors directly, if your PDFs are made that way.
>>
>> Rajesvari Parasa  has successfully
>> turned Delhi development plan's PDF into shapefiles.
>>
>> You can read the discussion about it here:
>> https://groups.google.com/g/datameet/c/37uN8xnWrK0/m/2axI7AB-AQAJ
>>
>> Relevant snippet:
>>
>> 1. Extracting from PDF
>> - It's one of those PDFs exported from Autocad or so where you can see
>> multi-layers and turn them on or off.
>> - Rajesvari used a command-line GIS tool called "ogr2ogr" to extract
>> individual layers from the PDF into .geojson shapefiles.
>> - There was a tricky bit where the output lat-longs were all like
>> (716882.20,3166456.28) - a different CRS and we didn't know which.
>> - I used http://projfinder.com/ to find it, then Rajesvari included CRS
>> conversion into the ogr2ogr commands to produce proper shapefiles.
>> - You can see all that in this repo:
>> https://github.com/draftmpd41/layers_draft_delhi_master_plan_2041 - see
>> the .bat file for the ogr2ogr commands
>>
>>
>>
>> --
>> Cheers,
>> Nikhil VJ
>> https://nikhilvj.co.in
>>
>>
>> On Wed, Nov 30, 2022 at 9:56 AM Devdatta Tengshe 
>> wrote:
>>
>>> Hi Vaidya,
>>>
>>> This excellent post by Nikhil would be a good starting point:
>>> https://groups.google.com/g/datameet/c/BGB-UeJqhpA/m/SFl4OgF9AgAJ
>>>
>>> Regards,
>>> Devdatta
>>>
>>>
>>> On Wed, 30 Nov 2022 at 08:49, Vaidya  wrote:
>>>
 Hi all,

 Wanted to know if it is possible to convert maps put out in pdfs to map
 files (shapefiles, geojsons or kml).
 This is regarding the sewage and water lines put out by BWSSB.
 The files can be found here:
 https://bwssb.karnataka.gov.in/info-2/BWSSB+GIS+MAP+Information/en

 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/CAHVy6PF4-%3DES_YWNgJEyi6c6G6GhMizB%2B4iL6Lm3HQjwAU8b9Q%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/CAOQOUMvSVZ6kpq3BQh8yB9FNKGeahBEjPsVnh2wOkRB7J%2BSPLQ%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/CAH7jeuNN4WO_-Q89pA01MBbc%3D38%3DR_uvhcpF2uAg5TD%2BY_5OdQ%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 

Re: [datameet] Converting maps in pdfs to actual shapefiles/geojsons

2022-11-30 Thread Vaidya
Thanks Nikhil.
This worked beautifully!

-Vaidya

On Wed, Nov 30, 2022 at 1:02 PM Nikhil VJ  wrote:

> Hi Vaidya,
>
> You might be able to skip the manual tracing process that Devdatta linked
> to 
> and pull out vectors directly, if your PDFs are made that way.
>
> Rajesvari Parasa  has successfully
> turned Delhi development plan's PDF into shapefiles.
>
> You can read the discussion about it here:
> https://groups.google.com/g/datameet/c/37uN8xnWrK0/m/2axI7AB-AQAJ
>
> Relevant snippet:
>
> 1. Extracting from PDF
> - It's one of those PDFs exported from Autocad or so where you can see
> multi-layers and turn them on or off.
> - Rajesvari used a command-line GIS tool called "ogr2ogr" to extract
> individual layers from the PDF into .geojson shapefiles.
> - There was a tricky bit where the output lat-longs were all like
> (716882.20,3166456.28) - a different CRS and we didn't know which.
> - I used http://projfinder.com/ to find it, then Rajesvari included CRS
> conversion into the ogr2ogr commands to produce proper shapefiles.
> - You can see all that in this repo:
> https://github.com/draftmpd41/layers_draft_delhi_master_plan_2041 - see
> the .bat file for the ogr2ogr commands
>
>
>
> --
> Cheers,
> Nikhil VJ
> https://nikhilvj.co.in
>
>
> On Wed, Nov 30, 2022 at 9:56 AM Devdatta Tengshe 
> wrote:
>
>> Hi Vaidya,
>>
>> This excellent post by Nikhil would be a good starting point:
>> https://groups.google.com/g/datameet/c/BGB-UeJqhpA/m/SFl4OgF9AgAJ
>>
>> Regards,
>> Devdatta
>>
>>
>> On Wed, 30 Nov 2022 at 08:49, Vaidya  wrote:
>>
>>> Hi all,
>>>
>>> Wanted to know if it is possible to convert maps put out in pdfs to map
>>> files (shapefiles, geojsons or kml).
>>> This is regarding the sewage and water lines put out by BWSSB.
>>> The files can be found here:
>>> https://bwssb.karnataka.gov.in/info-2/BWSSB+GIS+MAP+Information/en
>>>
>>> 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/CAHVy6PF4-%3DES_YWNgJEyi6c6G6GhMizB%2B4iL6Lm3HQjwAU8b9Q%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/CAOQOUMvSVZ6kpq3BQh8yB9FNKGeahBEjPsVnh2wOkRB7J%2BSPLQ%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/CAH7jeuNN4WO_-Q89pA01MBbc%3D38%3DR_uvhcpF2uAg5TD%2BY_5OdQ%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/CAHVy6PGZu%3DbVuYtL3VeCVdVDkyNRivjkMH8q-M%2Bx7G3MdVscFQ%40mail.gmail.com.


Re: [datameet] Converting maps in pdfs to actual shapefiles/geojsons

2022-11-29 Thread Nikhil VJ
Hi Vaidya,

You might be able to skip the manual tracing process that Devdatta linked to
 and
pull out vectors directly, if your PDFs are made that way.

Rajesvari Parasa  has successfully
turned Delhi development plan's PDF into shapefiles.

You can read the discussion about it here:
https://groups.google.com/g/datameet/c/37uN8xnWrK0/m/2axI7AB-AQAJ

Relevant snippet:

1. Extracting from PDF
- It's one of those PDFs exported from Autocad or so where you can see
multi-layers and turn them on or off.
- Rajesvari used a command-line GIS tool called "ogr2ogr" to extract
individual layers from the PDF into .geojson shapefiles.
- There was a tricky bit where the output lat-longs were all like
(716882.20,3166456.28) - a different CRS and we didn't know which.
- I used http://projfinder.com/ to find it, then Rajesvari included CRS
conversion into the ogr2ogr commands to produce proper shapefiles.
- You can see all that in this repo:
https://github.com/draftmpd41/layers_draft_delhi_master_plan_2041 - see the
.bat file for the ogr2ogr commands



--
Cheers,
Nikhil VJ
https://nikhilvj.co.in


On Wed, Nov 30, 2022 at 9:56 AM Devdatta Tengshe 
wrote:

> Hi Vaidya,
>
> This excellent post by Nikhil would be a good starting point:
> https://groups.google.com/g/datameet/c/BGB-UeJqhpA/m/SFl4OgF9AgAJ
>
> Regards,
> Devdatta
>
>
> On Wed, 30 Nov 2022 at 08:49, Vaidya  wrote:
>
>> Hi all,
>>
>> Wanted to know if it is possible to convert maps put out in pdfs to map
>> files (shapefiles, geojsons or kml).
>> This is regarding the sewage and water lines put out by BWSSB.
>> The files can be found here:
>> https://bwssb.karnataka.gov.in/info-2/BWSSB+GIS+MAP+Information/en
>>
>> 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/CAHVy6PF4-%3DES_YWNgJEyi6c6G6GhMizB%2B4iL6Lm3HQjwAU8b9Q%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/CAOQOUMvSVZ6kpq3BQh8yB9FNKGeahBEjPsVnh2wOkRB7J%2BSPLQ%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/CAH7jeuNN4WO_-Q89pA01MBbc%3D38%3DR_uvhcpF2uAg5TD%2BY_5OdQ%40mail.gmail.com.


Re: [datameet] Converting maps in pdfs to actual shapefiles/geojsons

2022-11-29 Thread Devdatta Tengshe
Hi Vaidya,

This excellent post by Nikhil would be a good starting point:
https://groups.google.com/g/datameet/c/BGB-UeJqhpA/m/SFl4OgF9AgAJ

Regards,
Devdatta


On Wed, 30 Nov 2022 at 08:49, Vaidya  wrote:

> Hi all,
>
> Wanted to know if it is possible to convert maps put out in pdfs to map
> files (shapefiles, geojsons or kml).
> This is regarding the sewage and water lines put out by BWSSB.
> The files can be found here:
> https://bwssb.karnataka.gov.in/info-2/BWSSB+GIS+MAP+Information/en
>
> 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/CAHVy6PF4-%3DES_YWNgJEyi6c6G6GhMizB%2B4iL6Lm3HQjwAU8b9Q%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/CAOQOUMvSVZ6kpq3BQh8yB9FNKGeahBEjPsVnh2wOkRB7J%2BSPLQ%40mail.gmail.com.


[datameet] Converting maps in pdfs to actual shapefiles/geojsons

2022-11-29 Thread Vaidya
Hi all,

Wanted to know if it is possible to convert maps put out in pdfs to map
files (shapefiles, geojsons or kml).
This is regarding the sewage and water lines put out by BWSSB.
The files can be found here:
https://bwssb.karnataka.gov.in/info-2/BWSSB+GIS+MAP+Information/en

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/CAHVy6PF4-%3DES_YWNgJEyi6c6G6GhMizB%2B4iL6Lm3HQjwAU8b9Q%40mail.gmail.com.