[Geoserver-devel] Issue about ADD NEW DATA SET to GeoServer datastore??? Very urgent, plz help!!!!

Hi everyone,

I have a very urgent issue about how to add a new shapefile to DataStore in GeoServer.
Does GeoServer support to adding a new data set on fly? I.e. how I can write the request (a set of requests) or call GeoServer API for adding a new shapefile to GeoServer data store?

My usecase is look like:

  1. I have a geo-processing component on my website + GeoServer + MapBuilder (for visualization)
  2. User → Click the Start button on geo-processing component page → Output will be SHAPEFILE
  3. ??? How to deploy or add this new shapefile to Geoserver datastore by online mode ???
  4. User come back to Visualization page (MapBuilder will collect all maps and features were published on GeoServer WMS,WFS) and look they geo-processing result (map).

Could you please give me some explanations (documentations) or help ASAP? Does GeoServer provided any tool or service for adding new data set on fly? Can I do it?

Many thanks,
Kevin D.

PS: http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Shapefile – follow this instruction I don’t have a ability to add a new shapefile by fly.


Get your own web address for just $1.99/1st yr. We’ll help. Yahoo! Small Business.

The GeoServer application has a web based front end that makes use of STRUTS, if you have to you can add a form + action to upload and deploy a shapefile. And then just call the action from your application. Please remember that a shapefiile is actually three things (so usually they travel around as a zip file, as with the geoserver getfeaures request format).

Jody

Hi everyone,
I have a very urgent issue about how to add a new shapefile to DataStore in GeoServer.
Does GeoServer support to adding a new data set on fly? I.e. how I can write the request (a set of requests) or call GeoServer API for adding a new shapefile to GeoServer data store?
My usecase is look like:
1. I have a geo-processing component on my website + GeoServer + MapBuilder (for visualization)
2. User -> Click the Start button on geo-processing component page -> Output will be SHAPEFILE
3. ???* How to deploy or add this new shapefile to Geoserver datastore by online mode *???
4. User come back to Visualization page (MapBuilder will collect all maps and features were published on GeoServer WMS,WFS) and look they geo-processing result (map).
Could you please give me some explanations (documentations) or help ASAP? Does GeoServer provided any tool or service for adding new data set on fly? Can I do it?
Many thanks,
Kevin D.
PS: http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Shapefile – follow this instruction I don’t have a ability to add a new shapefile by fly.

------------------------------------------------------------------------
Get your own web address for just $1.99/1st yr <%20http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains&gt;\. We'll help. Yahoo! Small Business <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/&gt;\.
------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
  

http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the+Geoserver+catalog has the way most people do it. We hope to get a better api in place sometime, but the way above should work, just create the info.xml, catalog.xml and point them at the shapefile.

Chris

[::: DLD Kevin :::] wrote:

Hi everyone,

Does GeoServer support to adding a new data set on fly? I.e. how I can write the request (a set of requests) or call GeoServer API for adding a new shapefile to GeoServer data store?
My usecase is look like:
1. I have a geo-processing component on my website + GeoServer + MapBuilder (for visualization)
2. User -> Click the Start button on geo-processing component page -> Output will be SHAPEFILE
3. ???* How to deploy or add this new shapefile to Geoserver datastore by online mode *???
4. User come back to Visualization page (MapBuilder will collect all maps and features were published on GeoServer WMS,WFS) and look they geo-processing result (map).

Kevin D.

------------------------------------------------------------------------
Get your own web address for just $1.99/1st yr < http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains&gt;\. We'll help. Yahoo! Small Business <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/&gt;\. !DSPAM:1003,45221a5b121941510810322!

------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

!DSPAM:1003,45221a5b121941510810322!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1003,45221a5b121941510810322!

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org