Difference between revisions of "Importing large GADM vector data"

From GRASS-Wiki
Jump to: navigation, search
(wording, +download url)
Line 5: Line 5:
 
  v.in.ogr ... snap=1e-7
 
  v.in.ogr ... snap=1e-7
  
Important: You should use the improved [http://grass.osgeo.org/download/software/ GRASS GIS 7] for the import of large vector data, because the import may not work with GRASS GIS 6.
+
Important: You should use the improved [http://grass.osgeo.org/download/software/ GRASS GIS 7] for the import of large vector data, because the import may not work with GRASS GIS 6. To be able to use imported data in GRASS GIS 6, just rebuild vector topology (e.g., {{cmd|v.build}}).
  
  
 
[[Category:FAQ]]
 
[[Category:FAQ]]
 
[[Category: massive data analysis]]
 
[[Category: massive data analysis]]

Revision as of 06:13, 11 February 2013

Q: How do I import very large data into GRASS GIS? I.e. from GADM

A: In contrast to the older GADM v1, GADM v2 contains a lot of floating point representation errors in the coordinates, most probably caused by the software used to create GADM v2. You need to perform additional cleaning with snapping to a very small threshold, i.e.

v.in.ogr ... snap=1e-7

Important: You should use the improved GRASS GIS 7 for the import of large vector data, because the import may not work with GRASS GIS 6. To be able to use imported data in GRASS GIS 6, just rebuild vector topology (e.g., v.build).