Cameron, I want to integrate SLD/Filters into GmlRendererOL and have some ideas. Maybe this is helpful for your project:
lib/widget/GmlRendererOL.js * All styles are to be applied in the preFeatureInsert method * Feature id as well as all gml feature attributes are available in preFeatureInsert * Style can be retrieved by passing the gml feature node to a method in StyledLayerDescriptor.js lib/model/StyledLayerDescriptor.js * Create a new method with a gml Feature node as parameter. This method will return a OpenLayers style object, like the sld2OlStyle method in lib/util/Util.js * Create an implementation of sld filtering similar to the one in GeoTools/GeoServer. The questions from my point of view are: * does this approach sound reasonable for you? * Is there any ongoing work for implementing sld filtering in JavaScript? If so, this could easily be applied to StyledLayerDescriptor.js If someone is working on the sld filtering itself, I could easily integrate it into Mapbuilder within a few days. Regards, Andreas. On 8/17/07, Cameron Shorter <[EMAIL PROTECTED]> wrote: > Olivier, Jean-Sebastian, > I'm planning to investigate how to implement Filtering/SLD editing for > one of our projects. > It would be great if I could see and potentially build upon your work in > this area. > > Is there any chance you could make your latest work available on a > website - or even better, committed into a mapbuilder sandbox directory? ------------------------------------------------------------------------- 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/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
