clickbar/laravel-magellan
Laravel Magellan is a modern PostGIS toolbox for Laravel. It provides geometry data classes, generators and parsers, request validation, and seamless database interaction for inserting, updating, and querying spatial data with PostGIS functions.
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/2.1.0...2.2.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.8.0...1.9.0
WKBParser, WKTParser, GeojsonParser) and generators (WKBGenerator, WKTGenerator,
GeojsonGenerator)Full Changelog: https://github.com/clickbar/laravel-magellan/compare/2.0.1...2.1.0
Thanks for fixing bugs, improving documentation and the project!
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/2.0.0...2.0.1
We are excited to finally release a huge overhaul on the DX with Laravel Magellan!
Please check out the upgrade guide for more recommended steps.
HasPostgisColumns trait & $postgisColumns property.GeometryWKBCastBBoxCast to be generic & internal, please use Box subclasses directlystSelect, stWhere, ...)GeometryType EnumtoString to toRawSql on Box classesGeometryGeojsonRule is not directly invokable anymoreCastable to all geometries to use them as casters, instead of the GeometryWKBCastCastable to all boxes to use them as casters, instead of the BBoxCastAliased Expression class as wrapper for AS in query selects
->as() helper method on MagellanBaseExpressionwithMagellanCasts() as EloquentBuilder macroAsGeometry and AsGeography database expressionsfromString() to Box classes to create a box from a stringStringable interface to all box classesJsonSerializable to Box2D and Box3DGeojsonParser and fail if not$geometry to $geometryOrGeographyExpression and therefore can be used in ->select(...) directly nowtoRawSql methods, now uses the maximum precisionmagellan:update-postgis-columns commandmagellan.eloquent & magellan.model_directories configsFull Changelog: https://github.com/clickbar/laravel-magellan/compare/1.8.0...2.0.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.7.1...1.8.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.7.0...1.7.1
ST::asGeoJson function to convert geometries to GeoJSON via the databaseExpression types in SRID-related functionsST functionsST::transform and ST::setSRID (thanks @BezBIS #91)ST::buffer & ST:offsetCurve: Correctly renamed styleMitreLevel to styleMitreLimitFull Changelog: https://github.com/clickbar/laravel-magellan/compare/1.6.1...1.7.0
performInsert or performUpdate entirely (thanks @RomainMazB #89)Point dimension when using setAltitudeFull Changelog: https://github.com/clickbar/laravel-magellan/compare/1.6.0...1.6.1
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.5.0...1.6.0
as parameter for stFrom functionstHaving with stWhere to also accept string column and ST expressions, boxes and geometries as valueST_PROJECT function not being migrated to the GeometryType enum.Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.4.0...1.5.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.3.0...1.4.0
TransformsGeojsonGeometry trait (Fixes #37)Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.2.2...1.3.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.2.1...1.2.2
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.2.0...1.2.1
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.1.0...1.2.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.0.2...1.1.0
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.0.1...1.0.2
Full Changelog: https://github.com/clickbar/laravel-magellan/compare/1.0.0...1.0.1
Full Changelog: https://github.com/clickbar/laravel-magellan/commits/1.0.0
How can I help you explore Laravel packages today?