Skip to content

Using Geoserver to display active data in a shapefile feature #652

Answered by swainn
mlandsfeld asked this question in Q&A
Discussion options

You must be logged in to vote

@mlandsfeld it is definitely possible to modify/manage GeoServer on the fly/programmatically. GeoServer has a REST API that can be used to manage all the data in GeoServer including workspaces, stores, layers, and styles. The official way to interact with GeoServer in Tethys is through the SpatialDatasetServices API. Part of the API is the GeoServer SpatialDatasetEngine, which provides a Python wrapper around the GeoServer REST API. Here are links to the pertinent documentation:

To add new Shapefiles to the GeoServer using GeoServer SpatialDatasetEngine you can use the create_shapefile_resource() method as illustrated i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by swainn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants