GMT ASCII矢量(.GMT)

司机简称

GMT

Driver built-in by default

This driver is built-in by default

OGR支持读写GMT-ASCII矢量格式。这是Generic Mapping Tools(GMT)包使用的格式,包括最近添加到该格式的内容,以处理更多的几何类型和属性。目前只支持扩展名为“.GMT”的GMT文件。根据在第一个顶点之前是否遇到“>”行,旧的(简单)GMT文件将被视为点文件或线字符串文件。新样式文件具有多种辅助信息,包括标题注释中的几何类型、图层范围、坐标系和属性字段声明,并且对于每个要素都可以具有属性。

驱动程序功能

Supports Create()

This driver supports the GDALDriver::Create() operation

Supports Georeferencing

This driver supports georeferencing

Supports VirtualIO

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

创建问题

驱动程序支持创建新的GMT文件,并将其他功能附加到现有文件,但不支持更新现有功能。每一层都作为单独的.gmt文件创建。如果没有给出以.gmt结尾的名称,则gmt驱动程序将采用层名称并添加“.gmt”扩展名。

Writing to /dev/stdout or /vsistdout/ is supported since GDAL 3.5.0 (note that the file will then lack the optional region/bounding box header item)