<div dir="ltr">If you plan to transform to a different system anyway, I would definitely prefer going to geographical coordinates, and computing the length of the geodesic between the two points.<div><br></div><div>First step in converting between a projected system and the earth centered cartesian XYZ, is using the inverse of the source system, going to geographical anyway. So the difference in computational cost between a geodesic and a 3D cartesian computation, will probably be negligible. </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Den tirs. 21. jan. 2025 kl. 09.18 skrev Peter Bennewitz via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
    
  
  <div>
    Dear all,<br>
    <br>
    it's more of an application question than a developer's , - AFAIK
    there's only 'gdal-dev' ?  Mea culpa if this doesn't belong here.<br>
    <br>
    To get exact distances between local points, UTM requires a
    correction factor, depending on local height and distance to the UTM
    reference meridian. Mainly due to UTM's 6deg steps, - as opposed to
    the smaller 3deg of GK, where this correction could have been
    neglected. My current idea is be to transform an area of 10km x 12km
    to XYZ coordinates that closely match 'field measurable' distances
    between two points.<br>
    <br>
    (Pls note that this isn't LatLon<->UTM , for which there are
    heaps of howto websites)<br>
    <br>
    What would be the advised way to handle this in GDAL ?  Or a good
    keyword to find this in the GDAL doc ?  "local coordinates" maybe ?
    Or convert the dataset to the older GK and just use that ?<br>
    <br>
    Any pointers much appreciated, TIA, best,<br>
    Peter<br>
  </div>

_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>