<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Dietmar,</div>
<div><br>
</div>
<div>Make sure your IMAGEURL is set to a Fully Qualified URL. Otherwise mapserver will not set the full URL to your point images.</div>
<div><br>
</div>
<div>Mike</div>
<div><br>
</div>
<div>
<div>
<div>
<div>-- </div>
<div>Michael Smith</div>
</div>
<div>US Army Corps</div>
<div>Remote Sensing GIS/Center</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Dietmar Stolz <<a href="mailto:dietmar.stolz@freenet.de">dietmar.stolz@freenet.de</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, January 8, 2015 at 5:40 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>" <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [mapserver-users] KML output with blank point<br>
<span style="font-weight:bold">Resent-From: </span>Michael Smith <<a href="mailto:michael.smith@usace.army.mil">michael.smith@usace.army.mil</a>><br>
</div>
<div><br>
</div>
<div>
<div 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>
</div>
</div>
</span>
</body>
</html>