[Qgis-user] Missing SRIDs in Linux

2017-02-24 Thread Spencer Gardner
I have two different machines with QGIS: one is Windows 10 with QGIS 2.14
installed from the installer, the other is Ubuntu 16.04 with QGIS 2.18 and
other GIS software installed from source.

I have noticed that some SRID definitions are not available on my Linux
machine that are available on Windows. Is this a result of some
configuration tweak that I'm missing from my build? I have PROJ.4 version
4.9.2 on both machines so it's not a difference in the library version. I
suppose there could be a configuration parameter in PROJ that I'm not
setting? I'm not really sure where to start.

A few example SRIDs that I see on Windows but not in Linux:
6420 (California zone 3)
7599 (WISCRS Dane)

Thanks for any help,
Spencer
___
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] Is there a shortcut to disable and enable snapping during digitizing?

2017-02-24 Thread John Layt
On 23 February 2017 at 15:50, aborruso  wrote:
> Hi,
> I have enabled some snap options, and usually I need to maintain them on. I
> would like to disable it during digitizing. Is there some shortcut to do it
> in an editing session?
> Is there another way to do it?
>
> I'm using QGIS 2.14.
>
> Thank you

I was working on a plugin a while back to do this, but was told the
next release would have it built in, so I stopped. That was a couple
of releases ago, so if there's enough interest I could revive that
work...  See http://ark.lparchaeology.com/wiki/index.php/QGIS#ARK_Snapping
for the current state.

John.
___
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] Is there a shortcut to disable and enable snapping during digitizing?

2017-02-24 Thread gam17

Hi,
   if you use QAD plugin for digitizing you can use ctrl + right click 
to change or disable snap options.
F3 key is supported too but in some QGIS version this event is not 
released to plugin...

bye
gam17


Hi,

You can set shortcuts from "settings>configure shortcuts" but I don't
think you can toggle snapping on an off with a shortcut key currently.
 You can set a shortcut to open the snapping options menu though.

Phil


-Original Message-
From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
aborruso

Sent: 23 February 2017 15:51
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Is there a shortcut to disable and enable
snapping during digitizing?

Hi,
I have enabled some snap options, and usually I need to maintain them
on. I would like to disable it during digitizing. Is there some
shortcut to do it in an editing session?
Is there another way to do it?

I'm using QGIS 2.14.

Thank you




--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Is-there-a-shortcut-to-disable-and-enable-snapping-during-digitizing-tp5309255.html
Sent from the QGIS - User mailing list archive at Nabble.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

Mae�r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg
The Authority is happy to communicate in Welsh or English


Website www.pembrokeshirecoast.org.uk
Follow us on Twitter
Join us on Facebook
Watch us on Youtube
Look at us on Flickr

This email and any attached files should only be read by those persons 
to whom

they are addressed and be used by them only for their intended purpose.
If you are not the intended recipient please destroy all copies and 
inform the

sender by return email.

Please note that the contents of this email may be subject to public 
disclosure
under the Freedom of Information Act 2000 and therefore the 
confidentiality of

this message and any reply cannot be guaranteed.

For further information on the PCNPA please visit our website at
www.pembrokeshirecoast.org.uk

Please consider the environment before printing this e-mail.


Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw
ffeiliau sydd
ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y
diben y bwriadwyd hwy.
Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal � d
nistrio pob copi a rhoi
gwybod i�r anfonwr gyda throad yr e-bost.

Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei
ddatgelu i�r cyhoedd
o dan Ddeddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu
cyfrinachedd y neges hon
nac unrhyw ateb.

Am ragor o wybodaeth am APCAP ymwelwch �n gwefan ar 
www.pembrokeshirecoast.org.uk


Ystyrier yr amgylchedd cyn argraffu�r e-bost hwn os gwelwch yn dda.

___
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] FW: Simple methodology for user / data / map interactivity?

2017-02-24 Thread SEGGIE Graeme

Brent / Bernhard,

Thanks both for the detailed responses. It does look like I am re-inventing a 
process that can be done as an informed user, I suppose the example I suggested 
might be too simple to be worth going to the lengths I described, but I was 
thinking of some of the manual processes I see on editing data and wanted to 
refine a process to be such that repetitive steps could be minimised somehow.

