[Geoserver-users] REST API doesn't recognise native SRS of PostGIS resource

2012-11-21 Thread Matthias Uden
Hi all, I'd like to programmatically add layers from a PostGIS DB to a locally running GeoServer instance by using the REST API. Now I'm struggling to publish the PostGIS table "stand_manual" in the existing DataStore "venue" as a new layer via the REST API. I issue this request first for crea

Re: [Geoserver-users] REST API doesn't recognise native SRS of PostGIS resource

2012-11-23 Thread Matthias Uden
Hi again, I solved the problem. In the whole inconvenient XML jungle you have to deal with I just overlooked the fact that additionally to the tag there is also the tag which *must* be set in order to have the layer being published properly. After I added that tag it worked. All the best, Ma

Re: [Geoserver-users] REST API doesn't recognise native SRS of PostGIS resource

2012-11-23 Thread Andrea Aime
On Fri, Nov 23, 2012 at 2:21 PM, Matthias Uden wrote: > Hi again, > > I solved the problem. In the whole inconvenient XML jungle you have to > deal with I just overlooked the fact that additionally to the tag > there is also the tag which *must* be set in order to have > the layer being publishe