Hello. If you want to create dynamic sld based on the values of your features, take a look at my thematic engine over here:
http://permalink.gmane.org/gmane.comp.gis.geoserver.user/21428 which can color your polygons based on the values plus the number of ranges and also the type distribution. This will fit quite well with Andrea's new SQL Datastore. Regards, Mario. On Thu, Aug 19, 2010 at 11:24 PM, Hajo Kliemeck <[email protected]> wrote: > Hi Andrea, > > i just want to associate numbers(sales volume) that are stored in a > database to polygons (in that case the polygons are the features which > are requested). afterwards i want to fill these polygons with the help > of a color table and sld rules. e.g. > > dynamic-number-property lower/equal 1000 -> fill color = #fffdd7 > dynamic-number-property lower/equal 2000 -> fill color = #fce8a9 > dynamic-number-property lower/equal 3000 -> fill color = #fbe06d > dynamic-number-property lower/equal 4000 -> fill color = #fac926 > dynamic-number-property higher 4000 -> fill color = #f6a62d > ... > > the problem is, that the properties are static. and THATS my problem! > i think that should be clear enough, right? > > cheers > Hajo > > On 19.08.2010 15:58, Andrea Aime wrote: >> Hajo Kliemeck ha scritto: >>> Hi, >>> >>> current scenario: client accesses a wms which get features out of a >>> shapefile. the returned features including the geometric informations >>> have properties. i want to add additional dynamic properties to these >>> features at runtime to be involved into the sld rendering process. >>> i noticed that variable substitution is possible >>> (http://docs.geoserver.org/trunk/en/user/styling/sld-extensions/substitution.html) >>> >>> but thats not the feature i need. >>> it is possible to add these dynamic properties with a "special" sld or >>> something else? some ideas? >> >> Can you describe what you are looking for with an example? >> >> Cheers >> Andrea >> > > -- > ------------------------------------------------------------------------ > Email: [email protected] > Telefon: +49 (0) 6221 - 616050 > Fax: +49 (0) 6221 - 616051 > ------------------------------------------------------------------------ > KYBEIDOS Gesellschaft für Systeme zur Unternehmenssteuerung mbH > Moltkestraße 27 > 69120 Heidelberg > > Handelsregister: Heidelberg HRB 5460 > USt.Id-Nr.: DE182073772 > Geschäftsführer: Stephan Frenzel, Dietmar Hantsch, Dr. Michael Wiedemann > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
