Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.2
-
Fix Version/s: None
-
Component/s: Google Earth KML Output, PostGIS, WMS
-
Labels:None
-
Environment:GeoServer v 2.0.2 is installed on a server. PostGis is installed on a second server. The script is written in Javascript & HTML; it uses the Google Earth web-client plug-in.
-
Number of attachments :
Description
I am trying to use the parameter substitution to create dynamic styles for a web-based GIS system for my employer. We have both GeoServer and PostGis set up & working. The webpage has an embedded Google Earth client component. The webpage requests data from PostGis via GeoServer. GeoServer is set up for WMS. The data is returned from PostGis as KML, and is returned to the GoogleEarth client to be displayed. I have appended the string "&env=color:00FFFF" to the end of the URL requesting data from PostGis. Here is an example of the full URL: http://name_of_my_server:8080/geoserver/wms/kml?layers=my_layer_name&cql_filter=name='conus'&env=color:FFFF00. The requested color is ignored & the default polygon fill color from the SLD is used instead to render the polygons.