Releases: Peter-van-Tol/pydantic-shapely
Releases · Peter-van-Tol/pydantic-shapely
v1.0.0a3: Fix dependency and GeometryField
- BUGFIX: Removed
numpy
as a dependency. This was causing issues with the installation of the package, since it was pinned to strictly. The dependency is not required, asshapely
already has a dependency onnumpy
.; - BUGFIX: When using the
GeometryField
it is now possible to instantiate the field with a the defaultshapely
constructor. I.e. aMultiPolygon
can be instantiated with a list ofPolygon
objects;
v1.0.0a2: support GeometryCollection and GeoJSON feature collections
- FEATURE: Added support for Shapely
GeometryCollection
geometries; - FEATURE: Added support for GeoJSon feature collections model that represents
a GeoJSON feature collection and serialize it to a GeoJSON feature collection; - REFACTOR: Changed the GeoJSON geometry models from TypeAlias to sub classes of the corresponding
base-models. This gives a better documentation in the API. This has no effects on the functionality
of the package. - BUGFIX: Changed
wkt.dumps
andwkt.loads
to respectivelyshapely.to_wkt
and
shapely.wkt.loads
; - BUGFIX: Fixed a bug where the class property
ParentDataModel
was not being set when the
a sub-class ofGeoJsonFeatureBaseModel
was created. This prohibited the correct
serialization of the Feature Collection;
v1.0.0a1: Corrected metadata
In the previous release, the metadata displayed at pypi.org was incorrect. This version corrects that metadata.
The content of the package has not been altered.
v1.0.0a0
Initial release.