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 represented by
geojson files. These files are downloaded to your browser, so in
principle 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. You would still need to recreate the styling.
  

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


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

2021-04-16 Thread Jeff Sonnentag
I haven’t ever done it before, but if I was going to try I would attempt to 
follow the directions here:

https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/gdal/rasterconversion.html?highlight=convert%20raster%20vector#polygonize-raster-to-vector

Then I’d watch some of these videos 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.

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 mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[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 mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Cannot add cloud optimised GeoTIFF (COG) as raster layer

2021-04-16 Thread Andrea Giudiceandrea
jcabieces wrote
> It works for me with current QGIS master if I paste this exact url in URI
> with HTTP/HTTPS/FTP
> type : http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

Hi,
I can also add and display the raster layer in QGIS adding it using Data
Source Manager | Raster as:

Source Type: Protocol: HTTP(S)...
URI: http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

OR

Source Type: File
Raster dataset(s): /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif


Anyway, if the problem is the presence of a proxy, maybe the relevant
GDAL_*PROXY env vars should be set.
See
https://gdal.org/user/virtual_file_systems.html#vsicurl-http-https-ftp-files-random-access
and
https://gdal.org/user/configoptions.html#list-of-configuration-options-and-where-they-apply

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/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) 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Issue with How Selected Features are Displayed When Overlapping

2021-04-16 Thread Thayer Young
 Hi Calvin,
I also agree this is a pain. 
I think the official response to this problem is to right click on the feature 
in the attribute table and select "Flash Feature" which flashes the feature in 
red. I usually use transparency when things overlap. If that is not good enough 
alone, you can combine it with rule based symbology. For example, everything is 
opaque until something is selected, then only the selected feature is opaque 
and the rest are for example 30% opaque:
100% opacity rule:  (is_selected() AND num_selected( ) > 0) OR num_selected() = 
030% opacity   rule:  not is_selected() AND num_selected( ) > 0
But this won't work if you have different layers that are obscuring each other.
-Thayer


>Date: Thu, 15 Apr 2021 13:38:39 -0400
>From: C Hamilton 
>To: Nicolas Cadieux 
>Cc: qgis-user ,  qgis-developer
    
>Subject: Re: [Qgis-user] Issue with How Selected Features are
    Displayed When Overlapping
>Message-ID:
    
>Content-Type: text/plain; charset="utf-8"

>If there is a large cluster of points obscuring the selected point, even
>that method will not work.

>Has there been any interest in changing this behavior in QGIS?

On Thu, Apr 15, 2021 at 11:46 AM Nicolas Cadieux <
njacadieux.git...@gmail.com> wrote:

> Hi,
> Indeed... I usually select a thicker line for feature that are below. This
> way, I can see the selection even if it?s hidden.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 15 avr. 2021 ? 11:14, C Hamilton  a ?crit :
>
> ?
> I have a user complaint with QGIS who explained that when point features
> overlap and one is selected from  the attribute table but is underneath
> other features, you cannot see it highlighted because it is covered by
> other points. Is there any way to have it show that there is a highlighted
> feature there even though it is underneath non-highlighted features? In
> ArcMap the highlights are always shown on the top level of the canvas even
> if they are covered by non-highlighted features.
>
> I tested this in QGIS and the user was correct.
>
> Thanks,
>
> Calvin
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis low CPU and Memory load

2021-04-16 Thread Wolfgang Meinolf
Thanks for the excellent feedback and hints. First of all, my QGIS qork is 
mainly with vector layers. Therefore unfortunately the OpenCL capabilities 
don’t help. To my understanding this is mainly for accelerating heavy raster 
calculations. Secondly and as already mentioned, my most urgent need is to 
accelerate the execution of GRASS v.net.steiner and v.clean as part of my 
toolbox processing scripts for a number of given route networks in separate 
areas.

However, on you feedback I searched a bit and found, that obviously  since 
QGIS3 some parallelization seems to be supported. In the developers coockbook 
here: 
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/tasks.html#task-from-a-processing-algorithm
  I found some promising info including the link to here: 
https://www.opengis.ch/2018/06/22/threads-in-pyqgis3/. I will spend some time 
to modify my loop through my separate network areas to try, to start python 
jobs from inside the loop, which are then collected at the end.

Thanks again for your good ideas and have a good weekend
Br
Wolfgang
-

Hi,

You can also activate the OpenCL option.  Some algorithms have been optimized 
(I believe it’s still experimental).  If you have a compatible  OpenCL video 
card, it will run these on the card.  If not, it can probably run on compatible 
CPUs.

https://www.itopen.it/opencl-acceleration-now-available-in-qgis/

I find it’s worth testing equivalent algorithms from different sources in the 
Processing plugin is worth the trouble.  Some Saga algorithm are faster.  
Merging vector lines, for example, could take a long time using the QGIS 
algorithm (talking hours) and was much faster (a few minutes) using the Saga 
version of the tool.  I also found that some algorithms are much faster to 
handle when the files are not open beforehand in the layer manager.  For 
example, the Processing plugin can sometimes grab the needed files directly on 
the hard drive rather than picking one that is already open in the layer 
manager. Looking at the processor, memory and disk usage can also help identify 
bottle necks in the hardware.
Nicolas Cadieux
https://gitlab.com/njacadieux


Le 16 avr. 2021 à 03:34, Francesco Pelullo 
mailto:f.pelu...@gmail.com>> a écrit :


Il ven 16 apr 2021, 02:56 Stewart Holt 
mailto:stewartbh...@gmail.com>> ha scritto:
 Parallelizing script execution is complex and I doubt that it is currently 
done in QGIS.

That's true.

In Settings / Options / Rendering / there's a checkbox for render layers in 
parallel using as many CPU cores you want, but It Is enabled by default so I 
suppose that there are no others settings that could make QGIS more aggressive 
in CPU usage.

Regards



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


smime.p7s
Description: S/MIME cryptographic signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Google map images better on iDevice that in Qgis?

2021-04-16 Thread tija...@yahoo.fr

Hi,
You'd better try the QuickMapServices plugin, wich result better than 
Open Layers plugin ...

Jean

Le 16/04/2021 à 13:30, Steve Research a écrit :

I am using Web>OpenLayers Plugin>Google Maps to deliver the data and can’t see 
anything there so set these details.

I will follow these links to see what that looks like.


On 16 Apr 2021, at 01:29, Jeff Sonnentag  wrote:

Are you using the XYZ Tiles for Google Earth image loading?

If so, that is also what I have been using and you can set the minimum 
and maximum zoom level.  In order to get exported maps to look OK I set the minimum to 18 and maximum to 19.  Based on what I gather from reading other people's suggestions I think adjusting the dpi for the output image 
changes what tiles are loaded in.  But you can force it to use just one zoom level of tiles.  I export everything at 300 dpi to use just to make sure things look OK for color printing and PDFs exported from report files.


This is the URL I have entered for Google Satellite as an XYZ Connection:

http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}

Just looking at the other settings now I see there are 2 options for the Tile 
Resolution: 256x256/96 dpi and 512x512/192 dpi  (so I might play with those 
sometime to see what changes)

I still always have to go to Google Earth to compare and see exactly what month 
and year the tiles are coming from.


-Original Message-
From: Qgis-user  On Behalf Of Steve 

Research

Sent: Thursday, April 15, 2021 9:56 AM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Google map images better on iDevice that in Qgis?

Hi,
I am trying to use Google ‘satellite view’ to give me a photo image in my maps. The resolution in Qgis (or a PC browser) is much less clear than in the g Google Maps app on an iPhone. Does anyone know 

how to get the same hi res imaging as I see on my iPad?

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis low CPU and Memory load

2021-04-16 Thread Nicolas Cadieux
Hi,

You can also activate the OpenCL option.  Some algorithms have been optimized 
(I believe it’s still experimental).  If you have a compatible  OpenCL video 
card, it will run these on the card.  If not, it can probably run on compatible 
CPUs. 

