[gdal-dev] UTF-8 and layer names

2020-08-30 Thread Nyall Dawson
Hi list, While looking into https://github.com/OSGeo/gdal/issues/2894 , I hit a bit of confusion about the expected encoding of OGR dataset layer names. I've been looking over the related RFCS: - https://gdal.org/development/rfc/rfc5_unicode.html - https://gdal.org/development/rfc/rfc23_ogr_unico

[gdal-dev] featureCollection within a featureCollection

2020-08-30 Thread skyking
Hello, I'm having trouble parsing some GML via Python/ogr and would like some advice. The GML has as the top level a FeatureCollection which has 3 featureMembers. However, each of those featureMembers contains a FeatureCollection within it containing any number of featureMembers. While pa

[gdal-dev] gdal_translate into netCDF file will lose some important metadata items such as scale_factor and add_offset

2020-08-30 Thread Zhan Li
Hi, when I use gdal_translate to convert a raster file (e.g., either GTiff or VRT) into netCDF format, it always loses some important metadata items such as scale_factor, add_offset and etc. What am I doing it wrong? Can anyone help me to solve this problem? Here I'm using an example NetCDF file f

Re: [gdal-dev] gdal.open won't read short format

2020-08-30 Thread Even Rouault
Tom, > I'm trying to remap a layer from a NETCDF file (Cloud top height) from its > native geostationary projection to a simple lat-lon projection, using gdal > through python. I was successful so far, until the data format was changed > from "Byte" to "short". Now the gdal.open command combined w

[gdal-dev] gdal.open won't read short format

2020-08-30 Thread Tom Dror-Schwartz
Hello, I'm trying to remap a layer from a NETCDF file (Cloud top height) from its native geostationary projection to a simple lat-lon projection, using gdal through python. I was successful so far, until the data format was changed from "Byte" to "short". Now the gdal.open command combined with