Re: [gdal-dev] GDAL app won't read SRS...

2019-01-11 Thread bradh
It might help if you can say how you built GDAL. For example, how did you set up the build-time variables in nmake.opt? https://github.com/OSGeo/gdal/blob/master/gdal/nmake.opt#L56 Does the DATADIR there point to the directory that contains the right data? Brad From: gdal-dev On Behalf

[gdal-dev] GDAL app won't read SRS...

2019-01-11 Thread TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC
Hello, I built GDAL 2.3.1 library from source on Windows successfully. To test the library out, I tried running "gdalinfo" on a GeoTIFF file, and it reported the following error... "ERROR 4: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to th

Re: [gdal-dev] vector representation in netcdf 4

2019-01-11 Thread Even Rouault
David, No need to test with QGIS, ogrinfo also shows that the SRS isn't recognized. This sample files was quickly hand generated with ncdump/ncgen without taking much care to the georeferencing. It lacks referencing the transverse_mercator variable in the vector fields. Like: char ogc

[gdal-dev] Zd

2019-01-11 Thread Pablo Sanfilippo
___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] vector representation in netcdf 4

2019-01-11 Thread Bekaert, David (334H)
Dear GDAL developers, I am looking into adding a wkt compatible polygon into a netcdf (version 4) file which also has raster information in it. Attached is a sample file generated by Even “mixed.nc” with a wkt polygon enclosed formatted as a string of numpy array. The sample allows to extract a

[gdal-dev] GDAL 1.9 and 2.2 different behaviour when cropping and displaying image

2019-01-11 Thread Gong, Shawn
Hi list, I found different behaviour when cropping and displaying image in OpenEV when using GDAL 1.9 and 2.2, that I couldn't explain: 1) 1st crop output_ds = gdal_array.OpenArray(imageData) raster_layer=RasterLayer(ds=output_ds) which calls __new__ and __init__, and generate self._ds 2) 2nd