europlanet-gmap / mappy

qgis plugin for creating geological maps from limits and points
GNU General Public License v3.0
5 stars 0 forks source link

Import Features #12

Open okaragoz opened 2 years ago

okaragoz commented 2 years ago

Is it possible to include import features for geo-package or shapefile vector files? I tried to replace "input --> layer limits" with my existing vector files (gpkg and shp) with 6000 polylines, and QGIS crashes when I clicked reproduce map.

The specs are Ryzen 9 5900X, 32 Gb Ram, Nvme SSD, Python 3.9, and QGIS 3.22.

luca-penasa commented 2 years ago

Hi @okaragoz

It should work without too many issues also with your own files.

This is probably due to the dense dataset you are processing. We never tested with so many lines. Anyway, the polygon generation should work within a reasonable time. What is likely to stuck the computation is the generation of clean lines, which implementation is currently super-slow.

If you are using the new interface try disabling that option.

If you are willing to share your dataset, or a similar one I'd be happy to see if we can do anything about it.

okaragoz commented 2 years ago

Hi @luca-penasa Thanks for the reply. Unfortunately, it is not possible to share the dataset, however, I have experienced the same problem when I do a test with other vector datasets. For example, I tested the Tanaka 2014 (SIM3292) polygon shapefile and I converted it to polylines (with closed line boundaries). I export it to gpkg and replaced it with the "input --> layer limits" dataset. QGIS crashes whenever I clicked reproduce map.

PSI: The new interface is disabled and I don't think there is a problem with the file size.

luca-penasa commented 2 years ago

Following up on this. I tried to use the tanaka dataset with mappy and here are some points for easier import existing mapping projects: