[gdal-dev] OFTStringList

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[gdal-dev] OFTStringList

Alan Stewart-2

Where is OFTStringList documented?

 

Alan Stewart

Senior Software Engineer

TerraGo Technologies

3200 Windy Hill Road, Suite 1550W

Atlanta, GA 30339 USA

O.  +1 678.391.9615

 

<a href="applewebdata://B24C0762-C7C9-4431-8518-ACC915448B89/www.terragotech.com">www.terragotech.com

 


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: OFTStringList

Even Rouault-2
On mardi 22 janvier 2019 18:42:23 CET Alan Stewart wrote:
> OFTStringList

in ogr_core.h: /** Array of strings */

What do you need to know exactly ? The best documentation is probably studying
the code in ogr/ogrfeature.cpp that deal with this type.

Even

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: OFTStringList

Even Rouault-2
On mardi 22 janvier 2019 19:35:52 CET Alan Stewart wrote:
> I take it then that there are no docs for that. I'm assuming char*[] with a
> final zero value to terminate. Examination of ogrfeature.cpp seems to
> confirm that.

Yes, papszFoo with no explicit list length is used in GDAL with that
semantics.

I've just improved the doc:
@param papszValues the values to assign. List of NUL-terminated string, ending
with a NULL pointer.

--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev