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

OpenFileGDB: Fixed the problem of not excluding straight line segments when parsin… #10763

Closed
wants to merge 1 commit into from

Conversation

dingsl-giser
Copy link
Contributor

Fixed the problem of not excluding straight line segments when parsing arcs.

What does this PR do?

Fixed the problem of not excluding straight line segments when parsing circular arcs as CURVE_ARC_INTERIOR_POINT type.

What are related issues/pull requests?

When using openfilegdb driver to parse circular arc data in filegdb, circular arc is mistakenly parsed as CURVE_ARC_INTERIOR_POINT when it is a line.

ArcGIS:
image

QGIS:
image

This is the result of parsing the arc control point. It is actually a line, but it is classified as CURVE_ARC_INTERIOR_POINT:
image

@rouault
Copy link
Member

rouault commented Sep 11, 2024

@dingsl-giser Could you please provide a minimum reproducer for that (ideally one single geometry), so a regression test can be added

@dingsl-giser
Copy link
Contributor Author

@dingsl-giser Could you please provide a minimum reproducer for that (ideally one single geometry), so a regression test can be added

@rouault This is a circular arc polyline in filegdb with an IsLine attribute I created, you can test it.
test.gdb.zip

@rouault
Copy link
Member

rouault commented Sep 13, 2024

Thanks, I've picked your commit and added an automate test based on your test dataset. Closing this PR as superseded per #10791

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

Successfully merging this pull request may close these issues.

2 participants