Importing data: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
Line 12: Line 12:
  Raster formats:  File → Import raster data using GDAL
  Raster formats:  File → Import raster data using GDAL
  Vector formats:  File → Import vector data using OGR
  Vector formats:  File → Import vector data using OGR
* Many [http://www.gpsbabel.org/capabilities.shtml GPS formats] can imported with [http://www.gpsbabel.org GPSBabel] as well using the {{cmd|v.in.gpsbabel}} tool.





Revision as of 08:55, 21 February 2010

Getting your data into GRASS

GRASS supports many common GIS formats, and many uncommon ones too.

The primary import/export tool is called GDAL/OGR. It is the Rosetta Stone of the free GIS world.


Create a new location for your data with the correct map projection using the Location Wizard on the main startup screen, then in the menus:

Raster formats:  File → Import raster data using GDAL
Vector formats:  File → Import vector data using OGR



After the map has been imported you can add it to the display layer list in the Layer Manager window. You will most likely want to right click on the map in the layer list and select "Zoom to selected map(s)". Otherwise when you go to view the map you could be far away and just see a white display canvas.

To view a raster map, add it to the Layer Manager with the grid-like button with a (+), to add a vector map to the Layer Manager use the button with lines and points on it to the right of the add raster map button. The left hand button in the Map Display window will re-render the map if needed.

The "computation region" is a very important concept in GRASS. You can read about it in the rasterintro help page. You can set the computation region and cell resolution to match a specific map with the g.region module.


External links

Bulk data import

  • wxGUI menu tools


Modules

Raster

Vector and points

Data formats