Version 7 (modified by cedric, 15 years ago) (diff) |
---|
Using GDAL - Geospatial Data Abstraction Library ¶
back to Recipes for EDA CookBook Eda
gdal ¶
gdal url:http://www.gdal.org/
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 utilities for data translation and processing.
Cédric => What I've found at this site is not really helpfull, it is only python and c++ code.
url:http://www.bostongis.com/?content_name=ogr_cheatsheet => very good site !
url:http://trac.osgeo.org/gdal/ not really usefull
In fact gdal comes with two main tools (executable files), the command files for gdal are in C:\OSGeo4W\share\gdal
call >cmd
{{{C:\OSGeo4W\bin\ogr2ogr }}} or {{{C:\OSGeo4W\bin\ogrinfo }}}
Some work with postgres and so far I've failed to make them work either in rgdal or gdal, fuck ! ¶
todo more research here...
What works so far … ¶
Translating .mdb into shapes outside ESRI
C:\OSGeo4W\bin\ogr2ogr -f "ESRI Shapefile" C:\base\basesig\Czhyd.shp C:\base\basesig\Czhyd.mdb
Attention il faut mettre les fichiers à un endroit ou il n'y a pas d'espaces dans le chemin (ex : pas de "document and settings/"...)
rgdal ¶
Similar content in rgal library in R but with less support
best site for help is
url:http://www.bostongis.com/?content_name=ogr_cheatsheet
help for rgdal package
url:file:///C:/Program%20Files/R/R-2.10.0/library/rgdal/html/00Index.html