laravel-mysql-spatial
laravel-mysql-spatial copied to clipboard
MySQL Spatial Data Extension integration with Laravel.
In Controller ``` return $modelWithSpatial; ``` produce (as example) ``` { "identifier": "1234546", "location": { "type": "Point", "coordinates": [ 23.2345345, 45.2345345 ] } } ``` but if I try to...
Hi, I believe this package requires `illuminate/database`: `^8.0`, which conflicts with `^9.0` required by Laravel 9. Thanks
I'm using laravel 9 and I get this error
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 9.x. **Before merging**, you need to: - Checkout the `l9-compatibility`...
Using Laravel 8 and "grimzy/laravel-mysql-spatial": "^4.0" Database tried on both MariaDB 5.5.68 and MySQL 5.7 SQLSTATE[22023]: Invalid parameter value: 3037 Invalid GIS data provided to function st_geometryfromtext. (SQL: insert into...
Hi! I decided to try your package in PHPUnit: ```php $point = new Point(); $point->point = new \Grimzy\LaravelMysqlSpatial\Types\Point(40.7484404, -73.9878441); $point->save(); ``` an error occurs when running the test: > SQLSTATE[42000]:...
Hello people, at first thank you very much for you nice library. =) I get following Error: Grimzy\LaravelMysqlSpatial\Exceptions\SpatialFieldsNotDefinedException: in file ..\vendor\grimzy\laravel-mysql-spatial\src\Eloquent\SpatialTrait.php on line 125 My Model: `
Hi there this is my controller after i add the data my field in the database is null can you please help me with this ? public function updateProfile(Request $request)...
Hello, Is there any way to validate a POLYGON GeoJson is a valid string or not? Thank you !!