Hello
I have been able to create layer/SLD/add sld to layer/delete layer/delete
feature type all by using the rest api provided by geoserver. I am doing this
using the java code. However, I have come across a few things.
1) When a new layer is created, I get an info in my logs
2012-08-21 14:55:19,933 WARN [org.geoserver.catalog.rest] (http-8443-1) Unable
to fill in metadata from underlying feature source
java.io.IOException: Schema 'http://www.opengeospatial.net/gcssRest:xyz' does
not exist.
at
org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:588)
at
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:383)
at
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:350)
at
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:644)
at
org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:103)
at
org.geoserver.catalog.rest.FeatureTypeResource.handleObjectPost(FeatureTypeResource.java:151)
at
org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:120).............................
gcssRest is the name of the workspace and xyz is the name of the layer.
However, the layer gets created and it works fine.
2) When I try to create a layer, if value specified fort nativeName is
different from the name, I get another error, but the layer gets created fine
3) When I have to delete a layer, I have to deleteLayer and then delete
the featureType. If I don't delete the featureType, I can see the features in
the wfs call. Is this how this is supposed to work.
Thanks
Ashok
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users