Re: [gdal-dev] OGR distance different than in ArcGIS

2013-03-06 Thread Uli Strötz
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? _

Re: [gdal-dev] OGR distance different than in ArcGIS

2013-03-06 Thread Uli Strötz
gt; approach will be needed. > > Best regards, > Frank > > On Wed, Mar 6, 2013 at 2:49 PM, Uli Strötz wrote: > >> >>I want to determine the shortest distance between a point and a line. >> I use the following Python script to do so. If I compare the r

[gdal-dev] OGR distance different than in ArcGIS

2013-03-06 Thread Uli Strötz
I want to determine the shortest distance between a point and a line. I use the following Python script to do so. If I compare the result of the script with the result of ArcMap's Near Analysis, I get a completely different results. The shapefiles are in the CRS GCS_North_American_1983 and projecte