DODS/OPeNDAP

司机简称

DODS

生成依赖项

利伯达普

已移除

This driver is considered for removal in GDAL 3.5. You are invited to convert any dataset in that format to another more common one. If you need this driver in future GDAL versions, create a ticket at https://github.com/OSGeo/gdal (look first for an existing one first) to explain how critical it is for you (but the GDAL project may still remove it). To enable use of the deprecated driver the GDAL_ENABLE_DEPRECATED_DRIVER_OGR_DODS configuration option / environment variable must be set to YES.

这个驱动程序实现了从OPeNDAP(DODS)服务器读取特性数据的只读支持。如果使用OPeNDAP支持库构建,则它可以选择性地包含在OGR中。

打开数据库时,其名称应以“DODS:url”的形式指定。URL可以包括此处显示的约束表达式a。请注意,如果命令行中的DODS url包含问号或与号和字符,则可能需要在命令行中引用或以其他方式保护这些url,因为它们通常对命令shell具有特殊意义。

DODS:http://dods.gso.uri.edu/dods-3.4/nph-dods/broad1999?&press=148

默认情况下,顶级序列、网格和数组对象将转换为相应的层。序列(默认情况下)被视为点图层,点几何图形从lat和lon变量(如果可用)中提取。为了提供更复杂的序列、网格或数组项到特性的转换,有必要从远程服务器或通过AIS机制在本地向OGR as DAS(dataset auxiliary information)提供附加信息。

OGR层的DAS定义可能类似于:

Attributes {
    ogr_layer_info {
    string layer_name WaterQuality;
    string spatial_ref WGS84;
    string target_container Water_Quality;
        layer_extents {
        Float64 x_min -180;
        Float64 y_min -90;
        Float64 x_max 180;
        Float64 y_max 90;
        }
        x_field {
            string name YR;
        string scope dds;
        }
        y_field {
            string name JD;
        string scope dds;
        }
    }
}

驱动程序功能

Supports Georeferencing

This driver supports georeferencing

告诫

  • 没有为dod中的属性字段捕获字段宽度。

  • 通过启用DODS缓存,可显著提高重复请求的性能。尝试在~/.dodsrc中设置USE_CACHE=1。

也见