Quoting N L <nextstop...@gmail.com>:

> No, I mean I've made a lot of layers through "Create new SQL view" geoserver
> feature.
> And now they're all in my layer list.
> And I don't see them here http://localhost:8080/geoserver/rest/layers/, also
> can't find them neither in postgis database, nor in my filesystem.
>
> ---------
>
> do you mean delete the view or delete the layers in geoserver ?
>
> to delete a view you can goto the SQL prompt of the database and do
> something like 'drop view xxx'
>
> to delete layers in geoserver use the web admin or if theres a huge
Have you searched under

GEOSERVER_DATA_DIR/workspaces/<yourworkspace>/

I assume you will find the xml config for the views there.

> number make a batch of delete statements to execute via the REST api
>
> curl -u admin:password -v -XDELETE -H 'Accept: text/xml'
> http://localhost:8080/geoserver/rest/layers/<
> layername>.xml
>
> -i
>
> Le 17/03/2011 15:12, N L a ?crit :
>> Hello!
>>
>> I've made a lot of SQL views during my tests of geoserver and now I
>> can't find where to delete them.
>> They are all visible in New Layer window and that's so confusing.
>> How do I clean this list?
>> Thanks.
>>
>> Nick
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to