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

2019-01-17 Thread Emilio Mayorga
FYI, until recently representation of vector geometries in netCDF-CF has not been standardized. But there's a mature proposal/spec in place for "simple geometries" that's close to being officially adopted by CF. See: https://github.com/twhiteaker/netCDF-CF-simple-geometry https://cf-trac.llnl.gov/t

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

2019-01-16 Thread Even Rouault
David, > > Thanks for sharing the updated sample product with srs info included. > > I was able to mimic you polygon formatting in the attached TEST.nc file. > Unfortunately I was not able to get the srs info captured in my shape file > when applying ogr2ogr. > I am using the same crs I used suc

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

2019-01-15 Thread Bekaert, David (334H)
Hi GDAL developers, Even, Thanks for sharing the updated sample product with srs info included. I was able to mimic you polygon formatting in the attached TEST.nc file. Unfortunately I was not able to get the srs info captured in my shape file when applying ogr2ogr. I am using the same crs I use

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] 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