ttungbmt / geoserver-rest-api
GeoServer REST API For Laravel/PHP
Requires
This package is auto-updated.
Last update: 2024-10-28 04:21:17 UTC
README
This PHP library provides programmatic functions to access a GeoServer.
It is Free and Open Source Software. All contributions are most welcome. Learn more about.
Features
- Support for Yii2, Laravel
- Obtain the version of the connected GeoServer instance
- Create / Update / Delete workspace or retrieve existing workspace details
- Create / Update / Delete datastores and listing them
- Create coveragestores and listing them
- Upload files in various formats
- Manage styles in SLD format
For detailed information of each of the provided functions check out the documentation on the usage.
Requirements
Installation
The GeoServer REST API uses Composer to manage its dependencies.
composer require ttungbmt/geoserver-rest-api
Supported file formats
The library handles:
Shapefile
Shapefile
insidezip
archiveGeoTIFF
GeoPackage
format version 1.2 (can contain both vector and raster data, but will be reported as vector)- Styled Layer Descriptor
SLD
files for layer styles in XML format
Read more on supported file formats and encoding.
Roadmap
Here's the TODO list for the next release.
- Upload style via sld content
- Working with WPS, WFS, WMS
- Setting WPS, WFS, WMS
Credits
This Package is inspired by OneOffTech/geoserver-client-php. Huge thanks goes to OneOffTech OneOffTech/geoserver-client-php for their amazing work!
License
This project is Free and Open Source Software, licensed under the MIT license.