Re: [QGIS-it-user] Inserire X e Y nella Tabella con SR diverso da quello del progetto

2019-06-04 Thread Ivano_G
PS : Alternativamente puoi anche utilizzare le seguenti espressioni con point_n : x(transform(point_n($geometry, 1), 'EPSG:4326', 'EPSG:3857')) y(transform(point_n($geometry, 1), 'EPSG:4326', 'EPSG:3857')) - Ivano GIS - Environmental and Urban Planner — Digit PA -- Sent from:

Re: [QGIS-it-user] Inserire X e Y nella Tabella con SR diverso da quello del progetto

2019-06-04 Thread Ivano_G
inserisci nel calcolatore di campi per x e y rispettivamente : xmin(transform($geometry, 'EPSG:4326', 'EPSG:3857' )) ymin(transform($geometry, 'EPSG:4326', 'EPSG:3857' )) dove: INIZIALE : ---> EPSG: 4326 (SR di progetto) FINALE. : ---> ESSG: 3857 (SR di interesse) Saluti Ivano -

[Qgis-user] Export raster with display name using graphical modeler

2019-06-04 Thread Rebecca Bennett
Hello everyone, I have created a model to automate cropping and renaming a series of raster images (using their new origin co-ordinates as the display name), however I am unable to work out how to export the resulting rasters to new files with their layer display name as the file name. e.g.

[QGIS-it-user] Inserire X e Y nella Tabella con SR diverso da quello del progetto

2019-06-04 Thread Marco Spaziani
Vi chiedo scusa per l'aiuto che sto per chiedervi perchè ricordo benissimo che l'argomento è stato già chiaramente e fruttuosamente trattato e chiarito poco tempo fa, ...ma ora non ricordo più dove (su questa lista?, sul blog pigregoinfinito? ...non ricordo) e quindi vi chiedo la pazienza di

Re: [Qgis-user] Is location info included in metadata when save an image file?

2019-06-04 Thread Kirk Schmidt
Ert: With a jpg or png file, the coordinate data are stored in the world file (a simple text file with the pixel x gsd , rotation,pixel y gsd, x coordinate, top left, y coordinate top left - see sample below).  For a pdf, the coordinate data is stored within the pdf and you would have to

Re: [Qgis-user] Is location info included in metadata when save an image file?

2019-06-04 Thread Alex M
Nyall, I just did a test like Kirk png and jpg do not contain EXIF coordinates. For the purposes of this discussion the original poster wants to know which formats drop the location data, and it appears jpg and png are safe for that purpose. I would advise that not every format will behave the

Re: [Qgis-user] Forms, realtions and foreign keys

2019-06-04 Thread Karl Magnus Jönsson
Thanks. Works perfect. I missed the "initially deferred" in the FK. Karl-Magnus Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Matthias Kuhn Skickat: den 4 juni 2019 11:27 Till: qgis-user@lists.osgeo.org Ämne: Re: [Qgis-user] Forms, realtions and foreign keys Hello, If you

Re: [Qgis-user] exporting layout to pdf changes output of locked maps

2019-06-04 Thread Harrissou
Hi, That should have worked without map themes, too. 1- Set the main map canvas to aerial photo, refresh the print layout (should be optional), lock one of the map items 2- Set the main map canvas to topo maps now, refresh the print layout (again should be optional but will show whether the

Re: [Qgis-user] Forms, realtions and foreign keys

2019-06-04 Thread Matthias Kuhn
Hello, If you enable "evaluate default values server side" and "automatic transaction groups" and set the foreign key check in the database to initially deferred you'll get pretty much what you want :) Hope that helps Matthias On 6/4/19 11:14 AM, Karl Magnus Jönsson wrote: Hi list! I

Re: [Qgis-user] exporting layout to pdf changes output of locked maps

2019-06-04 Thread Reginald
Hi, Using a different map theme works! Good to know. I'm still a little bit puzzled why the locking didn't work. Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org

Re: [Qgis-user] exporting layout to pdf changes output of locked maps

2019-06-04 Thread Reginald
hi Karl, I will try that and report back. thanks for the tip Regards, -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] exporting layout to pdf changes output of locked maps

2019-06-04 Thread Karl Magnus Jönsson
Hi! Have you tried to create different map themes and associate them with the appropriate layout map frame? Karl-Magnus Jönsson -Ursprungligt meddelande- Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Reginald Skickat: den 4 juni 2019 09:50 Till:

[Qgis-user] exporting layout to pdf changes output of locked maps

2019-06-04 Thread Reginald
Hello users and devs, I've been trying to create a A1 maplayout containing two A2 maps. One of the maps I put on the layout shows an aereal photo, the other shows a topographical map on another scale. When my layout was ready I locked all the items and clicked on the export to pdf icon. The

Re: [Qgis-user] QGIS2.8 How are the features ordered when using layer.selectedFeatures()

2019-06-04 Thread Raymond Nijssen
Hi, I found two ways of doing that, I think the second is faster but not sure. (And I think they will both be slower than the random order code you were using before, but the order will remain.) Good luck, Raymond --- layer = iface.activeLayer() ids = layer.selectedFeatureIds()