[mapserver-users] RE RE PROCESSING CHART_SIZE_RANGE vaariable substition SOLVED

Havard Tveite havard.tveite at umb.no
Thu Jan 10 06:19:32 PST 2013


I have added
PROCESSING "CHART_SIZE_RANGE = itemname"
as an alternative use in the dynamic charting document.

Håvard

On 1/9/2013 5:25 PM, Steve.Toutant at inspq.qc.ca wrote:
>
> 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 substitionLien <Notes://INS03INSPQ00001/85256FDD006242B0/4F99950C219A802E852574F30042AAB4/D999175AB0849F0085257AEE0054D79F>
>
>
> 	
>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/


More information about the mapserver-users mailing list