SIZEUNITS in Perl Mapscript
Agneta Schick
schick at SDAC.HANNOVER.BGR.DE
Thu Mar 3 03:30:16 PST 2005
Hello,
Switching to MapServer 4.4.1 has almost solved my problem.
To recapitulate: I need a symbol (circle) with SIZEUNITS kilometers
that will scale accordingly to all zoom depths.
LAYER
...
SIZEUNITS kilometers
SYMBOLSCALE 3400000
CLASS
LABEL
MAXSIZE 800
END
STYLE
SIZE 1
SYMBOL 'circle'
OUTLINECOLOR 0 0 240
END
END
END
This works upto a certain depth. This level is reached when
the circle radius ~ kilometers of the scalebar
(e.g. a circle with radius 100 km will scale correctly
as long as the max value of the scalebar is > 100)
I was expecting to be able to zoom so far in that the circle is no longer
visible because it is 'outside' the map. Is this not possible??
Agneta
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Agneta Schick
Bundesanstalt fuer Geowissenschaften und Rohstoffe
Federal Institute for Geosciences and Natural Resources
Stilleweg 2
D- 30655 Hannover Tel.: +49 511 643 3136
GERMANY FAX.: +49 511 643 3663
schick at sdac.hannover.bgr.de http://www.seismologie.bgr.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the MapServer-users
mailing list