0.12.0
π₯ Breaking changes
- Interface
GeometryEnginehas 2 new methods:lineInterpolatePoint(),lineInterpolatePoints() BoundingBox's constructor is now private, useBoundingBox::new()to create a new instanceCompoundCurvecan now only containLineStringandCircularStringinstances; nestedCompoundCurveinstances are forbiddenGeometryno longer implementsCountableandIteratorAggregate; subclasses implement these interfaces as needed, with proper types- The
SQLite3Exceptionclass has been removed - The
GeometryEngineException::operationNotSupportedByEngine()method has been removed - The following classes are now
final:BoundingBoxCoordinateSystem- engines:
GEOSEnginePDOEngineSQLite3Engine
- exceptions:
CoordinateSystemExceptionEmptyGeometryExceptionGeometryEngineExceptionGeometryIOExceptionInvalidGeometryExceptionNoSuchGeometryExceptionUnexpectedGeometryException
- input/output:
EWKBReaderEWKBWriterEWKTReaderEWKTWriterGeoJSONReaderGeoJSONWriterWKBReaderWKBWriterWKTReaderWKTWriter
- The following classes are marked as
@internal, and are no longer part of the public API:Attribute\NoProxyEngine\GeometryParameterIO\AbstractWKBReaderIO\AbstractWKBWriterIO\AbstractWKTReaderIO\AbstractWKTWriterIO\EWKBToolsIO\EWKTParserIO\WKBBufferIO\WKBByteOrderIO\WKBGeometryHeaderIO\WKBToolsIO\WKTParser
ποΈ Deprecations
- The following classes are marked as
@final, and will be made final in a future version:CircularStringCompoundCurveCurvePolygonLineStringMultiLineStringMultiPointMultiPolygonPointTINTriangle
β¨ New features
- New engine methods:
GeometryEngine::lineInterpolatePoint(),lineInterpolatePoints()(#55 by @arminwinkt)
β¨ Improvements
- Improved documentation and return types for
Geometry::toArray()methods PDOEngineandSQLite3Enginenow wrap all underlying exceptions in aGeometryEngineException- When an engine exception occurs,
GeometryEngineExceptionnow includes the original exception message