Re: [Qgis-user] Extract Layers from an online web map

2021-04-17 Thread Andrea Giudiceandrea
David Strip-4 wrote > I believe the geojson spec also requires an newline after the closing > bracket. The .js just reaches EOF which is an error, at least in the > on-line validator. > In simpler words - your file must end with a blank line. It seems to me that if you download the us-states.js f

Re: [Qgis-user] Extract Layers from an online web map

2021-04-17 Thread David Strip
Andrea Giudiceandrea wrote > https://leafletjs.com/examples/choropleth/us-states.js > Just download it, edit the file with a text editor and remove the string > "var statesData = " at the beginning and the semi colon ";" at the end, and > then you will be able to import and visualise it

Re: [Qgis-user] Extract Layers from an online web map

2021-04-17 Thread David Strip
On 4/17/2021 12:41 AM, Andrea Giudiceandrea wrote: David Stri wrote you can examine the source code for the page and find the geojson files and download them to your disk and then convert them to shapefiles. Hi, it seems examini

Re: [Qgis-user] Extract Layers from an online web map

2021-04-17 Thread Andrea Giudiceandrea
Andrea Giudiceandrea wrote > https://leafletjs.com/examples/choropleth/us-states.js Just download it, edit the file with a text editor and remove the string "var statesData = " at the beginning and the semi colon ";" at the end, and then you will be able to import and visualise it in QGIS. Ragard

Re: [Qgis-user] Extract Layers from an online web map

2021-04-17 Thread Andrea Giudiceandrea
David Strip-4 wrote > you can examine the source code for the page and find the > geojson files and download them to your disk and then convert them > to shapefiles. Hi, it seems examining the source code of the page is not needed. The geojson data file is directly available on the page,

Re: [Qgis-user] Extract Layers from an online web map

2021-04-16 Thread David Strip
On 4/16/2021 4:42 PM, krishna Ayyala wrote: Hello, I am reposting this question. Is it possible to export this map as a shape file?  Regards. The layers in the leaflet map you linked to are represe

Re: [Qgis-user] Extract Layers from an online web map

2021-04-16 Thread Jeff Sonnentag
for the general idea: https://duckduckgo.com/?t=ffab&q=youtube+qgis+raster+to+vector&ia=web From: Qgis-user On Behalf Of krishna Ayyala Sent: Friday, April 16, 2021 3:42 PM To: qgis-user Subject: [Qgis-user] Extract Layers from an online web map Hello, I am reposting this question

[Qgis-user] Extract Layers from an online web map

2021-04-16 Thread krishna Ayyala
Hello, I am reposting this question. Is it possible to export this map as a shape file? Regards. Interactive Choropleth Map - Leaflet - a JavaScript library for interactive maps (leafletjs.com) ___ Qgis-user

[Qgis-user] Extract Layers from an online web map.

2021-04-16 Thread krishna Ayyala
Hello, Is it possible to export this map as a shape file? Preferably one shapefile/layer for each color range? Following is the weblink. Regards. Interactive Choropleth Map - Leaflet - a JavaScript library for interactive maps (leafletjs.com) _