OGR: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) |
Stefan (Diskussion | Beiträge) |
||
Zeile 16: | Zeile 16: | ||
* http://www.gdal.org/ogr/ > OGR Supported Formats | * http://www.gdal.org/ogr/ > OGR Supported Formats | ||
** Beispiel mit [[INTERLIS]]: http://www.gdal.org/ogr/drv_ili.html | ** Beispiel mit [[INTERLIS]]: http://www.gdal.org/ogr/drv_ili.html | ||
+ | |||
+ | == Beispiele == | ||
+ | |||
+ | === Konvertiere INTERLIS 1 nach Shape === | ||
+ | |||
+ | Konvertieren von INTERLIS 1-Dateien (.itf und .ili) nach [[Shapefile]]. | ||
+ | |||
+ | * Input: ili-bsp.itf and ili-bsp.ili | ||
+ | * Resultat: Für jede INTERLIS 1-Tabelle wird eine shapefile erzeugt im Output-Verzeichnis shpdir/ | ||
+ | |||
+ | % ogr2ogr -f "ESRI Shapefile" shpdir ili-bsp.itf,ili-bsp.ili | ||
== Weblinks == | == Weblinks == |
Version vom 29. Oktober 2007, 11:29 Uhr
OGR Simple Feature Library: OGR Simple Features Library is a part of the GDAL library which is part of FWTools.
OGR is a C++ open source library (and commandline tools like OGR2OGR) providing read (and sometimes write) access to a variety of vector file formats including Shapefiles, Mapinfo mid/mif and TAB formats.
Siehe auch:
Inhaltsverzeichnis
Software
- OGR wird als Teil der FWTools verteilt (Linux und Windows-Version])
ogr2ogr
Dokumentation:
- http://www.gdal.org/ogr/ogr2ogr.html
- http://www.gdal.org/ogr/ > OGR Supported Formats
- Beispiel mit INTERLIS: http://www.gdal.org/ogr/drv_ili.html
Beispiele
Konvertiere INTERLIS 1 nach Shape
Konvertieren von INTERLIS 1-Dateien (.itf und .ili) nach Shapefile.
- Input: ili-bsp.itf and ili-bsp.ili
- Resultat: Für jede INTERLIS 1-Tabelle wird eine shapefile erzeugt im Output-Verzeichnis shpdir/
% ogr2ogr -f "ESRI Shapefile" shpdir ili-bsp.itf,ili-bsp.ili
Weblinks
- OGR Simple Feature Library Home (=> FWTools): http://www.gdal.org/ogr/