Reputation: 111
Is there a way of twitching the minRange and maxRange values of a layer on geoserver using some python library?
I have tried using two libraries to access and list all the layers that I have on geoserver, but I have not found any functions that can access these values.
from geoserver.catalog import Catalog
from owslib.wms import WebMapService
cat = Catalog(service_url="http://localhost/geoserver/rest", username='username', password='password')
wms = WebMapService(url='http://localhost/geoserver/workspace/wms',
version='1.3.0',
username='username',
password='password')
layers = list(wms.contents)
that_layer = cat.get_layer(layers[0])
res = that_layer.resource
Upvotes: 0
Views: 161