Re: [Qgis-user] Issue with joining attributes by location

2018-01-31 Per discussione Stefan Giese

Hi Neil,

just a note to  your link: if you provide shapefiles, you'll have to put 
at least 3 files: CC4a_RegionsSub.shp, CC4a_RegionsSub.dbf and 
CC4a_RegionsSub.shx. (shp contains the geometry, dbf the attributes and 
shx is the index between shp and dbf)..


best regards

stefan

Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant

FOSS Academy Kompaktkurs Winterschule 2018
Grundwissen zum Aufbau von Geodateninfrastrukturen mit Open-Source-Software
https://www.foss-academy.com/schulungstermine/kompaktkurs-winterschule

WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.gi...@wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
---

Am 01.02.2018 um 05:42 schrieb Berg, Neil:

Hi all,

I’m working with (1) a CSV file containing columns of “lat” and “lon” 
which represent grid cell centroids from a gridded model product over 
California (“loca_lat_lon.csv”), and (2) a shape file that carves up 
California into 12 distinct subregions (“CC4a_RegionsSub.shp”).


These files can be accessed here:

https://drive.google.com/drive/folders/1IUrpVSJYBRIoCS4vzGYK9sBEzdwZec-c?usp=sharing

I am trying to determine which grid cells reside in each of the 12 
subregions (or NA/NULL if outside all subregions) using Vector -> Data 
Management Tools -> Join Attributes by Location. I have specified my 
Target vector layer as loca_lat_lon.csv, the Join vector layer as 
CC4a_RegionsSub.shp, the Geometric predicate as “intersects”, and am 
taking attributes of the first located feature, and only keeping 
matching records.


The issue is that the returned joined layer assigns just 1 of the 12 
subregions, “Sierra Nevada Mountains”, to all grid cells, rather than 
different subregions (or None) to the cells.


The shape file has a CRS of NAD83/California Albers and the 
coordinates in the CSV file are simply WGS 84. I’ve tried resetting 
the latter CRS to NAD83/California Albers, but the same issue persists.


I’m using QGIS 2.18.14.

Any help is greatly appreciated. Thanks in advance!

Neil



___
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] Debian/Ubuntu repositories on qgis.org - https vs http

2018-01-31 Per discussione Jürgen E . Fischer
Hi Alister,

On Thu, 01. Feb 2018 at 12:56:32 +1300, Alister Hood wrote:
> It seems Richard is right - https://ubuntu.qgis.org/ubuntugis/ works and
> https://qgis.org/ubuntugis/ does not.
> But Jürgen reported that it does work for him, which is perplexing.

deb https://qgis.org/debian-nightly unstablemain

that works for me - just verified that it's not only apt-get update, but also
apt-get install (qgis.org points at a cloudflare)

> When I installed again later in the day (for a later version of Ubuntu),
> from http://qgis.org/ubuntugis-nightly/, I was having problems with the
> packages downloading quite slowly or timing out - I guess the server was
> overloaded. Perhaps the docs should mention both https://ubuntu.qgis.org/
> ubuntugis/ and http://qgis.org/ubuntugis/ if they are on different servers.

The docs shouldn't mention ubuntu.qgis.org (or any *.qgis.org; because
ubuntu.qgis.org is just one name to trigger the wildcard, that leads to the
actual server instead of going through cloudflare).

http://foo.qgis.org/ will work, while https://foo.qgis.org/ won't, because the
later will present the qgis.org certificate that doesn't cover the wildcards
(IIRC letsencrypt didn't support that at least when that was setup).


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP 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

[Qgis-user] Vector Intersection Tool Stalls at 0% (QGIS 2.18.15)

2018-01-31 Per discussione Terry Morse
I'm trying to intersect two vector polygon layers in 64-bit QGIS 2.18.15 on an up-to-date 64-bit Windows 7 laptop. The layers are:1) An Oregon coastal waters layer derived by subtracting an Oregon counties (land only) layer from an Oregon state boundary layer that includes Oregon's territorial waters, both downloaded from http://spatialdata.oregonexplorer.info/geoportal/.2) A west-coast U.S. territorial seas shapefile downloaded from http://spatialdata.oregonexplorer.info/geoportal/details;id=88d30176ef484fe989d97477c0568f2b and reprojected to CRS 2992 to match the first layer.My reason for doing this is that layer 1 includes the Columbia River, and I want just the open coastal waters off Oregon. The intersection should eliminate the inner waters. When I start the intersection tool using the Oregon layer as the input layer and the West Coast layer as the intersect layer and click the Run button, the log reads "Algorithm Intersection starting...", but that's as far as it gets. The dialogue box header says "Intersection (not responding)" and the progress bar never gets beyond 0%, even when I leave it running for several hours. I tried switching the order of the layers as input and intersect layer, but this didn't eliminate the problem (I didn't really expect it to.)Can anyone suggest a cause or cure for this problem? I've found reports of others having problems with intersection, but they are mostly in older versions of QGIS and involve incorrect or empty results, not a total stall out.Thank you,Terry Morse
___
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 joining attributes by location

2018-01-31 Per discussione Berg, Neil
Hi all,

I’m working with (1) a CSV file containing columns of “lat” and “lon” which 
represent grid cell centroids from a gridded model product over California 
(“loca_lat_lon.csv”), and (2) a shape file that carves up California into 12 
distinct subregions (“CC4a_RegionsSub.shp”).

These files can be accessed here:

https://drive.google.com/drive/folders/1IUrpVSJYBRIoCS4vzGYK9sBEzdwZec-c?usp=sharing

I am trying to determine which grid cells reside in each of the 12 subregions 
(or NA/NULL if outside all subregions) using Vector -> Data Management Tools -> 
Join Attributes by Location. I have specified my Target vector layer as 
loca_lat_lon.csv, the Join vector layer as CC4a_RegionsSub.shp, the Geometric 
predicate as “intersects”, and am taking attributes of the first located 
feature, and only keeping matching records.

The issue is that the returned joined layer assigns just 1 of the 12 
subregions, “Sierra Nevada Mountains”, to all grid cells, rather than different 
subregions (or None) to the cells.

The shape file has a CRS of NAD83/California Albers and the coordinates in the 
CSV file are simply WGS 84. I’ve tried resetting the latter CRS to 
NAD83/California Albers, but the same issue persists.

I’m using QGIS 2.18.14.

Any help is greatly appreciated. Thanks in advance!

Neil

___
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] Help with cached join layer refresh using PyQGIS

2018-01-31 Per discussione Kory Roberts
For reasons I won't go too deeply into, unless requested, I regularly 
need to run a very short PyQGIS query/filter code on 2 Spatialite layers:


query = '"id_a" IN (47, 120)'
canvas = qgis.utils.iface.mapCanvas()
allLayers = canvas.layers()
for layer in allLayers:
    if layer.name() == 'Layer_A':
        layer.setSubsetString(query)
    elif layer.name() == 'Layer_B':
        layer.setSubsetString(query)

Layer_A contains a geometry field, Layer_B does not.  Layer_B is a view, 
which honestly is very slow to process.  I have these joined in QGIS: 
Layer Properties -> Joins.  For performance reasons, I have "Cache join 
layer in virtual memory" selected, otherwise editing is *unbearably 
slow* to the point that QGIS completely locks up for long periods of time.


The issue then, is that after I run the code subsequent times (changing 
for new queries), I have to go back into Layer Properties -> Joins -> 
specific join, click OK (without need to change any settings) to refresh 
the cache.


Probably a long way to this, but...  Is there a way in PyQGIS to refresh 
the cache for the join layer and just add that line in at the end of the 
already existing code?


Thanks.

___
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] Debian/Ubuntu repositories on qgis.org - https vs http

2018-01-31 Per discussione Alister Hood
Hi again,

On 31 January 2018 at 19:45, Richard Duivenvoorde 
wrote:

> On 30-01-18 23:58, Alister Hood wrote:
> > Hi everyone,
> > I followed the instructions
> > at https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu to
> > install from https://qgis.org/ubuntugis, and I found that apt-get update
> > gave me "handshake failed" errors unless I used http instead of https.
> > This might be because I am testing under WSL, so not really a normal
> > linux environment, but I just wanted to check - does https normally work
> > for people?
>
> Hi Alister,
>
> https://qgis.org/ubuntugis/ is being served via Cloudflare, and you get
> a https certificate via them.
>
> if you use: https://ubuntu.qgis.org/ubuntugis/ you do NOT go via
> Cloudflare, can you check if that works for you. (and if  maybe do a
> pull request to fix docs?)
>

It seems Richard is right - https://ubuntu.qgis.org/ubuntugis/ works and
https://qgis.org/ubuntugis/ does not.
But Jürgen reported that it does work for him, which is perplexing.

When I installed again later in the day (for a later version of Ubuntu),
from http://qgis.org/ubuntugis-nightly/, I was having problems with the
packages downloading quite slowly or timing out - I guess the server was
overloaded. Perhaps the docs should mention both https://ubuntu.qgis.org/
ubuntugis/ and http://qgis.org/ubuntugis/ if they are on different servers.

Regards,
Alister
___
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-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione Enrico Ferreguti
Siete tutti molto gentili, soprattutto ad aiutarmi a scovare questi bachi
noiosi...
Provvederò al più presto. Mi devo guadagnare le birrette!


Il giorno 31 gennaio 2018 21:18, andreaerdna  ha
scritto:

> Totò wrote
> > skampus wrote
> >> c'è già.
> >
> > strato che uso come tile xyz, usando questo link [0]
> > [0]
> > https://mts2.google.com/mapslt?lyrs=svv={x}={y}=
> {z}=256=256=en=40,18
>
> Nel mio QGIS 2.18.16 il layer "Streetview coverage" aggiunto dal plugin
> go2streetview 7.4.1 non viene visualizzato in mappa e, tentando di
> visualizzarne le proprietà, viene riportato l'errore:
> AttributeError: 'QgsPluginLayer' object has no attribute 'transparency'
> Traceback (most recent call last):
>   File
> "C:/Users/Andrea/.qgis2/python/plugins\go2streetview\
> py_tiled_layer\tilelayer.py",
> line 695, in showLayerProperties
> dialog = PropertiesDialog(layer)
>   File
> "C:/Users/Andrea/.qgis2/python/plugins\go2streetview\py_tiled_layer\
> propertiesdialog.py",
> line 49, in __init__
> self.ui.spinBox_Transparency.setValue(layer.transparency)
> AttributeError: 'QgsPluginLayer' object has no attribute 'transparency'
>
> Viene invece visualizzata perfettamente la copertura Streetview se aggiunta
> manualmente come layer Tile server con URL
> https://mts2.google.com/mapslt?lyrs=svv={x}={y}=
> {z}=256=256=en=40,18
>
>
>
> -
> Andrea Giudiceandrea
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-
> f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione andreaerdna
Totò wrote
> skampus wrote
>> c'è già.
> 
> strato che uso come tile xyz, usando questo link [0]
> [0]
> https://mts2.google.com/mapslt?lyrs=svv={x}={y}={z}=256=256=en=40,18

Nel mio QGIS 2.18.16 il layer "Streetview coverage" aggiunto dal plugin
go2streetview 7.4.1 non viene visualizzato in mappa e, tentando di
visualizzarne le proprietà, viene riportato l'errore:
AttributeError: 'QgsPluginLayer' object has no attribute 'transparency' 
Traceback (most recent call last):
  File
"C:/Users/Andrea/.qgis2/python/plugins\go2streetview\py_tiled_layer\tilelayer.py",
line 695, in showLayerProperties
dialog = PropertiesDialog(layer)
  File
"C:/Users/Andrea/.qgis2/python/plugins\go2streetview\py_tiled_layer\propertiesdialog.py",
line 49, in __init__
self.ui.spinBox_Transparency.setValue(layer.transparency)
AttributeError: 'QgsPluginLayer' object has no attribute 'transparency'

Viene invece visualizzata perfettamente la copertura Streetview se aggiunta
manualmente come layer Tile server con URL
https://mts2.google.com/mapslt?lyrs=svv={x}={y}={z}=256=256=en=40,18



-
Andrea Giudiceandrea
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Traduzione QGIS 3

2018-01-31 Per discussione Matteo Collimedaglia
Non mi risulta, io avevo tradotto diverse stringhe ed avevo salvato.

2018-01-31 17:59 GMT+01:00 Stefano Campus :

> Sì ci sono  due nick ma zero stringhe tradotte.
> Ti risulta?
>
> Il 31/Gen/2018 05:57 PM, "Matteo Collimedaglia"  gmail.com> ha scritto:
>
>> Io non avevo messo nessun nick :-)
>>
>>
>> 2018-01-31 17:18 GMT+01:00 skampus :
>>
>>> ciao a tutt@,
>>> sto aggiornando l'elenco dei traduttori che hanno contribuito, ma mi
>>> trovo
>>> dei nick che non corrispondono ad alcun nome.
>>>
>>> ci sono persone che si sono registrate su transifex ma non hanno
>>> contribuito
>>> e quindi non verranno citate.
>>>
>>> qualcuno si ritrova in questo elenco, oppure non c'è ma dovrebbe invece
>>> esserci?
>>>
>>> fatemi sapere per favore a skampus_at_gmail.com
>>>
>>> grazie mille
>>>
>>> Nome  Nick
>>> 1) Eugenio  efa
>>> 2)  inskatolata
>>> 3) Luca M.  Luca76
>>> 4)  marcobra
>>> 5)  p0l
>>>
>>>
>>>
>>> --
>>> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f52506
>>> 12.html
>>> ___
>>> QGIS-it-user mailing list
>>> QGIS-it-user@lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>>
>>
>>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Traduzione QGIS 3

2018-01-31 Per discussione skampus
ciao a tutt@,
sto aggiornando l'elenco dei traduttori che hanno contribuito, ma mi trovo
dei nick che non corrispondono ad alcun nome.

ci sono persone che si sono registrate su transifex ma non hanno contribuito
e quindi non verranno citate.

qualcuno si ritrova in questo elenco, oppure non c'è ma dovrebbe invece
esserci?

fatemi sapere per favore a skampus_at_gmail.com

grazie mille

Nome  Nick
1) Eugenio  efa
2)  inskatolata 
3) Luca M.  Luca76
4)  marcobra
5)  p0l



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione Totò
Totò wrote
> skampus wrote
>> c'è già.

wow,

grazie Enrico

sei stato velocissimo ad esaudire il mio desiderio!!!

scherzo, grazie Stefano, ma son cecato non vedevo l'opzione!!!

saluti



-
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione Totò
skampus wrote
> c'è già.

Ciao Stefano,
io non riesco a capire dove sia,
certo non voglio aprire google in altro browser esterno.

quello che chiedevo è questo che allego:
https://pigrecoinfinito.files.wordpress.com/2018/01/streetview_coverage.jpg

strato che uso come tile xyz, usando questo link [0]

[0]
https://mts2.google.com/mapslt?lyrs=svv={x}={y}={z}=256=256=en=40,18

ciao 



-
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione Totò
enricofer wrote
> Ah. vi volevo segnalare che nel frattempo ho pubblicato la versione per
> QGIS3:
> http://plugins.qgis.org/plugins/go2streetview/version/8.0/

Ciao Enrico,
grazie per tutto quello che fai per QGIS.

Volevo chiederti se fosse possibile aggiungere una nuova feature al plugin
cioè la possibilità di vedere la streetview coverage;
questo permetterebbe di capire subito dove sia passata al googlecar.

ciao

 



-
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione Marco Spaziani
...grazie anche da parte mia.

Il giorno 31 gennaio 2018 14:59, skampus  ha scritto:

> rilasciata la versione 7.4.1 e tutto funziona!
> l'errore lo dava anche su installazione osgeo4w.
>
> grazie mille Enrico Ferreguti, applausi e birrette quando lo incontreremo a
> Roma dal 19 al 22 febbraio per FOSS4G Italia 2018 (vi siete iscritti?).
>
> s.
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-
> f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Errore nell'aggiornamento di Go2StreetView