I see some stuff from both your responses worth me looking into anyway even if 
not pursuing my original approach, which is good.

I have played some more with this, but am struggling to see how I would do the 
following, which seems like a logical thing to do with QGIS acting as a front 
end to a database.  If I have a zone layer and a road network layer, how do I 
link the two such that the selection in one layer impacts the view of the 
other? For example, if I select a zone, I would like that selected zone_id, to 
be passed to PostGIS, to identify the roads which intersect the selected zone 
and only display them (or display them as dominant) as selected in the network 
layer. Is there a way of filtering one layer on the selection of another i.e. 
filter on where zone_id in (selected zone_id in layer X)

Graeme.




Hi Graeme,



QGIS can do what you describe in your example out of the box.

Workflow:

0) copy layer

1) select polygon in layer

2) use the spatial query plugin

  - select source from layer_copy

  - Where the feature intersects

  - reference features of layer (tick 1 selected polygon)

- apply

3) zoom to selection of layer_copy



If you work with PostGIS you can use the layer's filter to enter any SQL thus 
restricting the features to those that fit into the filter rule.

Then zoom to the layer and you are done.

You can load the result of a query against a PostGIS DB as layer into QGIS, 
too, by using DB manager.

For automation Processing's graphical modeler might be worth looking at.



Of course you can do most things with a plugin that you e.g. connect to a layer 
action. I am always reluctant to write a plugin for workflows that can be 
performed using QGIS' standard tools, though.

I know users like to klick on a dedicated button and then something is run just 
the way they (think they) need it, however IMHO the smarter approach is to 
train the users to do these tasks themselves with the standard tools.



Bernhard

…


Sort of in the area you are asking about:

See the Action tool


Under Windows this can invoke a batch file to display the result of an sql for 
data about the (Postgis) feature clicked on. Even easier under Linux with a 
bash script. If one of the fields is an image file, you can create an action to 
display the image associates with the feature. A useful bit of functionality...

But to do exactly what you are asking, I think the Attribute table does this, 
so it is a matter of explaining the steps to your users, rather than writing 
code...

If you select a set of features in a Postgis (or most type of layer) layer 
rendered on the map, QGIS highlights the selected ones as defined in the 
project properties. Open the Attribute table for the layer, you will see the 
selected features, not only highlighted on the map, but also in the attribute 
list. Click the "move selected features to top" button, and the 
selected/highlighted features will always be at the top of the list. The 
attribute table has buttons at the top to zoom & pan to selected features...

Cheers,

Brent



From: SEGGIE Graeme mailto:gseg...@systra.com>>
To: "Qgis-user@lists.osgeo.org" 
mailto:Qgis-user@lists.osgeo.org>>
Sent: Friday, February 24, 2017 6:48 AM
Subject: [Qgis-user] Simple methodology for user / data / map interactivity?

I would like to use QGIS as a visual / interactive front to some PostGIS data 
and am not sure what the best route to doing so is. Happy to explore further 
myself, but wanted to get some input on what needs to be joined up to get 
started on building a little process.

Basically, if I wanted to present a map of features and have a button (like the 
attribute information one) which a user would click then use to select 
features, I want this to run a SQL query which to get related features for 
example and highlight them on the map view, possibly pan to the extent of the 
newly selected feature set.

Does this sound like a plugin – or would that be taking things too far?

Would the best way for the dynamic layer to be setup, to be a view – empty 
except when populated by the query and styled to be dominant over the full set 
of features?

As a simple example, say I had a district zone system of polygons and I wanted 
a user to be able to click on any polygon, and have all the neighbouring 
polygons highlighted, centred and fill the map view as fully as possible. What 
would be the best / simplest approach to this?

Graeme


This messa

[Qgis-user] Labels on lines should hide line

2017-02-24 Thread Benjamin Donner | Aavameri
Hi, when drawing a depth contour line on a map, I want to show the depth of
the line as a label on the map. I use the label function in the Layer
attributes dialog box and take the depth from a field in the same shapefile.
My problem is that the depth line is still shown behind the number, making
it hard to read. I want the depth contour line not to show where the number
is, how do I do this? I do NOT want to for instance put a white background
behind the number, I just do not want the line to show behind and a few mm
from the number. 

 

QGIS 2.18.3

 

Thanks, 

Benjamin

 

