gicait / geoserver-rest

Python library for management of geospatial data in GeoServer.
https://geoserver-rest.readthedocs.io
MIT License
197 stars 79 forks source link

create_featurestore #73

Closed kosmoDev closed 2 years ago

kosmoDev commented 2 years ago

after creating a PostGIS store the type in GeoServer is '?'.

geo.create_featurestores( store_name='postgis', workspace='webgis_studying', host='localhost', port=5433, db='sua_2021', schema='public', pg_user='postgres', pg_password='**', )

geo.publish_featurestore( workspace='webgis_studying', store_name='postgis', pg_table='pub_preplot'

)

image

eleticial commented 2 years ago

There is an error in https://github.com/gicait/geoserver-rest/blob/88c26f114ecd6622a48b0d8a172fe985998cee4d/geo/Geoserver.py#L674. There are three duplicated lines.