<div dir="ltr"><br><br>On Thu, 28 May 2026 at 02:27, Germán Carrillo via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> wrote:<br>><br>> This new class would inherit from QgsCurve and would be the base class for QgsLineString and QgsCircularString. Namely, importing/exporting QgsCircularString geometries would largely benefit from the existing import/export code for QgsLineString, so we'd be reusing as much code as possible.<div><br></div><div>Makes sense to me 👍<br>><br>> Moreover, other projects like GDAL/OGR [1] and GEOS itself [2], already have SimpleCurve classes to ease implementation, even if a SimpleCurve class is not part of the SQL/MM standard.</div><div><br></div><div>If GDAL does this, then that's a good enough proof that it's not a bad move to me.</div><div><br></div><div>Nyall</div><div><br></div><div><br>><br>><br>> An alternative would be to keep using QgsCurve as the base class, and add some methods to it that would be ONLY used by QgsLineString/QgsCircularString, ensuring that QgsCompoundCurve returns exceptions when those methods are called.<br>> Other alternatives are also welcome for the discussion, just let us know.<br>><br>><br>> Since this decision is one of the building blocks for improving Circular Arcs support in QGIS (e.g., for integrating a brand new Geometry Splitter from GEOS, expected for the 3.15 release), we'd like to kindly ask for your feedback before proceeding with a PR, so that we can assess early whether the community estimates this move as risky or as a natural step for the QGIS project.<br>><br>> Also, let us know if a QEP would be needed here, or if we could go on with this discussion and then with a well isolated PR.<br>> Thank you in advance.<br>><br>><br>> Regards,<br>><br>> Germán<br>> -----------<br>> [1] <a href="https://gdal.org/en/stable/doxygen/classOGRSimpleCurve.html">https://gdal.org/en/stable/doxygen/classOGRSimpleCurve.html</a><br>> [2] <a href="https://github.com/libgeos/geos/blob/main/include/geos/geom/SimpleCurve.h">https://github.com/libgeos/geos/blob/main/include/geos/geom/SimpleCurve.h</a><br>> _______________________________________________<br>> QGIS-Developer mailing list<br>> <a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div>