Importing large GADM vector data: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(Created page with "'''Q:''' How do I import very large data in GRASS? I.e. from [http://www.gadm.org/ GADM] <br\> '''A:''' In contrast to GADM v1, GADM v2 contains a lot of floating point repres...")
 
m (Neteler moved page Importing large vector data to Importing large GADM vector data: more meaningful title)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Q:''' How do I import very large data in GRASS? I.e. from [http://www.gadm.org/ GADM] <br\>
'''Q:''' How do I import very large data into GRASS GIS? I.e. from [http://www.gadm.org/ GADM]
'''A:''' In contrast to GADM v1, GADM v2 contains a lot of floating point representation errors in the coordinates, most probably created 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. And you should use GRASS 7 for the import of large vector data, because the import may not work with GRASS 6.


'''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.


[[Category:FAQ]]
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. To be able to use imported data in GRASS GIS 6, just rebuild vector topology (e.g., {{cmd|v.build}}).
 
 
[[Category: FAQ]]
[[Category: massive data analysis]]
[[Category: massive data analysis]]
[[Category: Import]]
[[Category: Vector]]

Latest revision as of 20:05, 18 September 2016

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).