[gdal-dev] GDALContourGenerate() and kml

winkey rush at winkey.org
Mon Jan 28 23:35:27 EST 2008


It seems there is an issue with contouring directly to kml

If you set ID and ELEV OGR fields, they end up with field id's of 2 and
3, name and description have 0 and 1. gdal_contour as well as my code
assumes id's of 0 and 1.

If you contour to another OGR format then translate to kml, ID and ELEV
are set, name and description are missing.

if your use id's of 2 and 3 when contouring to kml, ID and ELEV are set,
but if you contour to a different OGR format then translate to kml then
no fields are set.

thanks
brian



More information about the gdal-dev mailing list