longitude-one / binary-writer
This library convert any spatial interfaces to different binary and/or string format.
0.0.0-alpha
2024-08-08 17:50 UTC
Requires
- php: ^8.1
- longitude-one/spatial-types: 0.0.*
Requires (Dev)
- jetbrains/phpstorm-attributes: ^1.1
- phpunit/phpunit: ^10
This package is auto-updated.
Last update: 2024-11-08 19:26:42 UTC
README
The writer module provide an interface to convert any SpatialInterfaces to other formats.
This library provide three strategies to convert spatial interfaces to other formats:
- A strategy to convert any spatial interfaces to extended well known binary (EWKB).
- Another one to convert any spatial interfaces to well known binary (WKB).
- A last one to convert any spatial interfaces to the internal MySQL storage format.
Feel free to provide any other strategy to convert spatial interfaces to other formats.
Current status
Installation
composer require longitude-one/spatial-writer