Hi,
lately I've been doing a GeoServer workshop and I suffered watching students
stumble across some of the GeoServer GUI deficiencies.
One of them is the lack of a file chooser when creating
shapefile/directory/raster
stores. Having to copy and paste the path, and sometimes make it relative
to the data directory, is error prone and generally annoying.
The patch I've attached to http://jira.codehaus.org/browse/GEOS-4208 is meant
to solve the issue.
It provides a set of custom store panels for shapefiles, directory and
rasters that
come with a file chooser showing the server side file system and allowing to
choose a path by point and click.
I've made a quick screencast (sorry for the pitiful voice part of it)
showing how that
works:
http://demo.geo-solutions.it/share/chooser.ogv
(in order to view it outside of a Linux machine I suggest you install VideoLan,
it's good and can play the OGG vorbis format the screencast is made with)
If you can't see the screencast I've also attached a few screenshots to this
mail.
Highlights:
- allows to chose both files and directories
- provides quick access to user home and the data directory
- it is data directory aware, so it will generate path that are relative to it
if you pick anything inside of $GEOSERVER_DATA_DIR/data
Feedback welcomed. I'd like to commit this improvements soon,
reviews for the patch I've attached to http://jira.codehaus.org/browse/GEOS-4208
are also welcomed
Cheers
Andrea
-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584962313
fax: +39 0584962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-----------------------------------------------------
(attachments)