<div dir="ltr">Uli,<div style> Unless your neighbors are very localized (in an undistorted projection), I would recommend using some geodesic methods (in ArcMap or OGR).</div><div style><br></div><div style>For ArcMap, you can beat this free add-on (Tools for Graphics and Shapes) which does geodesic lengths, areas, and azimuths no matter the input projection:</div>
<div style><a href="http://www.jennessent.com/arcgis/shapes_graphics.htm">http://www.jennessent.com/arcgis/shapes_graphics.htm</a> (very good documentation)<br></div><div style><br></div><div style>For OGR, I would recommend running the lat/lon pairs through or Haversine or Vincenty's equations.</div>
<div style>examples:<br></div><div style>Haversine: <a href="http://stackoverflow.com/questions/11703407/how-to-calculate-distance-between-points-on-python-side-of-my-appplication-in-wa">http://stackoverflow.com/questions/11703407/how-to-calculate-distance-between-points-on-python-side-of-my-appplication-in-wa</a><br>
</div><div style>Vincenty's: <a href="https://code.google.com/p/pyroms/source/browse/trunk/pyroms/greatcircle.py?r=58">https://code.google.com/p/pyroms/source/browse/trunk/pyroms/greatcircle.py?r=58</a><br></div><div style>
<br></div><div style>Good luck,</div><div style>Trent</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 5:33 PM, Uli Strötz <span dir="ltr"><<a href="mailto:ustroetz@gmail.com" target="_blank">ustroetz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for your answers. I tried number two and the files are projected in Albers (meters) (see attachment). The results are still the same as being unprojected. Is there a way to tell GDAL to only use the Projected Coordinate System instead of the CRS?<br>
<br><img alt=""><br>
</div>
<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br></div>