Re: [Geoserver-users] REST PostGIS upload shapefile with changed schema

2016-02-29 Thread Andrea Aime
Hi Anton, while removeSchema has indeed been added to the GeoTools API, I don't believe it has been used in the REST API. That seems to explain why what you're trying to do does not work. I believe the code would have to be modified here, dropping and re-creating the schema, assuming source and ta

[Geoserver-users] REST PostGIS upload shapefile with changed schema

2016-02-26 Thread Anton Bakker
Hi, When reuploading a shapefile with a changed schema (additional attribute) to a postgis datastore like this: /rest/workspaces/cite/datastores/postgis/file.shp?update=overwrite&charset=UTF-8 I receive a 201 created response, but the PostGIS table is not changed. The new attribute nor the addit