2018-01-31 Per discussione skampus
rilasciata la versione 7.4.1 e tutto funziona!
l'errore lo dava anche su installazione osgeo4w.

grazie mille Enrico Ferreguti, applausi e birrette quando lo incontreremo a
Roma dal 19 al 22 febbraio per FOSS4G Italia 2018 (vi siete iscritti?).

s.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] filter objects

2018-01-31 Per discussione Sturm Noemi
Hi

The question below has been answered.

Regards,
Noëmi Sturm

Von: Sturm Noemi
Gesendet: Dienstag, 30. Januar 2018 07:28
An: 'qgis-user@lists.osgeo.org' 
Betreff: filter objects

Hi

I'd like to filter objects of a postGIS-layer. There are two options I see.

I)Layer properties > General > Provider feature filter (Query 
builder)

II)   Layer properties > Style > rule-based (only styling those I am 
interested in)
Which would you recommend in respect of performance?

Thanks,
Noëmi Sturm

___
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] styling type

2018-01-31 Per discussione Sturm Noemi
Hi Richard

Thank you for your quick and helpful answer.

Regards,
Noëmi

Von: Richard McDonnell [mailto:richard.mcdonn...@opw.ie]
Gesendet: Mittwoch, 31. Januar 2018 10:09
An: Sturm Noemi ; 'Lene Fischer' ; 
'qgis-user@lists.osgeo.org' 
Betreff: Re: [Qgis-user] styling type

Hi Noëmi

In relation to styling and speed, it depends on:

  *the complexity of the rules
  *   Indexing the fields you are using for styling.

As to comparison between Rule based and Categorising, they would both be pretty 
much the same, I often utilise categorising to initially style a layer, and 
then change it to a Rule Based, for fine tuning.
They are basically the same thing, but rule based offers you a little more 
control. Again, the complexity of the style and how well you have indexed your 
database makes a difference.

Regards,

Richard.

On 31/01/2018 07:02, Sturm Noemi wrote:
Hi Lene

Thank you for your answer.
Actually I would like to know if either rule-based styling or categorized 
styling renders faster.
e.g.
Postgis-Layer with attribute "size". Attribute values of "size" are "small", 
"middle", "big".
In categorized I would categorize by "size". In rule-based I would write 3 
entries like "size" = 'small'.

Regards,
Noëmi Sturm

Von: Lene Fischer [mailto:l...@ign.ku.dk]
Gesendet: Dienstag, 30. Januar 2018 21:35
An: Sturm Noemi ; 
'qgis-user@lists.osgeo.org' 

Betreff: RE: styling type

Hi Noëmi,

Use Classifying
Look at QGIS training manual: 
https://docs.qgis.org/2.18/en/docs/training_manual/vector_classification/index.html
Or  Klas Karlssons multiple videos
https://www.youtube.com/results?search_query=klas+karlsson+qgis+style
Or mine (in danish ;-))
https://www.youtube.com/watch?v=y8XwTs5nM20

Regards

Lene Fischer
Associate Professor

University of Copenhagen
Department of Geoscience and Natural Resource Management
Forest and Landscape College
Nødebovej 77a
3480 Fredensborg
Denmark


MOB +45 40115084
l...@ign.ku.dk




[mailbox:///G:/MailArchive/Inbox.sbd/Filtered%20Mail.sbd/02-QGIS%20Mailing%20List?number=506087=quotebody=1.1.2=image001.png]<@Lene_Fischer>



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Sturm 
Noemi
Sent: 30. januar 2018 07:26
To: 'qgis-user@lists.osgeo.org'
Subject: [Qgis-user] styling type

Hi

I'd like to style objects of a postGIS-Layer upon values of a single attribute. 
Which styling type (rule-based or categorized) should I use in respect of 
rendering performance (QGIS 2.18 and QGIS Server 2.18) ?

Thanks,
Noëmi Sturm





___

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

--
Richard McDonnell
GIS Specialist PgD GIS AssocSCSI
OPW FRM Data Management
52 Stephens Green, Dublin 2.
TEL: 01 6476543

[http://www.opw.ie/en/media/opw-logo-december-2016.gif]


Email Disclaimer: http://www.opw.ie/en/disclaimer/
___
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] styling type

2018-01-31 Per discussione Richard McDonnell

Hi Noëmi

In relation to styling and speed, it depends on:

 *   the complexity of the rules
 * Indexing the fields you are using for styling.

As to comparison between Rule based and Categorising, they would both be 
pretty much the same, I often utilise categorising to initially style a 
layer, and then change it to a Rule Based, for fine tuning.
They are basically the same thing, but rule based offers you a little 
more control. Again, the complexity of the style and how well you have 
indexed your database makes a difference.


Regards,

Richard.



On 31/01/2018 07:02, Sturm Noemi wrote:


Hi Lene

Thank you for your answer.

Actually I would like to know if either rule-based styling or 
categorized styling renders faster.


e.g.

Postgis-Layer with attribute "size". Attribute values of "size" are 
"small", "middle", "big".


In categorized I would categorize by "size". In rule-based I would 
write 3 entries like "size" = 'small'.


Regards,

Noëmi Sturm

*Von:*Lene Fischer [mailto:l...@ign.ku.dk]
*Gesendet:* Dienstag, 30. Januar 2018 21:35
*An:* Sturm Noemi ; 'qgis-user@lists.osgeo.org' 


*Betreff:* RE: styling type

Hi Noëmi,

Use Classifying

Look at QGIS training manual: 
https://docs.qgis.org/2.18/en/docs/training_manual/vector_classification/index.html


Or  Klas Karlssons multiple videos

https://www.youtube.com/results?search_query=klas+karlsson+qgis+style

Or mine (in danish ;-))

https://www.youtube.com/watch?v=y8XwTs5nM20

Regards

*Lene Fischer*

Associate Professor

*University of Copenhagen*

Department of Geoscience and Natural Resource Management

Forest and Landscape College

Nødebovej 77a

3480 Fredensborg

Denmark

MOB +45 40115084

l...@ign.ku.dk 

mailbox:///G:/MailArchive/Inbox.sbd/Filtered%20Mail.sbd/02-QGIS%20Mailing%20List?number=506087=quotebody=1.1.2=image001.png 
<@Lene_Fischer>


*From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf 
Of *Sturm Noemi

*Sent:* 30. januar 2018 07:26
*To:* 'qgis-user@lists.osgeo.org'
*Subject:* [Qgis-user] styling type

Hi

I'd like to style objects of a postGIS-Layer upon values of a single 
attribute. Which styling type (rule-based or categorized) should I use 
in respect of rendering performance (QGIS 2.18 and QGIS Server 2.18) ?


Thanks,

Noëmi Sturm



___
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


--
*_Richard McDonnell_*
*GIS Specialist PgD GIS AssocSCSI*
*OPW FRM Data Management*
*52 Stephens Green, Dublin 2.*
TEL: 01 6476543

OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past

***
Email Disclaimer: http://www.opw.ie/en/disclaimer/

___
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] Debian/Ubuntu repositories on qgis.org - https vs http

2018-01-31 Per discussione Paolo Cavallini
Il 31/01/2018 06:45, Richard Duivenvoorde ha scritto:
> On 30-01-18 23:58, Alister Hood wrote:
>> Hi everyone,
>> I followed the instructions
>> at https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu to
>> install from https://qgis.org/ubuntugis, and I found that apt-get update
>> gave me "handshake failed" errors unless I used http instead of https.
>> This might be because I am testing under WSL, so not really a normal
>> linux environment, but I just wanted to check - does https normally work
>> for people?

> https://qgis.org/ubuntugis/ is being served via Cloudflare, and you get
> a https certificate via them.
> 
> if you use: https://ubuntu.qgis.org/ubuntugis/ you do NOT go via
> Cloudflare, can you check if that works for you. (and if  maybe do a
> pull request to fix docs?)

I can install esiliy if I install
apt-transport-https
All the best

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
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