Re: [Qgis-user] Detecting node valences

2017-04-12 Thread phi73
Hello Martin, yes you are right. The terminus „Node valence“ is from topology and is defined as the number of outgoing and incoming lines by a node. You are example is correct: a) a T Intersection has val=3 b) a Cross val = 4 c) a „one-way-street“ the end/starting point has val = 1 So i need to

Re: [Qgis-user] Detecting node valences

2017-04-12 Thread Martin Bain
Pat, Too much time on my hands today. Here’s a more accessible way to get much the same result. It takes three QGIS algorithms from the processing toolbox: 1. Extract nodes. 2. Join attributes by location. (join the layer from step 1 to itself, for the “Attribute Summary” choose “Take Summary o

Re: [Qgis-user] Weather symbols [SEC=UNCLASSIFIED]

2017-04-12 Thread Paolo Cavallini
Il 13/04/2017 00:48, Bruce Bannerman ha scritto: > Hi Phil, > > > Have you seen the following Meteorological Symbol library: > > https://github.com/OGCMetOceanDWG/WorldWeatherSymbols > > The community behind this will welcome collaboration. Hi Bruce, these seem good candidate for the QGIS coll

Re: [Qgis-user] Detecting node valences

2017-04-12 Thread Martin Bain
Hi Pat, I saw your previous question went unanswered. I’m not familiar with the term valence, I’m guessing you want the number of lines that meet at a point. If you had like a roads layer then three streets would meet at a T intersection – the node would have a valence of three, for a cross in

Re: [Qgis-user] Weather symbols [SEC=UNCLASSIFIED]

2017-04-12 Thread Phil (The Geek) Wyatt
Thanks folks - I now have quite a collection. I will sift through them all to see which suit the best Many thnaks From: Bruce Bannerman [mailto:bruce.banner...@bom.gov.au] Sent: Thursday, April 13, 2017 8:49 AM To: Phil (The Geek) Wyatt; qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] W

Re: [Qgis-user] Weather symbols [SEC=UNCLASSIFIED]

2017-04-12 Thread Bruce Bannerman
Hi Phil, Have you seen the following Meteorological Symbol library: https://github.com/OGCMetOceanDWG/WorldWeatherSymbols The community behind this will welcome collaboration. Bruce From: Qgis-user mailto:qgis-user-boun...@lists.osgeo.org>> on behalf of Phil

Re: [Qgis-user] Can not install qgis-mapserver on CentOS 7

2017-04-12 Thread Steve Toutant
I would consider using docker on centos7 I didn't try any of these image yet so I can't suggest any https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=qgis-server&starCount=0 De :Julian Bogdani A : qgis-user@lists.osgeo.org Date : 2017-04-12 13:53 Objet : [

[Qgis-user] Can not install qgis-mapserver on CentOS 7

2017-04-12 Thread Julian Bogdani
Hello everybody, I’m trying to setup a QGis server on a CentOS (7.3.1611) server, following the official guide: http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial I followed the instructions and added EPEL: > y

Re: [Qgis-user] Map georeference question

2017-04-12 Thread Nicolas Cadieux
Hi, You can do this 2 way. When you are doing the georeferencing, you can select "use 0 for transparency when needed." This can sometimes give good results but can leave some transparent pixels in the map depending on the image. Another way is to right click on the layer in the layer panel,

Re: [Qgis-user] Map georeference question

2017-04-12 Thread Madry, Scott
I'll pass this to them to give a try. Thanks! From: Werner Macho Sent: Wednesday, April 12, 2017 10:24:03 AM To: Madry, Scott Cc: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] Map georeference question Hi! What about setting the "black areas" to Nodata? (or

Re: [Qgis-user] Map georeference question

2017-04-12 Thread Werner Macho
Hi! What about setting the "black areas" to Nodata? (or even converting the black to real nodata values) Properties -> Transparency -> No data value : Insert the black value here .. Or use the rastercalculator to get rid of the black regards Werner On Wed, Apr 12, 2017 at 3:45 PM, Madry, Sco

[Qgis-user] Map georeference question

2017-04-12 Thread Madry, Scott
Hello, QGIS gurus and friends. Some of my students are georeferencing historical maps in QGIS, and want to remove the black edge areas that appear after the raster arrays are warped, or at least make these and only these black areas completely transparent. Seems a simple task? Thanks- Scott

Re: [Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Karl Magnus Jönsson
Good! And good to know. Karl-Magnus Från: Árni Geirsson [mailto:a...@alta.is] Skickat: den 12 april 2017 15:19 Till: Steve Toutant Kopia: Karl Magnus Jönsson; qgis-user@lists.osgeo.org Ämne: Re: [Qgis-user] Unique IDs in a PostGIS view I left the over clause empty. Based on your suggestion, I tr

Re: [Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Árni Geirsson
I left the over clause empty. Based on your suggestion, I tried the following: SELECT row_number() over ( order by fillline_a.id, (st_dumppoints(fillline_a.geom)).path, st_x((st_dumppoints(fillline_a.geom)).geom), st_y((st_dumppoints(fillline_a.geom)).geom) ) as id, (fillline_a.z)::real AS z, (st_

[Qgis-user] Detecting node valences

2017-04-12 Thread phi73
Hello to all, is there a way i QGIS to run a select over a map to get all the nodes with a specific node valence? If not i would be happy about a shortchanged reply too :) thanks pat ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http

Re: [Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Steve Toutant
It would help to see how you used row_number and what field you put in it.You could create row_number after the dumpingselect row_number() OVER (ORDER BY path,st_x,st_y...) AS id, * from (select .ST_DumpPoints. from  ...)-"Qgis-user" a écrit : -A : Karl Magnus Jönsson De : Árni Gei

Re: [Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Árni Geirsson
Thanks for the suggestion Karl. I have used row_number() also but in the case of dumping vertex points from a line, multiple points are created from each line feature and therefore, the row_number is repeated for all points on the same line. Árni Árni Geirsson *Alta ehf* // +354 582 5000 // +354

Re: [Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Karl Magnus Jönsson
Hi! I’ve used something like this to get unique Ids: SELECT row_number() OVER (ORDER BY s.omrade_id, s.kod) AS id, …. ORDER BY s.omrade_id, s.kod; If the ordering isn’t necessary I guess you can skip that. https://www.postgresql.org/docs/current/static/functions-window.html Karl-Magnus Jönsson

[Qgis-user] Unique IDs in a PostGIS view

2017-04-12 Thread Árni Geirsson
I am trying to create a view that extracts vertices from lines using ST_DumpPoints and to get unique IDs I have set up a sequence to generate the numbers using nextval(). The query executes normally in the DB Mananger and I see the results as a table in the table view. However, when I attempt to lo