[gdal-dev] char **papszOptions NULL terminated?

Frank Warmerdam warmerdam at pobox.com
Mon Jan 28 10:18:14 PST 2013


Simon,

You are correct - it must be null terminated as with the many other
uses of lists of strings in GDAL/OGR.

Best regards,
Frank

On Mon, Jan 28, 2013 at 7:01 AM, Simon Lyngby Kokkendorff
<silyko at gmail.com> wrote:
> Hi List,
>
>   I guess that a list of creation options (key=value pairs as a char** ) is
> supposed to be NULL-teminated (in e.g. OGR_Dr_CreateDataSource etc.) ? It
> might be obvious, at least it doesn't seem to be stated explicitly in the
> documentation in http://www.gdal.org/ogr/ogr__api_8h.html
>
>   Best regards,
>   Simon Kokkendorff, National Geodata Agency of Denmark
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer


More information about the gdal-dev mailing list