« Return to Thread: SLD SERVICE RESTLET PROPOSAL!
Hi all,
I'm developing a restlet service to manage sld, I would like to share
with community (ideas and code).
The idea is to develop a geoserver community module ables to serve an
sld userStyle in a retfull way, (divided in multiple resource):
Example:
http://domain:8080/geoserver/sldservice/{featureType}
-> List of available styles in geoserver for a featuretype or coverage
name link to resource
http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}
-> UserStyle: Name Title Abstract IsDefault List of FeatureTypeStyle
(only name, id and link to the resource)
http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}/{FeatureTypeStyleID}
-> FeatureTypeStyle Name Title Abstract featureTypeName ruleslength
http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}/{FeatureTypeStyleID}/rules/
http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}/{FeatureTypeStyleID}/rules/{fisrtRuleId}/{lastRuleID}
-> Rule list: As in sld spec. (using the first will return all rules)
A live example is available at
http://test.ominiverdi.org:8080/geoserverSld/sldservice/topp:states (try
also with other layers)
I will add also the capabilities to generate rules based on
classification system
example:
http://domain:8080/geoserver/sldservice/{featureType}/{UserStyleID}/{FeatureTypeStyleID}/quantileclassification/{property}/{classNum}
-> Rule list generated server side
(not yet added in the live example)
Later I wish to develop a javascript sld editor,
ables to work with a great number of rules and to create classified style.
Any comments and ideas are welcome!
Ciao kappu
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@...
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
« Return to Thread: SLD SERVICE RESTLET PROPOSAL!
| Free embeddable forum powered by Nabble | Forum Help |