hi everybody, some experience in getting the Legend from the WMC file?
I want users to upload their point data and manipulate the visualization (filter data by some parameter) and symbolization. First I thought to achieve it creating a <SLD> tag in WMC. Every genus data you choose, creates a new Filter in this SLD (you can see it using Firebug, still as a prototype!, after selecting the "Iberian Peninsula" context in http://edit3.csic.es/edit_geo/prototype/edit3.html ). The next stept would be the symbolization, genus by genus. It's possible accessing to the <PointSymbolizer> tags by config.objects.mainMap.doc and change the values of color, symbol, size... but then I thought about the Legend!! Using Geoserver is possible to send a GetLegendGraphic request using a SLD_BODY URL (you can find an example in the Demo requests of Geoserver), but I really don't know if I should continue researching in this way (how to encode and send this request? for SLD_BODY I think this is Geoserver work, isn`t it?) or instead of creating a <SLD> in WMC I should directly modify the "points.sld" for each user request (then I should easily get the Legend). I've also sent the question in Geoserver forum, without too much success :.( for the moment. I'm not sure if it's Geoserver or Mapbuilder issue. I'm using Mapbuilder 1.5-alpha1. Thanks a lot, Pere Roca EDIT Project (http://edit.csic.es) MNCN-CSIC -- View this message in context: http://www.nabble.com/GetLegendGraphic-from-the-WMC-tp15023057p15023057.html Sent from the MapBuilder Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
