-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] v.out.postgis enhancement #406
Comments
Just a small update, if you need I fund that enhancement it's not a problem but I can do that only until end of this year :/ |
The result of v.out.ogr is correct, the result of v.out.postgis is wrong. If I understand correctly, the vector to be exported has been imported previously with More detailed explanations: See also vector categories |
Dear @metzm |
Solve by using v.out.ogr instead and then clean duplicate with PostGIS |
Is your feature request related to a problem? Please describe.
With v.out.postgis everything is correctly exported from GRASS to PostGIS database but taking from an hour to 4-6 hours to be reimported.
v.out.ogr is faster 10 to 30 minutes but layer rendering is different with overlap and duplicate feature.
Input layer example :
Some of features are duplicated or overlapping.
v.out.org result :
GRASS cuts and intersects everything but duplicate (underlap / overlap) are still keep even if we use layer argument (try 0 or 1 or 2),
0 keep only duplicate, 1 keep everything, 2 is empty or not exists.
v.out.postgis result :
GRASS cuts everything and there is no under or overlap with other object. I've got one and perfectly clean layer.
Describe the solution you'd like
Same quality of v.out.postgis but as fast as v.out.ogr
Describe alternatives you've considered
Export v.out.org > GPKG and then reimport GPKG to PostGIS ... Bad alternative from my opinion.
Additional context
We produce "heavy" layer such as Urban Atlas, High Resolution Layer, (for Copernicus Land Monitoring). Lot of nodes, polygons, etc.
The text was updated successfully, but these errors were encountered: