Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-145
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-145
Summary: Error when creating new style, and improvments.
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: GeoServer
Fix Fors:
1.2-beta
Versions:
1.2.0
Assignee: Jody Garnett
Reporter: Chris Holmes
Created: Tue, 6 Apr 2004 7:44 AM
Updated: Tue, 6 Apr 2004 7:44 AM
Description:
When attempting to create a new style I get 'ServletException in:/WEB-INF/pages/data/styles/Editor.jsp] null'
I also think this page is pretty useless as is. It displays this big long string of the file
name, but I think we only ever allow styles to be in the style directory (it might be _possible_ to do it if they aren't, but it'd be silly, and also not portable since it would reference a style on the local computer. Which is also weird for a web configuration tool, to reference files on the computer that it is on).
What I'd like to see at a minimum is instead of the filename it should be a scroll box of the files that are already in the styles directory (just get the map of the files and call getFilename on each). And it'd just be the short names, not the full prefix. So if you had normal.sld, blue.sld, and usa.sld those three would show up in the scroll box, and you could pick which one you wanted associated with the name (ie minMaxStyle (style id) reads from usa.sld). This set up would mean that users could not directly add styles with the ui, but I find it better than just referencing files in weird locations. If we wanted to improve on that we could have a little upload box, where a user could browse on their computer and it would add the style to the style directory (something like that would actually make more sense for shapefile as well).
Beyond the minimum there is a lot we could do with styles. For a start we could have an edit box of the sld xml, so that users could directly edit it. The next level would be a real editor, where you could compose the sld with a gui, that is just make the lines thicker and change their color, and we would just write out the sld from what the user constructed, they would never have to learn or know what sld was. Then it'd be even cooler if you could hit a preview button with a wms request, and it would show what that wms response would look like with your defined sld, which would show off all the fancy filters and stuff that you define. I think Andrea actually has a sort of gui for styles in the legend viewer, some day it'd be dope to try to make that an applet and have it run on the style config page. Of course that would be a nice tool by itself, as it'd be a simple leap to turn it into a user defined style and make requests with your defined sld to other sld-enabled wms's. But I think this style stuff is one of the areas that could make geoserver really nice.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira