[gdal-dev] in gdal_contour elevation field not for polygons?

Even Rouault even.rouault at spatialys.com
Mon Apr 1 05:34:30 PDT 2019


On lundi 1 avril 2019 13:02:12 CEST Armin Schmidt wrote:
> In gdal_contour it seems that the "-a" elevation field creation only
> works for linestrings, not polygons (-p). Is this intended behaviour?

Yes, you need to use -amin and/or -amax in -p mode since the polygons are 
valid for a range of altitudes. The doc and code wasn't really clear about 
that. I've just improved it.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list