Hey, well I managed to create a datastore and featuretype (though I had to
copy the mapping file "manualy") with
curl -v -u admin:geoserver -XPOST -T datastore.xml -H "Content-type:
text/xml" http://localhost:8090/geoserver/rest/workspaces/gsml/datastores

curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml" -d
@featuretype.xml
http://localhost:8090/geoserver/rest/workspaces/gsml/datastores/gsml_GeologicUnit/featuretypes

Now if only I could do something similar for the mapping file ... 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Possible-to-use-app-schema-with-REST-tp5132216p5132591.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to