creating QUERYMAP of layers with SIZEITEM/ANGLEITEM causes crash
Mapserver (4.6.1) crashes if I want create querymaps with a query on a layer
(point or polygon) which includes SIZEITEM and/or ANGLEITEM in the STYLE-Object.
For example I have a layer with filled circles in one CLASS where the size
varies with SIZEITEM. If I click on a circle in the query (or nquery) mode then
mapserver hangs up.
I get neither a querymap nor query results but an Internal Server Error.
The same query works fine without creating a querymap.
Some parts of my Mapfile:
NAME BERLIN2
STATUS ON
SIZE 460 380
SYMBOLSET "symbols/symbols.sym"
EXTENT 368711.0 5799080.0 417394.3 5837400.0
UNITS METERS
SHAPEPATH "data2"
IMAGECOLOR 255 255 224
TRANSPARENT OFF
IMAGETYPE PNG
WEB
TEMPLATE berlin2.html
MINSCALE 50000
MAXSCALE 310000
IMAGEPATH "c:/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
HEADER templates/head.html
FOOTER templates/foot.html
END
QUERYMAP
SIZE 260 210
STATUS ON
STYLE HILITE
COLOR 255 255 0
END
PROJECTION
"init=epsg:32633"
END
LAYER
NAME ewabs3_orte
PROJECTION
"init=epsg:4326"
END
TYPE Point
DATA portsteile
STATUS ON
TEMPLATE templates/ewzahl.html
TOLERANCE 8
CLASS
STYLE
SYMBOL punkt # filled circle
SIZEITEM "EW_SIZE"
COLOR 0 0 204
OUTLINECOLOR 0 0 0
END
END
END
END
The Apache error.log says:
Premature end of script headers: mapserv_46.exe, referer:
http://localhost/cgi-bin/
.
The same problem occurs if I use ANGLEITEM in a STYLE-Object. If I use SIZE or
ANGLE instead of SIZEITEM or ANGLEITEM in the same layer, mapservers draws the
querymaps correctly.
This happens also in a polygon-layer with SYMBOL HATCH and SIZEITEM/ANGLEITEM in
the STYLE-Object.
Karsten Hoffmann