<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear list,<br>
<br>
<span class="hps">I still have</span> <span class="hps">a problem
with kml output.<br>
M</span>y kml output basically works.<br>
Everything works fine with line and polygon type, I get correct kml
files.<br>
Point layers works also but mapserver generated blank png's.<br>
<br>
The bitmap exist in the right directory with the right size.<br>
The url path in the kml file is right.<br>
I can see the kml point layer in the gis, the points have tooltips
and are clickable. <br>
The bitmaps have 24 bpp.<br>
Pixmap or vector layer symbols makes no difference.<br>
<br>
Debug 5 shows no error and no kml specific information.<br>
<br>
MapServer version 6.4.1 on windows 7 64 bit<br>
<br>
...<br>
OUTPUTFORMAT<br>
NAME "kml"<br>
DRIVER "KML"<br>
MIMETYPE "application/vnd.google-earth.kml+xml"<br>
IMAGEMODE RGB<br>
EXTENSION "kml"<br>
FORMATOPTION "STORAGE=memory"<br>
FORMATOPTION "FORM=simple"<br>
END<br>
...<br>
<br>
LAYER<br>
# DEBUG 5<br>
NAME "point"<br>
TYPE POINT<br>
DATA "kml_test.shp"<br>
METADATA<br>
"ows_title" "test"<br>
"ows_abstract" "test"<br>
"KML_DESCRIPTION" "test"<br>
"KML_NAME_ITEM" "TEXT"<br>
# "wfs_getfeature_formatlist" "text/csv,gml,geojson,xml,kml"<br>
# "KML_OUTPUTASRASTER" "true"<br>
END<br>
CLASS<br>
STYLE<br>
SYMBOL "point"<br>
SIZE 36<br>
COLOR 255 0 0<br>
OUTLINECOLOR 0 255 0<br>
END<br>
END<br>
END<br>
...<br>
<br>
SYMBOL<br>
NAME "point"<br>
TYPE ELLIPSE<br>
POINTS<br>
10 10<br>
END<br>
FILLED TRUE<br>
END<br>
<br>
<br>
KML-Output:<br>
<pre role="list"><code class="wrappedText focusRow" role="listitem"><?xml version="1.0" encoding="UTF-8"?>
</code><code class="wrappedText focusRow" role="listitem"><kml xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/kml/2.2">"http://www.opengis.net/kml/2.2"</a>>
</code><code class="wrappedText focusRow" role="listitem"> <Document>
</code><code class="wrappedText focusRow" role="listitem"> <Style id="LayerFolder_check">
</code><code class="wrappedText focusRow" role="listitem"> <ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> <listItemType>check</listItemType>
</code><code class="wrappedText focusRow" role="listitem"> </ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> </Style>
</code><code class="wrappedText focusRow" role="listitem"> <Style id="LayerFolder_checkHideChildren">
</code><code class="wrappedText focusRow" role="listitem"> <ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> <listItemType>checkHideChildren</listItemType>
</code><code class="wrappedText focusRow" role="listitem"> </ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> </Style>
</code><code class="wrappedText focusRow" role="listitem"> <Style id="LayerFolder_checkOffOnly">
</code><code class="wrappedText focusRow" role="listitem"> <ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> <listItemType>checkOffOnly</listItemType>
</code><code class="wrappedText focusRow" role="listitem"> </ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> </Style>
</code><code class="wrappedText focusRow" role="listitem"> <Style id="LayerFolder_radioFolder">
</code><code class="wrappedText focusRow" role="listitem"> <ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> <listItemType>radioFolder</listItemType>
</code><code class="wrappedText focusRow" role="listitem"> </ListStyle>
</code><code class="wrappedText focusRow" role="listitem"> </Style>
</code><code class="wrappedText focusRow" role="listitem"> <name>OsthessenNetz</name>
</code><code class="wrappedText focusRow" role="listitem"> <Style id="style_symbol_point_3.6_ff0000ff">
</code><code class="wrappedText focusRow" role="listitem"> <IconStyle>
</code><code class="wrappedText focusRow" role="listitem"> <Icon>
</code><code class="wrappedText focusRow" role="listitem"> <href><a class="moz-txt-link-freetext" href="http://localhost/gistemp/54ae5c24_4474_0.png">http://localhost/gistemp/54ae5c24_4474_0.png</a></href>
</code><code class="wrappedText focusRow" role="listitem"> </Icon>
</code><code class="wrappedText focusRow" role="listitem"> </IconStyle>
</code><code class="wrappedText focusRow" role="listitem"> </Style>
</code><code class="wrappedText focusRow" role="listitem"> <Folder>
</code><code class="wrappedText focusRow" role="listitem"> <name>point</name>
</code><code class="wrappedText focusRow" role="listitem"> <visibility>1</visibility>
</code><code class="wrappedText focusRow" role="listitem"> <styleUrl>#LayerFolder_check</styleUrl>
</code><code class="wrappedText focusRow" role="listitem"> <Placemark>
</code><code class="wrappedText focusRow" role="listitem"> <name>point.0</name>
</code><code class="wrappedText focusRow" role="listitem"> <styleUrl>#style_symbol_point_3.6_ff0000ff</styleUrl>
</code><code class="wrappedText focusRow" role="listitem"> <description>test</description>
</code><code class="wrappedText focusRow" role="listitem"> <Point>
</code><code class="wrappedText focusRow" role="listitem"> <coordinates>
</code><code class="wrappedText focusRow" role="listitem"> 9.73281948,50.58202641
</code><code class="wrappedText focusRow" role="listitem"> </coordinates>
</code><code class="wrappedText focusRow" role="listitem"> </Point>
</code><code class="wrappedText focusRow" role="listitem"> </Placemark>
</code><code class="wrappedText focusRow" role="listitem"> </Folder>
</code><code class="wrappedText focusRow" role="listitem"> </Document>
</code><code class="wrappedText focusRow" role="listitem"></kml></code></pre>
<br>
Any ideas?<br>
<br>
Thank you<br>
<br>
Dietmar<br>
</body>
</html>