Ogr目前是gdal的一个组成部分,那什么是gdal呢?其官方主页(http://www.gdal.org)上如此介绍:
GDAL is a translator library for raster geospatial data formats that is released under an X/MIT
style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a
single abstract data model to the calling application for all supported formats. It also comes with a
variety of useful commandline utilties for data translation and processing.
简单地说,Gdal是一个各种gis数据格式的转换软件库,ogr则是转换矢量GIS数据的软件库。目前ogr能够支持的数据格式包括:
Arc/Info Binary Coverage、DWG、ESRI Personal GeoDatabase、ArcSDE、ESRI Shapefile、GML、GRASS、Mapinfo File、Microstation DGN、ODBC、Oracle Spatial和PostgreSQL等。应该说,这就基本包括了我们平常用到的所有矢量型GIS文件格式了。
待续......