https://www.itopen.it/opencl-acceleration-now-available-in-qgis/

I find it’s worth testing equivalent algorithms from different sources in the 
Processing plugin is worth the trouble.  Some Saga algorithm are faster.  
Merging vector lines, for example, could take a long time using the QGIS 
algorithm (talking hours) and was much faster (a few minutes) using the Saga 
version of the tool.  I also found that some algorithms are much faster to 
handle when the files are not open beforehand in the layer manager.  For 
example, the Processing plugin can sometimes grab the needed files directly on 
the hard drive rather than picking one that is already open in the layer 
manager. Looking at the processor, memory and disk usage can also help identify 
bottle necks in the hardware.  

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 16 avr. 2021 à 03:34, Francesco Pelullo  a écrit :
> 
> 
> 
> 
> Il ven 16 apr 2021, 02:56 Stewart Holt  ha scritto:
>>  Parallelizing script execution is complex and I doubt that it is currently 
>> done in QGIS.
> 
> 
> That's true.
> 
> In Settings / Options / Rendering / there's a checkbox for render layers in 
> parallel using as many CPU cores you want, but It Is enabled by default so I 
> suppose that there are no others settings that could make QGIS more 
> aggressive in CPU usage.
> 
> 
> Regards
> 
> 
> 
>> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Google map images better on iDevice that in Qgis?

2021-04-16 Thread Tiago Moraes Silva
This (Quickmapservices) has the same result then Google earth. RegardsEm 16 de abr. de 2021 08:53, tija...@yahoo.fr escreveu:Hi,
You'd better try the QuickMapServices plugin, wich result better than 
Open Layers plugin ...
Jean
Le 16/04/2021 à 13:30, Steve Research a écrit :
> I am using Web>OpenLayers Plugin>Google Maps to deliver the data and can’t see anything there so set these details.
>
> I will follow these links to see what that looks like.
>
>> On 16 Apr 2021, at 01:29, Jeff Sonnentag  wrote:
>>
>> Are you using the XYZ Tiles for Google Earth image loading?
>>
>> If so, that is also what I have been using and you can set the minimum 
and maximum zoom level.  In order to get exported maps to look OK I set the minimum to 18 and maximum to 19.  Based on what I gather from reading other people's suggestions I think adjusting the dpi for the output image 
changes what tiles are loaded in.  But you can force it to use just one zoom level of tiles.  I export everything at 300 dpi to use just to make sure things look OK for color printing and PDFs exported from report files.
>>
>> This is the URL I have entered for Google Satellite as an XYZ Connection:
>>
>> http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}
>>
>> Just looking at the other settings now I see there are 2 options for the Tile Resolution: 256x256/96 dpi and 512x512/192 dpi  (so I might play with those sometime to see what changes)
>>
>> I still always have to go to Google Earth to compare and see exactly what month and year the tiles are coming from.
>>
>>
>> -Original Message-
>> From: Qgis-user  On Behalf Of Steve 
Research
>> Sent: Thursday, April 15, 2021 9:56 AM
>> To: qgis-user@lists.osgeo.org
>> Subject: [Qgis-user] Google map images better on iDevice that in Qgis?
>>
>> Hi,
>> I am trying to use Google ‘satellite view’ to give me a photo image in my maps. The resolution in Qgis (or a PC browser) is much less clear than in the g Google Maps app on an iPhone. Does anyone know 
how to get the same hi res imaging as I see on my iPad?
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Google map images better on iDevice that in Qgis?

2021-04-16 Thread Steve Research
I am using Web>OpenLayers Plugin>Google Maps to deliver the data and can’t see 
anything there so set these details.

I will follow these links to see what that looks like.

