<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br><div>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.</div><div><br><div dir="ltr">Nicolas Cadieux<div><a href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></div></div><div dir="ltr"><br><blockquote type="cite">Le 27 nov. 2020 à 08:43, C Hamilton <adenaculture@gmail.com> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">I have a Lat Lon Tools plugin, Field Calculator function that generates the UTM zone.<div><br></div><div>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, but z-factor is related to the latitude so perhaps it fits.</div><div><br></div><div>Does anyone think it would be worth adding to Lat Lon Tools or should it be a separate plugin?</div><div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 27, 2020 at 4:52 AM Raymond Nijssen <<a href="mailto:r.nijssen@terglobo.nl">r.nijssen@terglobo.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Nicolas,<br>
<br>
It is just a simple formula for calculating the "z-factor" for a given <br>
latitude. What would that look like in a plugin? Where would it go? What <br>
would it do or show?<br>
<br>
Last week I had a similar idea for a plugin that could tell you which <br>
UTM zone to pick for your current canvas. I decided it would not be <br>
worth the effort. But maybe these could go together (and be finished at <br>
the end of this "KwakFriday"?<br>
<br>
Regards,<br>
Raymond<br>
<br>
<br>
On 27-11-2020 06:13, Nicolas Cadieux wrote:<br>
> Hi,<br>
> <br>
> It's just the Z factor needed when you make a hillshade when the x an y <br>
> are in degrees and the z is in feet or meters (like SRTM). You can see <br>
> it if you choose Hillshade under symbology / render type (for a raster <br>
> layer).  It's basically the length of a degree in meters for latitude.<br>
> <br>
> <a href="https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/" rel="noreferrer" target="_blank">https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/</a> <br>
> <br>
> <br>
> Nicolas<br>
> <br>
> On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:<br>
>> On 11/27/20 5:28 AM, Nicolas Cadieux wrote:<br>
>>> I want to learn to make a QGIS plugin and I was wondering if anybody <br>
>>> new if there is a QGIS plugin or tool that calculates the z factor <br>
>>> for a particular latitude? I thought this would be an easy project to <br>
>>> start with but I don't want to duplicate someone else's work.<br>
>> Hi Nicolas,<br>
>><br>
>> What do you mean with "calculates the z factor for a particular <br>
>> latitude"?<br>
>><br>
>> - z-factor as in x,y,z?<br>
>> - Do you mean based on a crs/datum? So more proj-based?<br>
>> - Or do you mean based on a known dataset with not enough z-info? So <br>
>> more extra/intrapolation?<br>
>> - Raster? Vector?<br>
>> - Creating a new dataset (processing)? Or just reporting for one lat <br>
>> (desktop/gui)?<br>
>><br>
>> Just trying to get an idea of your idea :-)<br>
>><br>
>> Regards,<br>
>><br>
>> Richard Duivenvoorde<br>
>><br>
>><br>
>><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>
<span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span>Qgis-user@lists.osgeo.org</span><br><span>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br><span>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</span><br></div></blockquote></div></div></body></html>