[Qgis-user] Lat Lon Tools question

Eric Sorensen e.b.s at me.com
Sat Feb 6 10:42:10 PST 2021


I’ll have to disagree with you Chris.  Zone 13N has a southern boarder that lies on the equator.


> On Feb 6, 2021, at 11:33 AM, chris hermansen <clhermansen at gmail.com> wrote:
> 
> Eric and list,
> 
> On Sat, Feb 6, 2021, 10:18 Eric Sorensen <e.b.s at me.com <mailto:e.b.s at me.com>> wrote:
> Hi,
> 
> I have waypoints from a Garmin GPS that I import from a gpx file into a vector layer.
> 
> In the gpx file, they are of the form;
> 
>   <wpt lat="35.908381976187229" lon="-106.282681999728084">
>     <ele>2262.188964999999826</ele>
>     <time>2021-02-05T18:03:05Z</time>
>     <name>Park</name>
>     <sym>Flag, Blue</sym>
>     <type>user</type>
>     <extensions>
>       <gpxx:WaypointExtension>
>         <gpxx:DisplayMode>SymbolAndName</gpxx:DisplayMode>
>       </gpxx:WaypointExtension>
>       <wptx1:WaypointExtension>
>         <wptx1:DisplayMode>SymbolAndName</wptx1:DisplayMode>
>       </wptx1:WaypointExtension>
>       <ctx:CreationTimeExtension>
>         <ctx:CreationTime>2021-02-05T18:03:05Z</ctx:CreationTime>
>       </ctx:CreationTimeExtension>
>     </extensions>
>   </wpt>
> 
> 
> They appear in the correct location in my project.  Now, I am trying to display a label at each point using rule-based labeling with the following expression;
> 
> concat(name, ', ', utm($Y, $X))
> 
> The labels appear as expected, except one small problem.  I know the points are in UTM zone 13S, yet the label shows zone 13N.
> 
> Your lat long 35,-106 are far west in the northern hemisphere. Therefore the UTM zone is 13N not 13S.
> 
> This is somewhere near Memphis Tennessee if I am not wrong.
> 
> 
> If you're expecting -35,-106 that's somewhere out in the Pacific far west of Santiago Chile
> 
> 
> Any thoughts on what I am doing wrong.
> 
> Maybe you want -35,+106?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210206/f9e69014/attachment.html>


More information about the Qgis-user mailing list