Data formats: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
m ({{AddonSrc|imagery|i.landsat8.swlst|version=7}})
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''''' Please help create this page! '''''  <- what is the scope of this page?  ''You name it!''
''''' Please help expand this page! '''''  <- what is the scope of this page?  ''You name it!''


== General formats ==
== General formats ==
Line 9: Line 9:
  ogrinfo --formats
  ogrinfo --formats


* [[netCDF]] support


== GIS formats ==
== GIS formats ==
Line 20: Line 22:
: v.in.ogr or ogr2ogr to make a shapefile first?
: v.in.ogr or ogr2ogr to make a shapefile first?


* Managing [[Vmap0 data]] (Digital Chart of the World)
* Managing [[Global_datasets#VMap0|Vmap0 data]] (Digital Chart of the World)
: See GRASS-News article
: See GRASS-News article: M. Neteler, 2005. ''SRTM and VMAP0 data in OGR and GRASS''. GRASS Newsletter, Vol.3, pp 2-6, June 2005. [http://grass.osgeo.org/newsletter/GRASSNews_vol3.pdf PDF] and [http://grass.osgeo.org/newsletter/GRASSNews_vol3_erratum.pdf erratum]


* Managing [[S-57 data]]
* Managing [[S-57 data]]
Line 28: Line 30:
* Managing [[BSB data]]
* Managing [[BSB data]]
: for Rasterized Nautical Charts (RNCs)
: for Rasterized Nautical Charts (RNCs)
== Databases and SQL ==
* GRASS {{cmd|databaseintro}} help page
* GRASS {{cmd|sql}} help page
* {{cmd|grass-dbf}} help page
=== RDBMS ===
==== ODBC ====
* Tips for working with [[ODBC]] RDBMSs
** {{cmd|grass-odbc}} help page
: http://gdal.osgeo.org/ogr/drv_odbc.html
==== MySQL ====
* Tips for working with [[MySQL]]
** {{cmd|grass-mysql}} help page
** {{cmd|grass-mesql}} help page
: http://gdal.osgeo.org/ogr/drv_mysql.html
: http://dev.mysql.com/doc/refman/4.1/en/spatial-extensions.html
: http://dev.mysql.com/tech-resources/articles/4.1/gis-with-mysql.html
==== PostgreSQL and PostGIS ====
* Tips for working with [[PostgreSQL]]/[[PostGIS]]
** {{cmd|grass-pg}} help page
** {{cmd|v.external}} help page
** {{cmd|v.in.ogr}} help page
: http://gdal.osgeo.org/ogr/drv_pg.html
==== Oracle ====
* Tips for working with [[Oracle Spatial]]
** {{cmd|grass-odbc}} help page
: http://gdal.osgeo.org/ogr/drv_oci.html
==== SQLite and SpatiaLite ====
* Tips for working with [[SQLite]]/[[SpatiaLite]]
** {{cmd|grass-sqlite}} help page
: http://gdal.osgeo.org/ogr/drv_sqlite.html
: http://www.gaia-gis.it/spatialite/
: http://lists.osgeo.org/pipermail/aust-nz/2008-April/000454.html
==== Microsoft Access ====
Four possible ways to import .mdb:
* via unixODBC driver (see above)
* via [http://code.google.com/p/mdb-sqlite/ mdb-sqlite] - automated conversion of MS Access 2000 databases to SQLite on any platform
* via GDAL/OGR:
** [http://www.gdal.org/ogr/drv_mdb.html MDB driver] (GDAL/OGR >= 1.9.0 needed)
** [http://www.gdal.org/ogr/drv_geomedia.html Geomedia] GDAL driver
** old [http://www.gdal.org/ogr/drv_pgeo.html PGeo] driver
* via [http://www.r-project.org/ R-statistics]
<source lang="bash">
R
install.packages('Hmisc', dependencies=TRUE)
library(Hmisc)
</source>


== Satellite data ==
== Satellite data ==


* [[Landsat data]]
* [[Global_datasets#LANDSAT|Landsat data]]
** r.in.wms
** {{cmd|r.in.wms}}
** r.in.onearth
** [[GRASS_AddOns#r.in.onearth|r.in.onearth]]
** i.landsat.rgb
** {{cmd|i.landsat.rgb}} (GRASS 6.x) | {{cmd|i.colors.enhance}}
 


* Managing [[MODIS|HDF data]]
* Managing [[MODIS|HDF data]]
** [[MODIS|MODIS data]]
** [[MODIS|MODIS data]]
** [[MODIS#SeaWiFS|SeaWiFS data]]
** [[SeaWiFS]] data
** Pathfinder [[AVHRR]] SST
 
* [[Marine_Science#Bathymetric_data|Global bathymetry dataset]] derived from satellite radar altimetry  of the sea surface inferring local gravitational anomalies 
 
* {{wikipedia|SRTM}} - Space Shuttle Radar Topography Mission dataset
** {{cmd|r.in.srtm}}
** [[Tips_and_Tricks#Importing_SRTM30plus_data|SRTM 30plus dataset]]
 
== Global datasets ==
 
(''see the [[Global datasets]] page'')
* NASA [[Blue Marble]] imagery
* [[Global_datasets#ETOPO1|ETOPO]] world topography/bathymetry
* [[Global_datasets#Smith_and_Sandwell|Smith and Sandwell]] 1-minute global elevation
* [[Global_datasets#GEBCO|GEBCO]] General Bathymetric Chart of the Oceans
* [[GRIB]] meteorologic data
 
== GRASS's data formats ==


* TODO: link to those here
: For now see the [[Development]] pages




== See also ==
Some hints can be found on these pages:
Some hints can be found on these pages:


Line 49: Line 128:
* [[Tips for Arc users]]
* [[Tips for Arc users]]


[[Category:Documentation]]
[[Category: Documentation]]
[[Category: Import]]

Latest revision as of 10:25, 4 December 2018

Please help expand this page! <- what is the scope of this page? You name it!

General formats

Supported raster formats with r.in.gdal and r.out.gdal:

gdalinfo --formats

Supported vector formats with v.in.ogr and v.out.ogr

ogrinfo --formats


GIS formats

v.in.ogr or ogr2ogr to make a shapefile first?
See GRASS-News article: M. Neteler, 2005. SRTM and VMAP0 data in OGR and GRASS. GRASS Newsletter, Vol.3, pp 2-6, June 2005. PDF and erratum
for Electronic Nautical Charts (ENCs)
for Rasterized Nautical Charts (RNCs)

Databases and SQL

RDBMS

ODBC

http://gdal.osgeo.org/ogr/drv_odbc.html

MySQL

http://gdal.osgeo.org/ogr/drv_mysql.html
http://dev.mysql.com/doc/refman/4.1/en/spatial-extensions.html
http://dev.mysql.com/tech-resources/articles/4.1/gis-with-mysql.html

PostgreSQL and PostGIS

http://gdal.osgeo.org/ogr/drv_pg.html

Oracle

http://gdal.osgeo.org/ogr/drv_oci.html

SQLite and SpatiaLite

http://gdal.osgeo.org/ogr/drv_sqlite.html
http://www.gaia-gis.it/spatialite/
http://lists.osgeo.org/pipermail/aust-nz/2008-April/000454.html

Microsoft Access

Four possible ways to import .mdb:

  • via unixODBC driver (see above)
  • via mdb-sqlite - automated conversion of MS Access 2000 databases to SQLite on any platform
  • via GDAL/OGR:
  • via R-statistics
R
install.packages('Hmisc', dependencies=TRUE)
library(Hmisc)

Satellite data

Global datasets

(see the Global datasets page)

GRASS's data formats

  • TODO: link to those here
For now see the Development pages


See also

Some hints can be found on these pages: