Skip to content
Joel Pitt edited this page Feb 6, 2014 · 1 revision

GRASS uses it's own native raster and vector formats inside it's DB. Although you can occasionally get away with accessing other GIS data formats directly, the best method is to import these maps. The way you go about importing files depends on:

  • whether it's vector or raster; and
  • what format it's in
For raster maps, you can use one of the r.in.* commands. The most general command which supports the greatest number of formats is r.in.gdal - although this can sometimes be more difficult than using a command that's more specific to the format you're importing.

For vector maps, it's a similar story (v.in.*) with the general purpose command being called v.in.ogr.

Remember, you can get help for the commands with --help, or view the manual page of the command with g.manual r.in.gdal.

Also, for a model to be able to use the map it needs to either be in the model's core mapset, or within the PERMANENT mapset of the location the model is in.