Re: [Qgis-user] z factor

2020-12-01 Thread Nicolas Cadieux
Hi David, Thanks.  Found this in my trash. Sorry  for not responding sooner.  I will look at the snippet It will be handy.  So far, I have been using the plugin Builder and this https://www.qgistutorials.com/en/docs/3/building_a_python_plugin.html It's not up to date but it gives me a good

Re: [Qgis-user] z factor

2020-11-27 Thread Nicolas Cadieux
Hi, I did suggest it indeed. Ideally, it would go in the QGIS core every time they ask for a z factor. (Like under shading in the layer style). I will probably play around with it just to learn who to make a plugin but if you want to put it in your plugin, go ahead. Nicolas Cadieux

Re: [Qgis-user] z factor

2020-11-27 Thread Nicolas Cadieux
Hi, For now, probably just a box where you entre y and x and an select an ellipsoid. Ideally, you could just pick a raster and the latitude at the centre of the file and the project ellipsoid would be selected. I have the python formula for Proj as I use it in my python script. I just

Re: [Qgis-user] z factor

2020-11-27 Thread Nicolas Cadieux
Hi, Thanks for the heads up. I will check. Nicolas Cadieux https://gitlab.com/njacadieux > Le 27 nov. 2020 à 06:01, Bernd Vogelgesang a écrit > : > >  >> On 27.11.20 10:52, Raymond Nijssen wrote: >> ... >> Last week I had a similar idea for a plugin that could tell you which >> UTM zone to

Re: [Qgis-user] z factor

2020-11-27 Thread C Hamilton
I have a Lat Lon Tools plugin, Field Calculator function that generates the UTM zone. Nicolas, you just reminded me that you had suggested this to me earlier as a plugin. Something like that would be easy to add, but I'm not sure it fits within Lat Lon Tools which captures different coordinates,

Re: [Qgis-user] z factor

2020-11-27 Thread Raymond Nijssen
Isn't that already covered by the "Projestions" plugin? Yes, something like that! I didn't know it. It doesn't give me any utm zone though.. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] z factor

2020-11-27 Thread Bernd Vogelgesang
On 27.11.20 10:52, Raymond Nijssen wrote: ... Last week I had a similar idea for a plugin that could tell you which UTM zone to pick for your current canvas. I decided it would not be worth the effort. But maybe these could go together (and be finished at the end of this "KwakFriday"? Isn't

Re: [Qgis-user] z factor

2020-11-27 Thread Raymond Nijssen
Hi Nicolas, It is just a simple formula for calculating the "z-factor" for a given latitude. What would that look like in a plugin? Where would it go? What would it do or show? Last week I had a similar idea for a plugin that could tell you which UTM zone to pick for your current canvas. I

Re: [Qgis-user] z factor

2020-11-27 Thread Priv. Doz. Dr. Maria Shinoto
Nicolas, that would be helpful indeed! Yet I do it manually each time... Maria > Am 27.11.2020 um 14:13 schrieb 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

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.

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

[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

Re: [Qgis-user] z factor in aspect calculation?

2018-10-12 Thread Andrew Harfoot
I'd agree, the aspect of a slope does not vary with it's gradient, and the scale factor is only used to ensure that the gradient calculations are made using consistent units in XY & Z. Cheers, Andy On 11/10/2018 19:43, Nicolas Cadieux wrote: Hi, I use a z factor in slope and hill shade

[Qgis-user] z factor in aspect calculation?

2018-10-11 Thread Nicolas Cadieux
Hi, I use a z factor in slope and hill shade calculation when my DEMs are in Long/Lat and the altitudes in metres (like SRTM, ASTER GDEM...).  In GdalDem , there is not a z factor or a scale option for Aspect (0-360D azimuth) but in the Qgis terrain analysis, there is. (It does not appear to