___
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] Simple methodology for user / data / map interactivity?

2017-02-24 Thread Bernhard Ströbl

Hi Graeme,

QGIS can do what you describe in your example out of the box.
Workflow:
0) copy layer
1) select polygon in layer
2) use the spatial query plugin
 - select source from layer_copy
 - Where the feature intersects
 - reference features of layer (tick 1 selected polygon)
 - apply
3) zoom to selection of layer_copy

If you work with PostGIS you can use the layer's filter to enter any SQL 
thus restricting the features to those that fit into the filter rule. 
Then zoom to the layer and you are done.
You can load the result of a query against a PostGIS DB as layer into 
QGIS, too, by using DB manager.

For automation Processing's graphical modeler might be worth looking at.

Of course you can do most things with a plugin that you e.g. connect to 
a layer action. I am always reluctant to write a plugin for workflows 
that can be performed using QGIS' standard tools, though.
I know users like to klick on a dedicated button and then something is 
run just the way they (think they) need it, however IMHO the smarter 
approach is to train the users to do these tasks themselves with the 
standard tools.


Bernhard

Am 23.02.2017 um 18:48 schrieb SEGGIE Graeme:

I would like to use QGIS as a visual / interactive front to some PostGIS
data and am not sure what the best route to doing so is. Happy to
explore further myself, but wanted to get some input on what needs to be
joined up to get started on building a little process.



Basically, if I wanted to present a map of features and have a button
(like the attribute information one) which a user would click then use
to select features, I want this to run a SQL query which to get related
features for example and highlight them on the map view, possibly pan to
the extent of the newly selected feature set.



Does this sound like a plugin – or would that be taking things too far?



Would the best way for the dynamic layer to be setup, to be a view –
empty except when populated by the query and styled to be dominant over
the full set of features?



As a simple example, say I had a district zone system of polygons and I
wanted a user to be able to click on any polygon, and have all the
neighbouring polygons highlighted, centred and fill the map view as
fully as possible. What would be the best / simplest approach to this?



Graeme






__ Information from ESET Mail Security, version of virus signature 
database 14988 (20170224) __

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] Is there a shortcut to disable and enable snapping during digitizing?

2017-02-24 Thread Philip Barlow
Hi,

You can set shortcuts from "settings>configure shortcuts" but I don't think you 
can toggle snapping on an off with a shortcut key currently.  You can set a 
shortcut to open the snapping options menu though. 

Phil


-Original Message-
From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of aborruso
Sent: 23 February 2017 15:51
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Is there a shortcut to disable and enable snapping during 
digitizing?

Hi,
I have enabled some snap options, and usually I need to maintain them on. I 
would like to disable it during digitizing. Is there some shortcut to do it in 
an editing session? 
Is there another way to do it?

I'm using QGIS 2.14.

Thank you




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Is-there-a-shortcut-to-disable-and-enable-snapping-during-digitizing-tp5309255.html
Sent from the QGIS - User mailing list archive at Nabble.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

Mae�r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg
The Authority is happy to communicate in Welsh or English


Website www.pembrokeshirecoast.org.uk
Follow us on Twitter
Join us on Facebook
Watch us on Youtube
Look at us on Flickr

This email and any attached files should only be read by those persons to whom
they are addressed and be used by them only for their intended purpose.
If you are not the intended recipient please destroy all copies and inform the
sender by return email.

Please note that the contents of this email may be subject to public disclosure 
under the Freedom of Information Act 2000 and therefore the confidentiality of 
this message and any reply cannot be guaranteed.

For further information on the PCNPA please visit our website at 
www.pembrokeshirecoast.org.uk 

Please consider the environment before printing this e-mail.


Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw ffeiliau 
sydd 
ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y 
bwriadwyd hwy. 
Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal � dinistrio pob 
copi a rhoi
gwybod i�r anfonwr gyda throad yr e-bost.

Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei ddatgelu i�r 
cyhoedd 
o dan Ddeddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu cyfrinachedd y 
neges hon
nac unrhyw ateb.

Am ragor o wybodaeth am APCAP ymwelwch ��n gwefan ar 
www.pembrokeshirecoast.org.uk

Ystyrier yr amgylchedd cyn argraffu�r e-bost hwn os gwelwch yn dda.
___
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