[mapserver-users] Thematic points by database values

Lowell Filak lfilak at medinaco.org
Fri Jun 14 13:05:30 EDT 2002


You could set the value using mapscript and then assign the size:
$csize = 4 + $sql_query_result_array[0];
$class->{size_or_sizescaled} = $csize
However there's most certainly multiple ways to do it.
Lowell F.

The following message was sent by "Martin, Daniel" <DMartin at erac.com> on Fri, 14 Jun 2002 10:03:39 -0500.

> I am trying to add thematic points by a value in the database.  Every
> example I've seen involves the use of many classes.  I'd rather avoid that,
> because my point values have an undetermined range, and change often.
> 
> I'm looking for something along the lines of:
> 
> CLASS
>  SIZE 4 + MyDbaseItem
>  ...
> END
> 
> But, I haven't found anything that works.  Is it possible to do this?
> 
> Thanks,
> Dan Martin




More information about the mapserver-users mailing list