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

ILI 2 accept valid AREA overlaps #366

Closed
Tracked by #384
ltzur opened this issue Dec 2, 2022 · 5 comments
Closed
Tracked by #384

ILI 2 accept valid AREA overlaps #366

ltzur opened this issue Dec 2, 2022 · 5 comments
Milestone

Comments

@ltzur
Copy link

ltzur commented Dec 2, 2022

Beiliegendes Beispiel ZoPla_IlivalidatorTest.zip enthält drei Flächen, wo der ilivalidator viermal einen "Intersection overlap" meldet. Beim Darstellen dieser Geometrien mit FME ist auch bei maximalem Zoom keine Überschneidung feststellbar. Gemäss Modell (das für die Geometrie das entsprechende Basismodul des Bundes importiert) beträgt die tolerierte Überlappung 1mm oder kleiner.

@edigonzales
Copy link
Contributor

Ich habe die Daten mit ili2gpkg umgewandelt und dabei die Kreisbogen nicht segmentiert. An besagter Stelle sehe ich einen Overlap. Siehe georeferenziertes PNG im Zipfile.

Archive.zip

intersection

java -jar /Users/stefan/apps/ili2gpkg-4.8.0/ili2gpkg-4.8.0.jar --dbfile fubar2.gpkg --disableValidation --defaultSrsCode 2056 --models Nutzungsplanung_V310 --modeldir ".;https://models.geo.admin.ch" --doSchemaImport --import ZoPla_IlivalidatorTest.XTF

@claeis
Copy link
Owner

claeis commented Feb 16, 2023

Ja, es gibt einen Overlap. Die Frage ist aber, wieso wird er bemängelt, obwohl er kleiner als 0.05 ist.

claeis added a commit to claeis/iox-ili that referenced this issue Feb 16, 2023
@claeis
Copy link
Owner

claeis commented Feb 16, 2023

Das ist kein kleines Problem. Die Art und Weise, wie AREA in Ili 2 geprüft wird, muss überarbeitet werden. Bei SURFACE wird eine solcher Overlap korrekt entfernt/bereinigt. Bei AREA muss das aber anders gemacht werden, und zwar so, dass beide an die zu korrigierende Randlinie anstossenden Polygone gleich korrigiert werden.

@claeis claeis changed the title Intersection overlap ILI 2 accept valid AREA overlaps Feb 17, 2023
@claeis
Copy link
Owner

claeis commented May 25, 2023

Betrifft auch INTERLIS.areAreas()

@olivergrimm
Copy link

Mit der internen SNAPSHOT-Version mit refactored AREA-Validierung erfolgreich getestet > Es werden keine Overlaps mehr bemängelt:
ZoPla_ilivalidatorTest-New.log

@claeis claeis added this to the 1.14.3 milestone Aug 12, 2024
claeis added a commit that referenced this issue Aug 12, 2024
- XTF-AREA Refactoring (#384)
- ILI2 accept valid AREA overlaps (#366)
- iox-ili-1.23.1+
@claeis claeis closed this as completed Aug 19, 2024
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

4 participants