[gdal-dev] Gdal contour number of contour with -p
Julien Cabieces
julien.cabieces at oslandia.com
Wed Sep 26 00:30:53 PDT 2018
Hi,
I notice that executing gdal_contour has different number of contour
with or without -p option.
gdal_contourĀ -b 1 -a level -fl 1 -f GPKG NETCDF:"/tmp/myfile.nc":MYVAR
/tmp/outfile.gpkg
This generates one contour line.
gdal_contourĀ -p -b 1 -a level -fl 1 -f GPKG
NETCDF:"/tmp/myfile.nc":MYVAR /tmp/outfile.gpkg
This generates two contour polygons, one where all values are greater
than 1 and other one where all values are lesser than 1.
I was wondering if it wouldn't be better to generate only one polygon
contour where all values are greater than 1, in order to keep the same
contour number with or without the option.
Regards,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2489 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180926/a8840542/attachment.key>
More information about the gdal-dev
mailing list