[GRASS-user] Estimating import time for large data file
Markus Neteler
neteler at osgeo.org
Sun May 31 08:01:48 PDT 2020
On Fri, May 29, 2020 at 2:52 PM Moritz Lennert
<mlennert at club.worldonline.be> wrote:
> On 29/05/20 14:37, Rich Shepard wrote:
> > On Fri, 29 May 2020, Moritz Lennert wrote:
...
> Another, untested, path for possibly speeding up import: use ogr2ogr
> with the -simplify option to first simplify the geometry, if that is
> possible in your case. Would be interesting to benchmark v.in.ogr alone
> against ogr2ogr -simply + v.in.ogr.
ogr2ogr
-simplify <tolerance>
Distance tolerance for simplification. Note: the algorithm used
preserves topology per feature, in particular for polygon geometries,
but not for a whole layer.
... keep in mind that AFAIK this may damage the topology (i.e. gaps
and slivers may arise between polygons).
So, select the <tolerance> with care...
Markus
More information about the grass-user
mailing list