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

Fix CompoundCurve::validateConstruction for curves with empty elements #1167

Open
dbaston opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@dbaston
Copy link
Member

dbaston commented Sep 24, 2024

          I may miss something, but it is not obvious to me that you can't insert an empty curve in a CompoundCurve, in which case back() and front() are returning something invalid. At least if using directly the CompoundCurve::CompoundCurve(std::vector<std::unique_ptr<SimpleCurve>>&& p_curves,                              const GeometryFactory& gf) constructor. That might be hard/impossible to trigger through WKT.  But maybe through WKB ?

Originally posted by @rouault in #1164 (comment)

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