Ah, I see in this documentation that a layer is implicitly created when a
new datastore is added to the workspace. Tricky!
http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-examples-curl.html#adding-a-new-workspace
Now I have another question. The /rest/layers/layer[.<format>] url returns a
very terse set of details about the layer. Is there another trick to getting
the full information regarding the layer? For example, the spatial exents
or "publishing" information (that is viewable in the admin app)?
Thanks,
David
On Thu, Nov 4, 2010 at 1:37 PM, David Zwarg
<[email protected]<dzwarg%[email protected]>
> wrote:
> Hello,
>
> I was reading the REST API docs -- is it not possible to create a new layer
> with the REST API? I would think that this would be a simple:
>
> POST /layers[.<format>] (layer info...)
>
> But the docs say that returns a 405. Is there another/preferred method of
> dynamically creating layers?
>
> Thanks,
> David
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users