Jukka, The msautotest suite has some heatmap examples you can work from: https://github.com/mapserver/msautotest/blob/master/gdal/heat.map
-- thomas On 29 September 2014 10:17, Rahkonen Jukka (Tike) <[email protected] > wrote: > Hi Thomas, > > > > I have the newest MS4W on the bottom. Then I have downloaded 32-bit > GDAL-Mapserver development zip from gisinternals.com > http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip > 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. > > > > 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. > > > > -Jukka Rahkonen- > > > > Thomas RAFFIN wrote: > > > > Hi, > > Could you tell me how you have install / compile MS 6.5-dev on Windows > please? > does it works with Apache and PHP (PHP MapScript) ? > > Thanks, > > Thomas > > Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a écrit : > > Hi, > > > > 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 > 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>? > I have created .qix index but not touched the data in other ways. > > > > 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: > > [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script > headers: mapserv.exe > > > > My current LAYER (or layers, one for data and one for kerneldensity): > > > > LAYER > > NAME "points" > > DATA "c:\data\ne\ne_10m_populated_places" > > TYPE POINT > > STATUS ON > > PROJECTION > > "init=epsg:4326" > > END > > debug 5 > > CLASS > > STYLE > > SIZE 5 > > SYMBOL "circle" > > COLOR 200 200 200 > > OUTLINECOLOR 0 0 0 > > END > > END > > END > > layer > > name "heatmap" > > type raster > > connectiontype kerneldensity > > connection "points" > > status on > > debug 5 > > #processing "RANGE_COLORSPACE=HSL" > > processing "KERNELDENSITY_RADIUS=20" > > processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" > > #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" > > processing "KERNELDENSITY_NORMALIZATION=AUTO" > > offsite 0 0 0 > > class > > style > > COLORRANGE "#0000ff00" "#0000ffff" > > DATARANGE 0 32 > > end > > style > > COLORRANGE "#0000ffff" "#ff0000ff" > > DATARANGE 32 255 > > end > > end > > end > > > > What I have tried so far has been to comment out this and that but result > seems to be always the same. > > > > -Jukka Rahkonen- > > _______________________________________________ > > mapserver-users mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > > > -- > > Thomas RAFFIN > Chef de Projet Internet > [email protected] > > [image: Sirap] <http://sirap.fr> > > Tel : 04 75 72 84 10 > Fax : 04 75 70 07 98 > Rue Paul Louis Héroult - BP 253 > 26106 Romans cedex > > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
