Elliptical Curve, NURBS, Clothoid, Spiral Curve
Jeroen Bloemscheer
jeroen.bloemscheer at merkator.com
Mon Oct 26 01:58:15 PDT 2026
Hi all,
I've added initial SQL/MM support for WKB types 20–23 (Elliptical Curve, NURBS, Clothoid, and Spiral Curve) and would appreciate a review of the implementation.
At this stage, Distance, Intersection, and point-location operations are not yet supported. Before proceeding further, I believe an architectural decision is needed regarding the naming and hierarchy of segment types beyond the existing ArcSegment and LineSegment classes. Possible approaches include introducing specific types such as CurveSegment, NURBSSegment, etc., or defining a more generalized abstraction that can accommodate future curve segment implementations.
While working on this, I also ran into and fixed three bugs that are now available as:
* fix/arc-segment-distance
* fix/arc-arc-distance
* fix/envelope-touching-distance
The bug fixes largely speak for themselves, but they did highlight some of the edge cases and assumptions that will likely become more important as support for additional curve types is expanded.
For Circle support, I currently see two possible directions. One is to build on the newly implemented NURBS infrastructure, leveraging its flexibility and existing framework. The other is to extend CircularString directly. Both approaches have advantages and disadvantages in terms of implementation complexity, consistency, performance, and long-term maintainability.
Feedback on the overall design, naming strategy, and preferred approach for Circle support would be greatly appreciated.
Thanks,
Jeroen Bloemscheer
________________________________
Jeroen Bloemscheer
Geo-IT Consultant
Zaltbommel
[Merkator]
m: +31 (0)6 478 728 18
e: jeroen.bloemscheer at merkator.com
Merkator BV
Hogeweg 137a
5301 LL Zaltbommel(NL)
www.merkator.com<https://www.merkator.com/> [LinkedIn] <https://www.linkedin.com/company/2400587>
________________________________
This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20261026/44ef74e4/attachment.htm>
More information about the geos-devel
mailing list