[mapserver-users] RE RE PROCESSING CHART_SIZE_RANGE vaariable substition SOLVED
Steve.Toutant at inspq.qc.ca
Steve.Toutant at inspq.qc.ca
Wed Jan 9 08:25:56 PST 2013
I didn't find a way to modify the processing statement but in this trac
http://trac.osgeo.org/mapserver/ticket/2136
It seems that minsize maxsize minval maxval are optional, so only itemname
can be used.
That is a solution to me since I can manage my case on the database side.
(Just like I do with proportional circle using SIZE=[itemname])
I think the following (from the trac) should be added to the Mapserver
Dynamic charting doc
Also supports
PROCESSING "CHART_SIZE_RANGE = itemname"
without the minsize,maxsize,minval,maxval values for when the diameter can
be read directly from an attribute without need for rescaling
thanks
steve
Steve Toutant/INSPQ/SSSS
2013-01-09 10:53
A
Steve.Toutant at inspq.qc.ca
cc
mapserver-users at lists.osgeo.org, mapserver-users-bounces at lists.osgeo.org
Objet
RE [mapserver-users] PROCESSING CHART_SIZE_RANGE vaariable substition
If it was possible to modify the url it would be fine, such as we can do
to modify a class
$url .= urlencode('map.layer['mylayer'].class[0].style[0]=COLOR').
'+255+255+255+OUTLINECOLOR+255+255+255&';
Is it possible to do the same for processing chart_size_range?
I've tried without success yet.
thanks
steve
Steve.Toutant at inspq.qc.ca@lists.osgeo.org
Envoyé par : mapserver-users-bounces at lists.osgeo.org
2013-01-09 10:26
A
mapserver-users at lists.osgeo.org
cc
Objet
[mapserver-users] PROCESSING CHART_SIZE_RANGE vaariable substition
Hi,
I created a pie chart and use PROCESSING "CHART_SIZE_RANGE=total 10 50 1
154"
to define the size of each chart
I would like to avoid hardcoding minval and maxval since these values can
change in my application at runtime.
Is there a way to modify these values using runtime substitution variable
or programmatically?
thanks
steve
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130109/5a51aeff/attachment.htm>
More information about the MapServer-users
mailing list