<div dir="ltr"><div><div>Hi list,<br><br></div>I'm trying to make a WMS Server with a kernel (density) map with MapServer 7. In same situations (BBOX size, WIDTH and HEIGHT values) the image  is returned with no information (white image). Is it a BUG?<br><br></div><span style="color:rgb(0,0,255)"><b>Example: image with kernel map</b></span><br><div><br><a href="http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=">http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=</a><span style="color:rgb(0,0,255)"><b>800</b></span>&HEIGHT=<b><span style="color:rgb(0,0,255)">400</span></b>&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326<br><div><div><br><span style="color:rgb(255,0,0)"><b>Example: image with white image</b></span><br><br><a href="http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=">http://localhost/cgi-bin/mapserv7-beta?MAP=%2Fvar%2Fwww%2Fhtml%2Fkernelmap%2Fheat-2.map&LAYERS=heatmap&BBOX=-79.369542201052,-39.684771100526,0,0&WIDTH=</a><span style="color:rgb(255,0,0)"><b>800</b></span>&HEIGHT=<b><span style="color:rgb(255,0,0)">500</span></b>&VERSION=1.1.1&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326<br><br></div><div>MAP FILE:<br></div><div><br>  <span style="font-family:comic sans ms,sans-serif">layer<br>    name "heatmap"<br>    type raster<br>    connectiontype kerneldensity<br>    connection "points"<br>    status on<br>    processing "RANGE_COLORSPACE=%color%"<br>    processing "KERNELDENSITY_RADIUS=%radius%"<br>    processing "KERNELDENSITY_COMPUTE_BORDERS=%border%"<br>    processing "KERNELDENSITY_NORMALIZATION=%norm%"<br>    offsite 0 0 0<br>    SCALETOKEN<br>      NAME "%radius%"<br>      VALUES<br>        "0" "15"<br>        "255000000" "20"<br>      END<br>    END<br>    SCALETOKEN<br>      NAME "%border%"<br>      VALUES<br>        "0" "ON"<br>        "255000000" "OFF"<br>      END<br>    END<br>    SCALETOKEN<br>      NAME "%norm%"<br>      VALUES<br>        "0" "AUTO"<br>        "255000000" "30"<br>      END<br>    END<br>    SCALETOKEN<br>      NAME "%color%"<br>      VALUES<br>        "0" "HSL"<br>        "255000000" "RGB"<br>      END<br>    END<br>    class<br>      style<br>        COLORRANGE  "#0000ff00"  "#0000ffff"<br>        DATARANGE 0 32<br>      end<br>      style<br>        COLORRANGE  "#0000ffff"  "#ff0000ff"<br>        DATARANGE 32 255<br>      end<br>    end<br>  end<br><br>  LAYER<br>    name "points"<br>    status on<br>    type POINT<br>    CONNECTION "user=postgres password=xx dbname=yy host=localhost"<br>    CONNECTIONTYPE POSTGIS<br>    DATA 'geom FROM atividades USING UNIQUE id_atividade USING SRID=4326'<br>    CLASS<br>     #MAXSCALE 275000000<br>     STYLE<br>      SIZE 2<br>     END # style<br>    END #class<br>  END # final do layer</span><br><br><br></div><div>Uchoa<br clear="all"></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br><font size="4">Helton Nogueira <b>UCHOA</b> :: <a href="mailto:engenheiro.uchoa@gmail.com" target="_blank">engenheiro.uchoa@gmail.com</a></font><br><font face="arial, helvetica, sans-serif"><i>Information Technology and Geospatial Specialist - Project Manager</i><br></font><div><font face="arial, helvetica, sans-serif"><i>OSGeo Charter Member (<a href="http://www.osgeo.org" target="_blank">www.osgeo.org</a>)</i></font><div><font style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" size="2">+55 <b>85</b> 8886-3909 </font><font style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" size="1">(OI -<span> </span><b><font color="#38761d">WhatsApp</font></b>)</font><font style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" size="2"> :: +55 <b>85</b> 9716-7769 </font><font style="color:rgb(34,34,34);font-family:arial,sans-serif;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" size="1">(TIM)</font><font style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" size="2"> </font><font style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:arial;background-color:rgb(255,255,255)" size="2">:: +55 <b>85</b> 3037-8689</font><font style="color:rgb(34,34,34);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-family:arial;background-color:rgb(255,255,255)" size="1"> (MULTIPLAY)</font></div><div><div><font size="1">Blog: <a href="http://helton.uchoa.com/" target="_blank">helton.uchoa.com</a>/<br></font></div><div><font size="1">LinkedIn: <a href="http://br.linkedin.com/in/heltonuchoa/" target="_blank">br.linkedin.com/in/heltonuchoa/</a></font></div><div><font size="1">Facebook: <a href="https://www.facebook.com/HeltonNogueiraUchoa" target="_blank">www.facebook.com/HeltonNogueiraUchoa</a></font></div><div><font size="1">Twitter: <a href="https://twitter.com/helton_uchoa" target="_blank">https://twitter.com/helton_uchoa</a> (@helton_uchoa)<br></font></div><div><font size="1"><span style="font-family:arial">Vimeo: </span><a href="https://vimeo.com/channels/engenheirouchoa" target="_blank">https://vimeo.com/channels/engenheirouchoa</a><br></font></div><div><font size="1">Papers: <a href="http://pt.scribd.com/heltonuchoa" target="_blank">http://pt.scribd.com/heltonuchoa</a></font></div></div></div></div></div></div></div></div>
</div></div></div></div>