Default layer units
Jerry Pisk
jerry.pisk at GMAIL.COM
Thu Mar 24 20:35:42 EST 2005
Hi all,
I noticed that initLayer in mapfile.c initializes layer units to
meters, is that what we should do? Shouldn't default layer units be -1
meaning map units, or at least the current map units if -1 caused
problems (I believe it would)?
The problem is that some (but only some) parts of the mapserver code
transform layer units to map units and this assumption that layer
units are meters unless specified otherwise breaks that code. I went
ahead and removed that transformation from msDrawShape in circle
layers, since no other layer type was doing this. But there may be
more.
Jerry Pisk
More information about the mapserver-dev
mailing list