Re: [Qgis-user] hide vector under raster?

2018-05-29 Thread Nicolas Cadieux
Hi,

If you are having crashes, try on 2.18 to see if you have the same problem.  
Are you using on the fly reprojection?  If your vector file is not in the same 
format as the raster, the reprojection is probably taking all the time.  Try 
saving in an other format like spatialite that is more efficient than shp.  
Copy the file on a local disk and not a file server.  Make a new project with 
only the raster and the vector files to make try and isolate the crash problem. 
 Disable all plugins.

Perhaps the control rendering order in the layer order panel can help?  Not 
sure, I don’t use that.

Nicolas

> Le 29 mai 2018 à 09:00, Tobias Wendorff  a 
> écrit :
> 
> Hi Bernhard,
> 
> Am Di, 29.05.2018, 14:42 schrieb Bernhard Ströbl:
>> 1) You have a vector layer with _many_ features
> 
> Exactly.
> 
>> 2) You do not want to have it rendered because it takes so long to render
> 
> Exactly.
> 
>> 3) You want to query this layer
> 
> Exactly.
> 
>> 4) When you zoom out QGIS crashes when using the no symbols renderer
> 
> Actually, it doesn't crash because of no symbols renderer. It just
> takes so long to load the vector data that QGIS doesn't respond
> anymore. When I click somewhere into QGIS after 10-15 minutes, Windows
> told me that the app crashed and that I have to restart it.
> 
>> Questions: What kind of layer is this: DataProvider? geometryType?
> 
> 24 shapefiles, polygon grid with 100 x 100 meters
> 
>> Which version of QGIS are you using?
> 
> QGIS3 (tested stable release and nightly)
> 
>> Does QGIS crash when zooming out while you use a simple renderer?
> 
> Same behavior: it doesn't respond after some minutes.
> There's no difference between no symbols and simple renderer.
> 
> Best,
> Tobias
> 
> ___
> 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] hide vector under raster?

2018-05-29 Thread Tobias Wendorff
Hi Bernhard,

Am Di, 29.05.2018, 14:42 schrieb Bernhard Ströbl:
> 1) You have a vector layer with _many_ features

Exactly.

> 2) You do not want to have it rendered because it takes so long to render

Exactly.

> 3) You want to query this layer

Exactly.

> 4) When you zoom out QGIS crashes when using the no symbols renderer

Actually, it doesn't crash because of no symbols renderer. It just
takes so long to load the vector data that QGIS doesn't respond
anymore. When I click somewhere into QGIS after 10-15 minutes, Windows
told me that the app crashed and that I have to restart it.

> Questions: What kind of layer is this: DataProvider? geometryType?

24 shapefiles, polygon grid with 100 x 100 meters

> Which version of QGIS are you using?

QGIS3 (tested stable release and nightly)

> Does QGIS crash when zooming out while you use a simple renderer?

Same behavior: it doesn't respond after some minutes.
There's no difference between no symbols and simple renderer.

Best,
Tobias

___
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] hide vector under raster?

2018-05-29 Thread Bernhard Ströbl

Hi Tobias,
I did not really get what you want to achieve. Let me put it in my words 
(this is what I understand)

1) You have a vector layer with _many_ features
2) You do not want to have it rendered because it takes so long to render
3) You want to query this layer
4) When you zoom out QGIS crashes when using the no symbols renderer

Questions: What kind of layer is this: DataProvider? geometryType?
Which version of QGIS are you using?
Does QGIS crash when zooming out while you use a simple renderer?

Bernhard

Am 29.05.2018 um 14:25 schrieb Tobias Wendorff:

Hi there,

Am Di, 29.05.2018, 14:17 schrieb Karl Magnus Jönsson:


How about using the no symbols renderer in the style tab in Layer
properties? Wouldn't that do?


I just had the same idea, but no... when zooming out, QGIS crashes
after some minutes (even on a big machine).

I really miss "join table to raster" function from ArcGIS, but I
don't have enough money to donate the function to QGIS :(

Best regards,
Tobias

___
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





__ Information from ESET Mail Security, version of virus signature 
database 17464 (20180529) __

The message was checked by ESET Mail Security.
http://www.eset.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] hide vector under raster?

2018-05-29 Thread Karl Magnus Jönsson
Hi!
How about using the no symbols renderer in the style tab in Layer properties? 
Wouldn't that do?

Regards

Karl-Magnus Jönsson

-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Tobias Wendorff
Skickat: den 29 maj 2018 13:08
Till: qgis-user@lists.osgeo.org
Ämne: [Qgis-user] hide vector under raster?

Hi there,

is it possible to hide a vector layer under a raster layer?

The "click through" identify function allows to query data from the
vector, but on each zoom the vector layer gets rendered completely
again. Sure, it makes use of an spatial index, but since there are
many vector elements, it takes a while.

I tried to hide the vector layer using visibility at fixed scale,
but then it's not possible to query it...

Best regards,
Tobias

___
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] hide vector under raster?

2018-05-29 Thread Tobias Wendorff
Hi there,

Am Di, 29.05.2018, 14:17 schrieb Karl Magnus Jönsson:
>
> How about using the no symbols renderer in the style tab in Layer
> properties? Wouldn't that do?

I just had the same idea, but no... when zooming out, QGIS crashes
after some minutes (even on a big machine).

I really miss "join table to raster" function from ArcGIS, but I
don't have enough money to donate the function to QGIS :(

Best regards,
Tobias

___
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] hide vector under raster?

2018-05-29 Thread Tobias Wendorff
Hi there,

is it possible to hide a vector layer under a raster layer?

The "click through" identify function allows to query data from the
vector, but on each zoom the vector layer gets rendered completely
again. Sure, it makes use of an spatial index, but since there are
many vector elements, it takes a while.

I tried to hide the vector layer using visibility at fixed scale,
but then it's not possible to query it...

Best regards,
Tobias

___
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