> On 16 Apr 2021, at 01:29, Jeff Sonnentag  wrote:
> 
> Are you using the XYZ Tiles for Google Earth image loading?
> 
> If so, that is also what I have been using and you can set the minimum and 
> maximum zoom level.  In order to get exported maps to look OK I set the 
> minimum to 18 and maximum to 19.  Based on what I gather from reading other 
> people's suggestions I think adjusting the dpi for the output image changes 
> what tiles are loaded in.  But you can force it to use just one zoom level of 
> tiles.  I export everything at 300 dpi to use just to make sure things look 
> OK for color printing and PDFs exported from report files.
> 
> This is the URL I have entered for Google Satellite as an XYZ Connection:
> 
> http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}
> 
> Just looking at the other settings now I see there are 2 options for the Tile 
> Resolution: 256x256/96 dpi and 512x512/192 dpi  (so I might play with those 
> sometime to see what changes)
> 
> I still always have to go to Google Earth to compare and see exactly what 
> month and year the tiles are coming from.
> 
> 
> -Original Message-
> From: Qgis-user  On Behalf Of Steve 
> Research
> Sent: Thursday, April 15, 2021 9:56 AM
> To: qgis-user@lists.osgeo.org
> Subject: [Qgis-user] Google map images better on iDevice that in Qgis?
> 
> Hi,
> I am trying to use Google ‘satellite view’ to give me a photo image in my 
> maps. The resolution in Qgis (or a PC browser) is much less clear than in the 
> g Google Maps app on an iPhone. Does anyone know how to get the same hi res 
> imaging as I see on my iPad?
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Cannot add cloud optimised GeoTIFF (COG) as raster layer

2021-04-16 Thread Julien Cabieces


Hi,

It works for me with current QGIS master if I paste this exact url in URI with 
HTTP/HTTPS/FTP
type : http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

Did you not add the /vsicurl in URI field ?

Else it's indeed an issue with your proxy settings. Could you try
somewhere there is no proxy, see if it works ? 

Kind regards,
Julien

> Hi,
>
> I have a DEM file http://latuviitta.kapsi.fi/data/dem10m/dem10.tif on my 
> server. GDAL can access it fine through /vsicurl/ as can be verified with
> gdalinfo /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
>
> However, I cannot add this URI as a raster layer by using a protocol like in 
> the tutorial https://www.cogeo.org/qgis-tutorial.html. The error message is:
> CRITICALInvalid Layer : GDAL provider Cannot open GDAL dataset 
> /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif:
>  Raster layer Provider is not valid (provider: gdal, URI: 
> /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
>
> I had the debugging tools open during my trials and it seems that QGIS did 
> not send any HTTP request. I am behind a proxy but I can access WMS and WMTS 
> services so my network settings seem to be right. The vrt file workaround did 
> not work either. What should I try next?
>
> I am using QGIS 3.18.1 from OSGeo4W.
>
> -Jukka Rahkonen-
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Cannot add cloud optimised GeoTIFF (COG) as raster layer

2021-04-16 Thread Rahkonen Jukka (MML)
Hi,

I have a DEM file http://latuviitta.kapsi.fi/data/dem10m/dem10.tif on my 
server. GDAL can access it fine through /vsicurl/ as can be verified with
gdalinfo /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

However, I cannot add this URI as a raster layer by using a protocol like in 
the tutorial https://www.cogeo.org/qgis-tutorial.html. The error message is:
CRITICALInvalid Layer : GDAL provider Cannot open GDAL dataset 
/vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif:
 Raster layer Provider is not valid (provider: gdal, URI: 
/vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

I had the debugging tools open during my trials and it seems that QGIS did not 
send any HTTP request. I am behind a proxy but I can access WMS and WMTS 
services so my network settings seem to be right. The vrt file workaround did 
not work either. What should I try next?

I am using QGIS 3.18.1 from OSGeo4W.

-Jukka Rahkonen-

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis low CPU and Memory load

2021-04-16 Thread Francesco Pelullo
Il ven 16 apr 2021, 02:56 Stewart Holt  ha scritto:

>  Parallelizing script execution is complex and I doubt that it is
> currently done in QGIS.
>

That's true.

In Settings / Options / Rendering / there's a checkbox for render layers in
parallel using as many CPU cores you want, but It Is enabled by default so
I suppose that there are no others settings that could make QGIS more
aggressive in CPU usage.

>
Regards



>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user