<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML-esimuotoiltu Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTML-esimuotoiltuChar
{mso-style-name:"HTML-esimuotoiltu Char";
mso-style-priority:99;
mso-style-link:HTML-esimuotoiltu;
font-family:Consolas;
color:black;}
p.signature, li.signature, div.signature
{mso-style-name:signature;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:9.0pt;
font-family:"Verdana","sans-serif";
color:#666666;}
p.nom, li.nom, div.nom
{mso-style-name:nom;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;
font-weight:bold;}
p.fonction, li.fonction, div.fonction
{mso-style-name:fonction;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:#CF0E1C;
font-style:italic;}
p.sep, li.sep, div.sep
{mso-style-name:sep;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
text-align:center;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
p.coordonnees, li.coordonnees, div.coordonnees
{mso-style-name:coordonnees;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:7.5pt;
font-family:"Times New Roman","serif";
color:black;}
span.nom1
{mso-style-name:nom1;
font-weight:bold;}
span.fonction1
{mso-style-name:fonction1;
color:#CF0E1C;
font-style:italic;}
span.coordonnees1
{mso-style-name:coordonnees1;}
span.Shkpostityyli27
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Thomas,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have the newest MS4W on the bottom. Then I have downloaded 32-bit GDAL-Mapserver development zip from gisinternals.com
<a href="http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip">
http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip</a> and changed the contents of the cgi-bin directory by copying all the .dll files from \bin and mapserv.exe from \bin\ms\apps of the gisinternals package. I have no idea about
how safe this method is or if it works with PHP MapScript at all. I have only tried to test new features introduced after Mapserver v. 6.2 through WMS.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It can well be that my trouble with kerneldensity map is caused by some mismatch with MS4W and the newer components and therefore I would like
to see a mapfile that works for someone on some platform with that easily available point data.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Thomas RAFFIN wrote:<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
<br>
Could you tell me how you have install / compile MS 6.5-dev on Windows please?<br>
does it works with Apache and PHP (PHP MapScript) ?<br>
<br>
Thanks,<br>
<br>
Thomas<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset <a href="http://www.naturalearthdata.com/http/www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip">http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip</a>? I have created .qix index but not touched the data in other ways.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I have indeed managed to get some coloured stripes out at some scales but what I mostly get is Internal server error (http 500). MS_ERRORFILE does not show any errors and Apache error log is probably recording just this:<o:p></o:p></pre>
<pre>[Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>My current LAYER (or layers, one for data and one for kerneldensity):<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>LAYER<o:p></o:p></pre>
<pre>NAME "points"<o:p></o:p></pre>
<pre>DATA "c:\data\ne\ne_10m_populated_places"<o:p></o:p></pre>
<pre>TYPE POINT<o:p></o:p></pre>
<pre> STATUS ON<o:p></o:p></pre>
<pre> PROJECTION<o:p></o:p></pre>
<pre> "init=epsg:4326"<o:p></o:p></pre>
<pre> END<o:p></o:p></pre>
<pre> debug 5<o:p></o:p></pre>
<pre> CLASS<o:p></o:p></pre>
<pre> STYLE<o:p></o:p></pre>
<pre> SIZE 5<o:p></o:p></pre>
<pre> SYMBOL "circle"<o:p></o:p></pre>
<pre> COLOR 200 200 200<o:p></o:p></pre>
<pre> OUTLINECOLOR 0 0 0<o:p></o:p></pre>
<pre> END<o:p></o:p></pre>
<pre> END<o:p></o:p></pre>
<pre>END<o:p></o:p></pre>
<pre>layer<o:p></o:p></pre>
<pre> name "heatmap"<o:p></o:p></pre>
<pre> type raster<o:p></o:p></pre>
<pre> connectiontype kerneldensity<o:p></o:p></pre>
<pre> connection "points"<o:p></o:p></pre>
<pre> status on<o:p></o:p></pre>
<pre> debug 5<o:p></o:p></pre>
<pre> #processing "RANGE_COLORSPACE=HSL"<o:p></o:p></pre>
<pre> processing "KERNELDENSITY_RADIUS=20"<o:p></o:p></pre>
<pre> processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN"<o:p></o:p></pre>
<pre> #processing "KERNELDENSITY_COMPUTE_BORDERS=ON"<o:p></o:p></pre>
<pre> processing "KERNELDENSITY_NORMALIZATION=AUTO"<o:p></o:p></pre>
<pre> offsite 0 0 0<o:p></o:p></pre>
<pre> class<o:p></o:p></pre>
<pre> style<o:p></o:p></pre>
<pre> COLORRANGE "#0000ff00" "#0000ffff"<o:p></o:p></pre>
<pre> DATARANGE 0 32<o:p></o:p></pre>
<pre> end<o:p></o:p></pre>
<pre> style<o:p></o:p></pre>
<pre> COLORRANGE "#0000ffff" "#ff0000ff"<o:p></o:p></pre>
<pre> DATARANGE 32 255<o:p></o:p></pre>
<pre> end<o:p></o:p></pre>
<pre> end<o:p></o:p></pre>
<pre> end<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>What I have tried so far has been to comment out this and that but result seems to be always the same.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-Jukka Rahkonen-<o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>mapserver-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>
<br>
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="600" style="width:360.0pt">
<tbody>
<tr>
<td width="200" style="width:120.0pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span class="nom1"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666">Thomas RAFFIN</span></span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666"><br>
</span><span class="fonction1"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Chef de Projet Internet</span></span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666"><br>
</span><span class="coordonnees1"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#666666"><a href="mailto:traffin@sirap.fr"><span style="color:#666666;text-decoration:none">traffin@sirap.fr</span></a></span></span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666">
<o:p></o:p></span></p>
</td>
<td width="218" style="width:130.8pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666"><a href="http://sirap.fr"><span style="text-decoration:none"><img border="0" width="212" height="58" id="_x0000_i1025" src="cid:image001.png@01CFDBD5.A9EE2FB0" alt="Sirap"></span></a><o:p></o:p></span></p>
</td>
<td width="221" style="width:132.6pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span class="coordonnees1"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#666666">Tel : 04 75 72 84 10</span></span><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#666666"><br>
<span class="coordonnees1">Fax : 04 75 70 07 98</span><br>
<span class="coordonnees1">Rue Paul Louis Héroult - BP 253</span><br>
<span class="coordonnees1">26106 Romans cedex </span></span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:#666666"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>