On Fri, Jun 6, 2014 at 12:45 PM, Mark Paxton <[email protected]>
wrote:

>  Hello all,
>
>
>
> Please could I ask for a little help – I am trying to create a datastore
> from a dir of shapefiles already on the server, using JSON via REST API.
>
>
>
> I am unsure of the correct data structure to post to the server, as the
> documentation is not quite exhaustive in this area.
>
>
>

Whenever something is not documented there is an easy way to discover the
data structure you need:
* go into the user interface, create the objects you need
* go into the rest api, and grab their xml/json representation

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to