[gdal-dev] EPSG codes

2014-12-09 Thread Norman Barker
Hi, I am trying to extract the EPSG code from the SpatialReference object as follow; const char * pszEpsg; char **papszTokens; if (poSpatialRef->IsProjected()) pszEpsg = poSpatialRef->GetAttrNode("projcs")->GetNode("authority")->GetValue();

Re: [gdal-dev] gdalwarp/info failure on jp2 in secure AWS environment

2014-12-09 Thread Robert Coup
Does "gdalinfo --debug on --config CPL_CURL_VERBOSE YES ..." show 2x requests? I think the problem likely is the S3 signature is only valid for one file/url, not the corresponding .jp2.aux.xml file, so the request for the latter fails. Not sure of an easy way to fix that without writing a vsicurls

[gdal-dev] gdalwarp/info failure on jp2 in secure AWS environment

2014-12-09 Thread MWilson Matthew
Good afternoon, I've been trying to track down some intermittent failures and I believe I've come across something. I was able to run the gdalinfo command on imagery on s3 using a presigned url, vsicurl, and the following options: --config GDAL_HTTP_UNSAFESSL YES --config GDAL_DISABLE_READDIR_

[gdal-dev] GDALSuggestedWarpOutput() problem

2014-12-09 Thread joem
Hey everyone, I am working on a tool to project FAA charts from Lambert Conformal Conic to Web Mercator (EPSG 900913). It seems to be producing correct output except for a FAA chart of the East Aleutian Islands.When I traced the problem in my code, it appears that GDALSuggestedWarpOutput() i

Re: [gdal-dev] shp - inconsistent extent

2014-12-09 Thread Martin Landa
Hi, 2014-12-09 16:02 GMT+01:00 David Strip : > The linked file opens without warning or error in ArcGIS 10.2.2 and qgis > 2.0.1 for me. > Windows 7. it's strange, 10.2.1.3497, see the attached screenshot. QGIS has no problem. Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gism

Re: [gdal-dev] shp - inconsistent extent

2014-12-09 Thread David Strip
The linked file opens without warning or error in ArcGIS 10.2.2 and qgis 2.0.1 for me. Windows 7. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] shp - inconsistent extent

2014-12-09 Thread Andre Joost
Am 09.12.2014 um 10:33 schrieb Martin Landa: Broken shapefile can be found [1]. [1] http://geo1.fsv.cvut.cz/landa/parcely.zip The file gets loaded into QGIS without complaints. Does ARCGIS like the result of an ogr2ogr transformation of the file? Greetings, André Joost ___

Re: [gdal-dev] shp - inconsistent extent

2014-12-09 Thread Martin Landa
Hi, 2014-12-03 11:49 GMT+01:00 Even Rouault : > Hum, could you "fix" / "repair" / "save as" the shapefile with ArcGIS, > whatever > it offers so it can generate a shapefile on which it doesn't protest anymore ? unfortunately ArcGIS is not able to fix such shapefile, repair geometry tool fails w