Hi everyone,

I am have a bit problem with removing the SHP layer using the
it.geosolutions library, but I think it is general Geoserver REST API
problem. My question or problem is that when I unpublish/remove a layer
using:
/
publisher.unpublishFeatureType(WORKSPACE, STORE, layerName);
/

the layer itself is removed from the geoserver but all the related files
(*.shp, *.proj etc) are still keept in the file system ? I am using
it.geosolutions with version 1.6 and geoserver with version 2.5.1, but I
checked it also for it.geosolutions 1.7 - lates one, and geoserver 2.11
version and I did not see any code that would be responsible for removing
those file system (I also checked the repos).  I know that REST api allows
to remove SLD file, when you unpublish a style, and this same it possible
when you remove a coverage story, but if it is a feature/shapefile story or
a layer it just does not work. Can anyone please tell me if I am right ? Or
is there a way to remove those system files when I remove a layer via REST
using it.geosolutions/ geoserver REST API ?

cheers,
Pawel





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to