Geoserver Manager 使用精简介绍

default

概要

Geoserver Manager 是使用 Java 语言编写的,封装了 Geoserver 的 RestAPI 主要操作及查询接口的类库。

GitHub:geosolutions-it/geoserver-manager: Java client library for GeoServer (github.com)

Geoserver 官方接口文档:REST — GeoServer 2.25.x User Manual

Geoserver 本地接口文档:Geoserver Configuration API

示例项目

引入依赖

由于原 it.geosolutions 的版本在2016年已经停止更新,此处建议使用 com.github.dov-vlaanderen 的版本。

it.geosolutions:Maven Repository: it.geosolutions » geoserver-manager (mvnrepository.com)

com.github.dov-vlaanderen:Maven Repository: com.github.dov-vlaanderen » geoserver-manager (mvnrepository.com)

1
2
3
4
5
6
<!-- https://mvnrepository.com/artifact/com.github.dov-vlaanderen/geoserver-manager -->
<dependency>
    <groupId>com.github.dov-vlaanderen</groupId>
    <artifactId>geoserver-manager</artifactId>
    <version>1.8.7</version>
</dependency>

封装配置

Gear(夕照)的博客。记录开发、生活,以及一些不足为道的思考……