ODS-打开文档电子表格

司机简称

ODS

生成依赖项

libexpat公司

此驱动程序可以读取、写入和更新OpenOffice/LibreOffice/KSpread/etc等应用程序使用的开放文档电子表格格式的电子表格。。。

只有在针对Expat库编译GDAL/OGR时,驱动程序才可用。

每一页都显示为OGR层。没有直接可用的几何支持(但您可以使用OGR VRT功能)。

注1:不支持带有密码的电子表格。

注2:更新现有文档时,所有OGR无法理解的现有样式、格式、公式和其他概念(图表、图形、宏等)都将丢失:该文档是从OGR数据模型从头开始重新编写的。

驱动程序功能

Supports Create()

This driver supports the GDALDriver::Create() operation

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)

配置选项

The following configuration options are available:

  • OGR_ODS_HEADERS = FORCE / DISABLE / AUTO : By default, the driver will read the first lines of each sheet to detect if the first line might be the name of columns. If set to FORCE, the driver will consider the first line will be taken as the header line. If set to DISABLE, it will be considered as the first feature. Otherwise auto-detection will occur.

  • OGR_ODS_FIELD_TYPES = STRING / AUTO : By default, the driver will try to detect the data type of fields. If set to STRING, all fields will be of String type.