ogr

ogr

OGR簡單要素庫是一個開源C++庫,並帶有命令行工具,提供對各種矢量檔案格式的讀寫能力。支持檔案格式包括ESRI公司的shp格式,S - 57,SDTS,PostGIS,Oracle空間資料庫,和Mapinfo公司的mid/mif、TAB格式。

基本內容

OGR簡單要素庫是一個開源C++庫,並帶有命令行工具,提供對各種矢量檔案格式的讀寫能力。支持檔案格式包括ESRI公司的shp格式,S - 57,SDTS,PostGIS,Oracle空間資料庫,和Mapinfo公司的mid/mif、TAB格式。

OGR是GDAL庫的一部分。

OGR 支持的矢量檔案格式如下:

Format Name

Code

Creation

Georeferencing

Compiled by default

Aeronav FAA files

AeronavFAA

No

Yes

Yes

ESRI ArcObjects ArcObjects No Yes No, needs ESRI ArcObjects

Arc/Info Binary Coverage

AVCBin

No

Yes

Yes

Arc/Info .E00 (ASCII) Coverage

AVCE00

No

Yes

Yes

Arc/Info Generate

ARCGEN

No

No

Yes

Atlas BNA

BNA

Yes

No

Yes

AutoCAD DWG

DWG

No

No

No

AutoCAD DXF

DXF

Yes

No

Yes

Comma Separated Value (.csv)

CSV

Yes

No

Yes

CouchDB / GeoCouch

CouchDB

Yes

Yes

No, needs libcurl

DODS/OPeNDAP

DODS

No

Yes

No, needs libdap

EDIGEO

EDIGEO

No

Yes

Yes

ElasticSearch

ElasticSearch

Yes (write-only)

-

No, needs libcurl

ESRI FileGDB

FileGDB

Yes

Yes

No, needs FileGDB API library

ESRI Personal GeoDatabase

PGeo

No

Yes

No, needs ODBC library

ESRI ArcSDE

SDE

No

Yes

No, needs ESRI SDE

ESRI Shapefile

ESRI Shapefile

Yes

Yes

Yes

FMEObjects Gateway

FMEObjects Gateway

No

Yes

No, needs FME

GeoJSON

GeoJSON

Yes

Yes

Yes

Géoconcept Export

Geoconcept

Yes

Yes

Yes

Geomedia .mdb

Geomedia

No

No

No, needs ODBC library

GeoRSS

GeoRSS

Yes

Yes

Yes (read support needs libexpat)

Google Fusion Tables

GFT

Yes

Yes

No, needs libcurl

GML

GML

Yes

Yes

Yes (read support needs Xerces or libexpat)

GMT

GMT

Yes

Yes

Yes

GPSBabel

GPSBabel

Yes

Yes

Yes (needs GPSBabel and GPX driver)

GPX

GPX

Yes

Yes

Yes (read support needs libexpat)

GRASS

GRASS

No

Yes

No, needs libgrass

GPSTrackMaker (.gtm, .gtz)

GPSTrackMaker

Yes

Yes

Yes

Hydrographic Transfer Format

HTF

No

Yes

Yes

Idrisi Vector (.VCT)

Idrisi

No

Yes

Yes

Informix DataBlade

IDB

Yes

Yes

No, needs Informix DataBlade

INTERLIS

"Interlis 1" and "Interlis 2"

Yes

Yes

No, needs Xerces (INTERLIS model reading needs ili2c.jar)

INGRES

INGRES

Yes

No

No, needs INGRESS

KML

KML

Yes

Yes

Yes (read support needs libexpat)

LIBKML

LIBKML

Yes

Yes

No, needs libkml

Mapinfo File

MapInfo File

Yes

Yes

Yes

Microstation DGN

DGN

Yes

No

Yes

Access MDB (PGeo and Geomedia capable)

MDB

No

Yes

No, needs JDK/JRE

Memory

Memory

Yes

Yes

Yes

MySQL

MySQL

No

Yes

No, needs MySQL library

NAS - ALKIS

NAS

No

Yes

No, needs Xerces

Oracle Spatial

OCI

Yes

Yes

No, needs OCI library

ODBC

ODBC

No

Yes

No, needs ODBC library

MS SQL Spatial

MSSQLSpatial

Yes

Yes

No, needs ODBC library

Open Document Spreadsheet

ODS

Yes

No

No, needs libexpat

OGDI Vectors (VPF, VMAP, DCW)

OGDI

No

Yes

No, needs OGDI library

OpenAir

OpenAir

No

Yes

Yes

OpenStreetMap XML and PBF

OSM

No

Yes

No, needs libsqlite3 (and libexpat for OSM XML)

PCI Geomatics Database File

PCIDSK

No

No

Yes, using internal PCIDSK SDK (from GDAL 1.7.0)

Geospatial PDF

PDF

Yes

Yes

Yes (read supports need libpoppler or libpodofo support)

PDS

PDS

No

Yes

Yes

PGDump

PostgreSQL SQL dump

Yes

Yes

Yes

PostgreSQL/PostGIS

PostgreSQL/PostGIS

Yes

Yes

No, needs PostgreSQL client library (libpq)

EPIInfo .REC

REC

No

No

Yes

S-57 (ENC)

S57

No

Yes

Yes

SDTS

SDTS

No

Yes

Yes

SEG-P1 / UKOOA P1/90

SEGUKOOA

No

Yes

Yes

SEG-Y

SEGY

No

No

Yes

Norwegian SOSI Standard

SOSI

No

Yes

No, needs FYBA library

SQLite/SpatiaLite

SQLite

Yes

Yes

No, needs libsqlite3 or libspatialite

SUA

SUA

No

Yes

Yes

SVG

SVG

No

Yes

No, needs libexpat

UK .NTF

UK. NTF

No

Yes

Yes

U.S. Census TIGER/Line

TIGER

No

Yes

Yes

VFK data

VFK

No

Yes

Yes

VRT - Virtual Datasource

VRT

No

Yes

Yes

OGC WFS (Web Feature Service)

WFS

Yes

Yes

No, needs libcurl

MS Excel format

XLS

No

No

No, needs libfreexl

MS Office Open XML spreadsheet

XLSX

Yes

No

No, needs libexpat

X-Plane/Flighgear aeronautical data

XPLANE

No

Yes

Yes

相關搜尋

熱門詞條

聯絡我們