In that case also It is not giving any output. I am trying to pass parameter
(env=) to directly URL. so now it is like :

http://localhost:8081/geoserver/work/wms?service=WMS&version=1.1.0&request=GetMap&layers=work:cbsa_pop&*env=weightAttr:population*&styles=&bbox=-124.269371032715,32.5459365844727,-114.354026794434,41.9560432434082&width=512&height=485&srs=EPSG:4326&format=application/openlayers

This is also not giving any result of Layer preview. and also not getting
result through this OpenLayers request :

var political = new OpenLayers.Layer.WMS("Heat Map",
            "http://localhost:8081/geoserver/work/wms";, 
            {
              layers: 'work:cbsa_pop', 
              format: "image/png",
              transparent: "true",
              styles:'heatmap',
              env:'weightAttr:population;radiusPixels:10;pixelsPerCell:100'

        });

It would be helpful if you can provide any working example. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-pass-parameters-to-Geoserver-Heatmap-SLD-tp5061851p5061880.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to