[gdal-dev] OGR Field Types?

Even Rouault even.rouault at spatialys.com
Wed Apr 29 11:35:49 PDT 2015


Stefan
> 
> Questions:
> 1. How is 'binary' encoded? E.g. when defining binary in a CSV file,
> how is it encoded? Hex?

There's no support in the CSV driver for binary data

> 2. Can a field in a CSV input files have a IntegerList or a Binary?

No. Well on writing, the IntegerList will be serialized as a string. But not 
recognized as IntegerList on reading

> 3. What is the value delimiter in a field of type IntegerList,
> Integer64List, RealList, StringList?

The default serializatoin will be (number_of_elements:val1,val2,...,valn), but 
currently it is truncated to 80 chracters

> 4. "Boolean, Int16, Float32" are mentioned as subtypes. Are there more
> subtypes?

Not currently. See https://trac.osgeo.org/gdal/wiki/rfc50_ogr_field_subtype

Even

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


More information about the gdal-dev mailing list