Hi
I'm working with geoserver 1.7.2 over windows vista.
I'm trying to create a new datastore from my JAVA code using http connection
(HttpURLConnection).
I read "Alternative for reloading the Geoserver catalog":
(
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
)
I couldn't create a new workspace so i didn't understand how to move on...
The other example there (register_featureType) is in php and i don't know
how to convert it to java.
It has to be over HTTP (because my program is running over JBOSS and not
Spring), i don't want
to develop extentions or plugins to geoserver and i don't want to use the
GUI (it needs to be dynamic).
Is there any tutorial or step by step guide on how to do it?
Thanks, Yoel Motola
--
View this message in context: http://www.nabble.com/Creating-a-new-DataStore-and-FeatureType-over-HTTP-tp22824333p22824333.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
As of 1.7.3 there is a REST api extension for these types of operations:
http://gridlock.openplans.org/geoserver/1.7.x/doc/user/extensions/rest/
The examples illustrate making the calls with cURL, but they should be relatively straight forward to port to Java.
-Justin
motola212 wrote:
Hi
I'm working with geoserver 1.7.2 over windows vista.
I'm trying to create a new datastore from my JAVA code using http connection
(HttpURLConnection).
I read "Alternative for reloading the Geoserver catalog":
(
http://geoserver.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog
)
I couldn't create a new workspace so i didn't understand how to move on...
The other example there (register_featureType) is in php and i don't know
how to convert it to java.
It has to be over HTTP (because my program is running over JBOSS and not
Spring), i don't want to develop extentions or plugins to geoserver and i don't want to use the
GUI (it needs to be dynamic).
Is there any tutorial or step by step guide on how to do it?
Thanks, Yoel Motola
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.