Opened 19 years ago
Last modified 17 years ago
#1398 closed defect
[MapServer] SIZEITEM on POINT file causes crash — at Initial Version
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | 5.0 release |
Component: | MapServer C Library | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: | thomas.bonfort@… |
Description
I added SIZEITEM as part of bug#1357 and tested it with the new symbol type HATCH...that works, but if you use SIZEITEM on a POINT file i get the same thing as this user: ***** If I publish the minimal map file with SIZEITEM based on an integer attribute, the size of the symbol doesn't change. Worse: if I add a LABEL definition, Mapserver crashes, publishing only half a jpeg. Here is my mapfile with the LABLE definition: MAP #IMAGETYPE JPEG EXTENT 189775 4716305 731662 5472414 SIZE 400 600 SHAPEPATH "data\shp" FONTSET "D:\ms4w\fonts\fonts.txt" SYMBOL NAME "circle" TYPE ellipse FILLED true POINTS 8 8 END END PROJECTION "init=epsg:102010" END LAYER # States polygon layer begins here NAME escale DATA escale STATUS DEFAULT TYPE POINT PROJECTION "init=epsg:102010" END LABELITEM "id" CLASS STYLE SYMBOL "circle" SIZEITEM "duration" COLOR 1 255 1 #SIZE 28 #MINSIZE 12 OUTLINECOLOR 0 0 0 END LABEL COLOR 155 135 0 TYPE TRUETYPE FONT arial SIZE 12 FORCE true POSITION uc END #LABEL END #CLASS END #LAYER END Pierre Racine
Note:
See TracTickets
for help on using tickets.