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

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

longitude-one/spatial--writer Stable release Minimum PHP Version Packagist License

Last integration test Maintainability Downloads Coverage Status

Installation

composer require longitude-one/spatial-writer