Releases: teamzac/laravel-shapefiles
Releases · teamzac/laravel-shapefiles
v0.6.1
Bug Fixes
- Fixed coordinate transformation for all geometry types. The previous implementation hardcoded two levels of array nesting, which only worked for simple Polygons. Coordinate transformation now recursively walks the coordinate tree, correctly handling Points, LineStrings, Polygons (with holes), and MultiPolygons.
- asJson() now respects transform(). Previously, asJson() always returned raw coordinates even after calling transform(). It now returns transformed coordinates, consistent with asGeoJson().
Added
- GeometryContract interface and FakeGeometry implementation for easier testing
- FakeReader and ReaderContract for stubbing shapefile reads in tests
- Shapefiles facade and updated service provider
- Comprehensive test coverage for geometry transformation across all GeoJSON geometry types
v0.6.0
Laravel 13 support
v0.5.0
Upgrade to Laravel 12 support