Quoting dblasby@anonymised.com:
Justin,
This is something I've wanted for a while. But, its probably a bit
more
difficult to do in general that it first appear. For example, the
shapefile parameters only specifies one URL - when at least 3 are
required. In fact for shapefile, you probably want the .shp, .shx,
.dbf, .qnx (for indexed shapefile), .prj, and perhaps some of the
arcgis-generated indexes. I've also seen some metadata files
associated with shapefiles (.xml).
So, being able to create a decent GUI for an arbitrary parameter set
(ie. datastore) might not be possible since there's not enough
information available.
Perhaps what we should do is have an area where the administrator can
upload a bunch of files, then have a mini-file-viewer for just that
area? Could be a lot of work. Perhaps a file browser for the
server's
file system?
Yeah, I looked into this a decent bit too, and hit the exact same walls
you did Justin. Gave up for now, to come back at a later point. I
think we should wait till after the 1.3.0 release, since it's more
involved than it should be.
Shapefile is harder than sld upload, since you have multiple files to
deal with, we'd have to use a zipped shape, or else have fields to
upload each of the individual files.
My thoughts are in line with the admin upload area. But we actually
could make it easier than a mini-file-viewer for that area. We can
make use of the DirectoryDataStore that DavidZ came up with. I think
he stopped on it, and I'm not sure why. Basically we define a
directory as the 'datastore', and the individual files in it are the
featureTypes. So from geoserver we already define a certain directory
as the DataStore, and then any shapefiles uploaded there will show up
in the 'new featureType' page. Can open it up with webdav and/or an
upload wizard. Users with access to the server can just copy the files
over there (or can go the old route as well of defining the location on
their server, if they don't want to move it - file browser for server
could help, I couldn't figure out how to do this in struts though, and
makes sense that you couldn't, as it's sorta opening a lot to the
outside world, being able to browse the whole system).
Also, Justin, did you come across my thoughts on this subject? See
http://jira.codehaus.org/browse/GEOS-340 I think the workflow is much
more intuitive. Not sure I explained it super well - basically
geoserver should do more figuring out about the flow of what a user
would like to do next.
Chris
Whatcha think?
dave
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads,
discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/