<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre wrap="">Hi,
</pre>
<small>is it possible to change kml style output?<br>
Mapserver writes only fix style information in the kml result
file:<br>
<br>
<i>
<Style><LineStyle><color>ff0000ff</color></LineStyle><PolyStyle><fill>0</fill></PolyStyle></Style></i><br>
<br>
It seems that the problem only occurs with wfs requests. wms
request works fine.<br>
<br>
MapServer version 6.4.1<br>
<br>
</small>
<blockquote><small><i> OUTPUTFORMAT</i><br>
<i> NAME "kml"</i><br>
<i> DRIVER "OGR/KML" # wms without OGR</i><br>
<i> MIMETYPE "application/vnd.google-earth.kml+xml"</i><br>
<i> EXTENSION "kml"</i><br>
<i> FORMATOPTION "STORAGE=memory"</i><br>
<i> FORMATOPTION "FORM=simple"</i><br>
<i> END</i><br>
</small></blockquote>
<small><br>
</small>
<blockquote><small><i> LAYER</i><br>
<i> NAME "electricity"</i><br>
<i> TYPE LINE</i><br>
<i> DATA "electricity.shp"</i><br>
<i> METADATA</i><br>
<i> "ows_title" "electricity"</i><br>
<i> "ows_abstract" "electricity"</i><br>
<i> "ows_include_items" "all"</i><br>
<i> "OWS_SRS" "EPSG:25832"</i><br>
<i> "wfs_getfeature_formatlist" "text/csv,gml,geojson,xml,kml"</i><br>
<i> END</i><br>
<i> DUMP TRUE</i><br>
<i> TEMPLATE "../templates/void.html"</i><br>
<i> CLASS</i><br>
<i> STYLE</i><br>
<i> COLOR 0 255 0</i><br>
<i> OUTLINECOLOR 0 0 255</i><br>
<i> WIDTH 4</i><br>
<i> END</i><br>
<i> END</i><br>
<i> END</i><br>
</small></blockquote>
Thx,<br>
<pre wrap="">Dietmar
</pre>
<small><br>
</small>
</body>
</html>