Difference between revisions of "Tips for Arc users"

From GRASS-Wiki
Jump to navigation Jump to search
Line 5: Line 5:




Grass provides convertors for importing ESRI shapefiles, e00 files, and many other GIS formats as well. The key Grass programs for importing vector formats are [http://grass.itc.it/grass61/manuals/html61_user/v.in.ogr.html v.in.ogr] (for ESRI shapefiles, MapInfo files, SDTS, TIGER, etc.) and v.in.e00 for e00 format.
Grass provides convertors for importing ESRI shapefiles, e00 files, and many other GIS formats as well. The key Grass programs for importing vector formats are [http://grass.itc.it/grass61/manuals/html61_user/v.in.ogr.html v.in.ogr] (for ESRI shapefiles, MapInfo files, SDTS, TIGER, etc.) and [http://grass.itc.it/grass61/manuals/html61_user/v.in.e00.html v.in.e00] for e00 format.


Example 1: Import of Shapefiles
Example 1: Import of Shapefiles
Line 12: Line 12:




This is the syntax for v.in.ogr in its most basic form. The 'dsn' parameter corresponds to the directory path of the vector you are trying to import. Yes, you must enter a full path, not a relative path. The output paramter, aptly enough, is the name of your output Grass vector. The ''layer'' parameter is the name of the input vector, be it shapefile, MapInfo file, or what have you.
This is the syntax for v.in.ogr in its most basic form. The 'dsn' parameter corresponds to the directory path of the vector you are trying to import. You must enter a full path, not a relative path. The output paramter, aptly enough, is the name of your output Grass vector. The ''layer'' parameter is the name of the input vector, be it shapefile, MapInfo file, or what have you.

Revision as of 18:01, 15 June 2006

Working with your ArcGIS data

Importing ArcGIS Data


Grass provides convertors for importing ESRI shapefiles, e00 files, and many other GIS formats as well. The key Grass programs for importing vector formats are v.in.ogr (for ESRI shapefiles, MapInfo files, SDTS, TIGER, etc.) and v.in.e00 for e00 format.

Example 1: Import of Shapefiles

v.in.ogr dsn=/home/data/navigation_files output=Tracklines layer=Ship_Tracklines


This is the syntax for v.in.ogr in its most basic form. The 'dsn' parameter corresponds to the directory path of the vector you are trying to import. You must enter a full path, not a relative path. The output paramter, aptly enough, is the name of your output Grass vector. The layer parameter is the name of the input vector, be it shapefile, MapInfo file, or what have you.