Closed kosmoDev closed 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'
)
There is an error in https://github.com/gicait/geoserver-rest/blob/88c26f114ecd6622a48b0d8a172fe985998cee4d/geo/Geoserver.py#L674. There are three duplicated lines.
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'
)