Developing uniform mask
Doug Nebert
ddnebert at usgs.gov
Mon Jan 10 08:32:08 PST 2000
Trevor Banister wrote:
>
> Just tell the layer not to transform.
Thanks, that'll do it!
>
> >From the docs:
>
> transform [true|false]: Tells the MapServer whether or not a particular
> layer needs to be transformed from some coordinate system to image
> coordinates. Default is true. This allows you to create shapefiles in
> image/graphics coordinates and therefore have features that will always
> be displayed in the same location on every map. Ideal for placing logos
> or text in maps. Remember that the graphics coordinate system has an
> origin in the upper lefthand corner of the image, contrary to most map
> coordinate systems.
>
LAYER
NAME logo
TYPE annotation
STATUS DEFAULT
DATA "other/logo"
TRANSFORM OFF
CLASS
TEXT " "
SYMBOL 10
COLOR 0 0 0
END
END
> Mapserver community:
>
> I am interested in creating a "template" or standard graphic method
> that would be pasted into every delivered map from a given service
> (i.e. from a given map settings file). At first I thought I'd just
> make a GIF with a wld file, but then I realized that I'd need to
> somehow compensate for its display at all scales, when it is actually
> more a final mask to put on the delivered image than it is a layer
> for the mapserver to deal with.
>
> This kind of functionality would be helpful in letting someone add
> a logo, graphic, some text, etc. to a map service to "personalize" it.
>
> Can anyone think of a systematic means for accomplishing this?
>
> Doug.
>
> --
> Douglas D. Nebert
> Clearinghouse Coordinator
> FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755
> Pager Messaging: http://fgdclearhs.er.usgs.gov/dougmsg.html
--
Douglas D. Nebert
Clearinghouse Coordinator
FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755
Pager Messaging: http://fgdclearhs.er.usgs.gov/dougmsg.html
More information about the MapServer-users
mailing list