On Fri, Nov 23, 2012 at 2:21 PM, Matthias Uden <matthias.u...@gmail.com>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 <srs> tag
> there is also the <nativeCRS> tag which *must* be set in order to have
> the layer being published properly. After I added that tag it worked.
>

Thanks for letting us know.

As a rule of thumb, when in need of writing something, do so once by using
the GUI, check what XML results by looking at the REST results for that
resource, and the mimick it when calling REST in order to add a similar
resource automatically

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to