Re: [Qgis-user] z factor

2020-11-26 Thread Nicolas Cadieux
Hi, It's just the Z factor needed when you make a hillshade when the x an y are in degrees and the z is in feet or meters (like SRTM). You can see it if you choose Hillshade under symbology / render type (for a raster layer).  It's basically the length of a degree in meters for latitude. htt

Re: [Qgis-user] z factor

2020-11-26 Thread Richard Duivenvoorde
On 11/27/20 5:28 AM, Nicolas Cadieux wrote: > I want to learn to make a QGIS plugin and I was wondering if anybody new if > there is a QGIS plugin or tool that calculates the z factor for a particular > latitude? I thought this would be an easy project to start with but I don't > want to duplica

[Qgis-user] z factor

2020-11-26 Thread Nicolas Cadieux
Hi, I want to learn to make a QGIS plugin and I was wondering if anybody new if there is a QGIS plugin or tool that calculates the z factor for a particular latitude? I thought this would be an easy project to start with but I don't want to duplicate someone else's work. Thanks for your comm

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread Ryan Peel
Extending this thought a little. Is there a way to create a WMS service from this so that the WMS reads a csv file, automatically creates the polygons using the expression that Toto recommended, so that it (on the fly) creates the polygons from adding the WMS to a map so I can share with my co-wor

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread Ujaval Gandhi
Totò - really great solution! Didn't know about Geometry by Expression and it will come in handy for sure. [image: Logo] Ujaval Gandhi Spatial Thoughts mobile: +91-8095684687 email: uja...@spatialthoughts.com [image: LinkedIn icon]

Re: [Qgis-user] Does QGIS3 freezes more often than QGIS2 ?

2020-11-26 Thread Kirk Schmidt
Hi Idan: I usually go through the "add raster Layer" button and it seems to work seamlessly with small and large rasters in 3.10.1 working on windows 8.1x 64.  I wonder if it is an issue with the drag and drop function and or related to raster files size? Kirk On 11/26/2020 1:18 PM, Idan Mi

[Qgis-user] Does QGIS3 freezes more often than QGIS2 ?

2020-11-26 Thread Idan Miara
Hi, I was wondering if I'm the only one who experiences sudden freezes in QGIS3 (on Win10x64) It's hard to pinpoint exactly what triggers these freezes but usually it happens more often when I drag and drop raster files from the file explorer onto the QGIS canvas. Usually after a few seconds it un

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread qgis-user
Another common solution to this type of problem is to open the .csv file in a spreadsheet program (eg, Excel) and use string functions to write a new text field containing a WKT representation of your desired geometry. Save the edited file back as a .csv file, then open i

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread Nicolas Cadieux
Hi, I’m the field calculator, you could also update the field using wkt. If this was a line, you would use > > Geom_from_wkt('LINESTRING (' || "x1" || ' ' || "y1" || ',' || "x2" || ' > ' || "y2" || ')') > Google wiki and WKT geometry and you will see how you could make a point, l

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread Ryan Peel
Thank you! Worked PERFECT! On Thu, Nov 26, 2020 at 10:02 AM Totò Fiandaca wrote: > From Processing: > > search for Geometry by Expression: > 1. as input layer put your file with the coordinates > 2. and write this expression: > > make_polygon ( > make_line ( > make_point ("x1", "y1"), >

Re: [Qgis-user] Polygon from 4 points

2020-11-26 Thread Totò Fiandaca
>From Processing: search for Geometry by Expression: 1. as input layer put your file with the coordinates 2. and write this expression: make_polygon ( make_line ( make_point ("x1", "y1"), make_point ("x2", "y2"), make_point ("x3", "y3"), make_point ("x4", "y4") )) and launch the ge

[Qgis-user] Polygon from 4 points

2020-11-26 Thread Ryan Peel
I have a csv/table that has a single row that contains some metadata as well as four SEPARATE columns, x1, y1, x2, y2, x3, y3, x4, y4 of decimal degree coordinates. I want to import all of this data into QGIS and create a polygon from the four points as a vector layer. What is the best way to do

Re: [Qgis-user] PyQgis script not finding module in eclipse IDE

2020-11-26 Thread PIERRE Sylvain
Hello, Did you add a qgis entry in “Forced Builtins” Python parameters? [cid:image001.png@01D6C3D4.466FBF60] → Sylvain PIERRE Chef de projet système d’information Direction des Systèmes d’Information Service Projets et Applications Numériques Conseil Départeme

Re: [Qgis-user] Set variables by UI

2020-11-26 Thread L.W.
Thanks for your thoughts. But, I asked for having the values to easily change (on little points) them without writing the whole value (e.g. text). If there were an event "onClosing"-Attribute-Dialog (UI, not list) then everything would be fine for my needs. I haven't found out how I can code

Re: [Qgis-user] Set variables by UI

2020-11-26 Thread Bernd Vogelgesang
Without knowing more about your project than A and B, it is a guessing game what could be best. But to me, if I understood correctly, it sounds like you are about to create a data-redundancy over several layers. If those attributes are really the same, and stay the same, it would maybe me wiser

Re: [Qgis-user] Set variables by UI

2020-11-26 Thread Phil Wyatt
In Settings, Options, Digitizing you can set "Reuse last entered attribute values" but I think its ALL fields. Cheers - Phil -Original Message- From: Qgis-user On Behalf Of Richard Duivenvoorde Sent: Thursday, 26 November 2020 7:50 PM To: Harrissou ; qgis-user@lists.osgeo.org; L.W. S

Re: [Qgis-user] Set variables by UI

2020-11-26 Thread Richard Duivenvoorde
On 11/26/20 10:03 AM, Phil Wyatt wrote: > In Settings, Options, Digitizing you can set "Reuse last entered attribute > values" but I think its ALL fields. Ah, Thanks. Yes that is it, and it is ALL fields, and it separate for EACH layer. You can see it here: https://docs.qgis.org/testing/en/docs

Re: [Qgis-user] Set variables by UI

2020-11-26 Thread Richard Duivenvoorde
Hi, Some days ago while browsing code, I got the feeling that there was also some kind of option like "Remember last inserted value of this field, and use it as 'default' for the next new feature to create...". But I cannot find it in the gui (and no time to search for it in the code). Does any