gsconfig.py===========gsconfig.py is a python library for manipulating a GeoServer instance via the GeoServer RESTConfig API. TODOS=====* Add support for adding and removing data from GeoServer* Maintain test coverageSample Layer Creation Code==========================:: from geoserver.catalog import Catalog cat = Catalog("http://localhost:8080/geoserver/") topp = self.cat.get_workspace("topp") shapefile_plus_boxcars = shapefile_and_friends("states") # shapefile_and_friends should look on the filesystem to find a shapefile # and related files based on the base path passed in # # shapefile_plus_boxcars == { # 'shp': 'states.shp', # 'shx': 'states.shx', # 'prj': 'states.prj', # 'dbf': 'states.dbf' # } # 'data' is required (there may be a 'schema' alternative later, for creating empty featuretypes) # 'workspace' is optional (GeoServer's default workspace is used by... default) # 'name' is required ft = self.cat.create_featuretype(name, workspace=topp, data=shapefile_plus_boxcars)
Project description
UNKNOWN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gsconfig-0.5.1.tar.gz.
File metadata
- Download URL: gsconfig-0.5.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f843e081c37a5aab1d48acfa1a768a3d2dfd507ce2b9b50474194f3bad9cee90
|
|
| MD5 |
775c970fa81de213a455399a5e8ee13a
|
|
| BLAKE2b-256 |
164a9adee0fc3eeb78d5aa828666267444312e562b471111054714a50c56a592
|