Skip to content
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

Overlaps in lines from NGIS-OpenAPI #124

Open
larsop opened this issue Jun 24, 2023 · 1 comment
Open

Overlaps in lines from NGIS-OpenAPI #124

larsop opened this issue Jun 24, 2023 · 1 comment

Comments

@larsop
Copy link
Contributor

larsop commented Jun 24, 2023

In the attached picture we se overlap in the data we get from NGIS OpenAPI and this is not expected then we can not use those lines when editing in AR5 Web

Screenshot 2023-06-24 at 08 03 36

The downloaded data and more details can found at https://gitlab.com/nibioopensource/ar5web_pgtopo_update_sql/-/issues/35 and related MR.

@larsop
Copy link
Contributor Author

larsop commented Jun 24, 2023

The main problem is distance between a node and the line. With current the setup in QMS we get very small tiny spikes where the red part off the lines are almost parallel . In Postgis Topology we snap this red part of the line to single line with the current setup . By changing the tolerance to 1e-10 from 1e-9 we avoid that line node snaps to the line in this case. The area covered by to lines in the red part off the lines are close to nothing and does not make a sense to keep. Using 1e-15 other tests with errors like this "ERROR: Exterior ring is not closed for surface 9556d93b-69e4-4c8c-a510-e7dfed78ab00 using...."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant