I'm quite new to GeoServer, and I wonder if it is possible to create a dynamic style. I got a big shapefile with more than 600 variables, and I want to create a generic style where you can input the variable name you want from wsm ( with leaflet for example ).

I saw that geoserver got something called Variable substitution in SLD but I'm not sure if you can achieve it with this?

  • what sort of variables do you have? it may not make any sense to display all 600 with the same style. – Ian Turton Jul 23 '15 at 8:31
  • Sorry if I explained wrong. I got 600 variables, but I ony want to display them 1 by 1 depending on the request. For example I got male population and female population, and I want to send in the request wich variable to use – fofipl Jul 23 '15 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.