Opened 16 years ago
Closed 16 years ago
#2700 closed defect (fixed)
CGI SYMBOL control ignored
Reported by: | bbrehmer | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.2 release |
Component: | MapServer C Library | Version: | 5.0 |
Severity: | normal | Keywords: | CGI SYMBOL |
Cc: | bbrehmer@… |
Description
All attempts to modify a symbol via CGI controls are ignored.
Reproduction instructions:
- create a very simple mapfile which has a layer with a class and style in it:
.
..
...
LAYER
..
.
CLASS
STYLE
END
END
...
..
.
- To verify that there is actually point data in the data source, try setting the color:
...&map.layer[0].class[0].style[0]=COLOR+151+151+151&....
-this should produce an image with one or more points in it
- Create a URL which attempts to create/modify a symbol:
...&map.layer[0].CLASS[0].STYLE[0]=SYMBOL+'./blue_star.gif'&...
-this will produce a blank image without any errors (ie. the symbol is ignored)
- Create a symbol in your mapfile and try using that through the URL:
SYMBOL
TYPE PIXMAP
NAME 'blue_star'
IMAGE ./blue_star.gif
END
-This will also create a blank image (ie. the symbol is ignored)
Mapserver was compiled with the following options:
MapServer version 5.0.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_CLIENT SUPPORTS=FASTCGI INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
There is an original email (mapserver-users list) entitled 'CGI controls - Symbol' which is where this originated from.
Change History (2)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
Milestone: | → 5.2 release |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed in main trunk so this fix will be in 5.2.
Steve