[Qgis-user] QGIS version 2.18.4 - imagery does not display when visible scale applied

2017-03-22 Thread Celeste Lees
Hello all, I am using qsgis desktop version 2.18.4 to display a number of tif raster image files. Each file is a single tif mosaic of vertical imagery. I have these displayed with no maximum visible scale set and I have been able to see the imagery in the map window at any scale. I am now

Re: [Qgis-user] ShapeTools XY to Line

2017-03-22 Thread Tobias Wendorff
Am Mi, 22.03.2017, 15:29 schrieb C Hamilton: > Thank you for that suggestion. I am now using the geographiclib > routines in Shape Tools' XY to Line routine that was released today. > I am still including Great Circle as an option and if you zoom in > you can see the differences. Good work.

[Qgis-user] QGIS 2.18 crashes on style by category

2017-03-22 Thread Jonathan Webb
Hello, Linux Mint 17.2 Eventually managed to reinstall QGIS, upgrading from 2.16 to 2.18. Was working OKfor about a day (apart from missing geoprocessing/geometry & analysis tools now mostly resolved), then started crashing out instantly. I think I've tracked it down to applying a categorised

Re: [Qgis-user] ShapeTools XY to Line

2017-03-22 Thread C Hamilton
Tobias, Thank you for that suggestion. I am now using the geographiclib routines in Shape Tools' XY to Line routine that was released today. I am still including Great Circle as an option and if you zoom in you can see the differences. http://plugins.qgis.org/plugins/shapetools/ All the best,

[Qgis-user] python error

2017-03-22 Thread Reginald Carlier
Hi, I am using qgis 18.4. Lately I get a python error when I open qgis: 2017-03-22T08:08:27 1 Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 308, in loadPlugin __import__(packageName) File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 607, in

Re: [Qgis-user] Retrieve Postgis user from connection string

2017-03-22 Thread Karl Magnus Jönsson
Maybe you can test that in the trigger. Something like: IF current_user != 'lizmap_editor' THEN NEW.GivenUser = current_user; END IF; Karl-Magnus Jönsson -Ursprungligt meddelande- Från: Rossin Pietro [mailto:pietro.ros...@arpa.fvg.it] Skickat: den 22 mars 2017 11:34 Till:

[Qgis-user] R: Retrieve Postgis user from connection string

2017-03-22 Thread Rossin Pietro
Thanks Karl Your solution is fine if I edit my postgis layer only with Qgis desktop. My problem is that I have two different client that can modify this layer. This layer is served in a webgis editing environment using Lizmap Web Client (LWC) and at the same time could be modified by Qgis

Re: [Qgis-user] Retrieve Postgis user from connection string

2017-03-22 Thread Karl Magnus Jönsson
Hi Pietro! Wouldn't a trigger do the job on the database side anyway? I have a trigger: CREATE TRIGGER update_skotselobjekt_curuser BEFORE UPDATE ON park.skotselobjekt FOR EACH ROW EXECUTE PROCEDURE park.update_curuser_column(); That executes this trigger function: CREATE OR REPLACE