Developing uniform mask

imap at chesapeake.net imap at chesapeake.net
Thu Jan 13 12:18:48 EST 2000


Steve,

I think Doug is using 3.2   Correct me if I am wrong here, but I dont think 
INLINE FEATURES were in that version.

-Chris


Stephen Lime wrote:
> 
> I might also add that you can use inline features to do this as well. No sense
> creating a shapefile in this case. Here's an example:
> 
> LAYER
>   NAME logo
>   TYPE annotation
>   STATUS DEFAULT
>   TRANSFORM OFF
>   CLASS
>     TEXT " "
>     SYMBOL 10
>     COLOR 0 0 0
>   END
>   FEATURE
>     POINTS 5 250 END
>   END
> END
> 
> Makes life a bit easier. Certainly easier to play with the placement.
> 
> Steve
> 
> >>> Doug Nebert <ddnebert at usgs.gov> 01/10/00 10:32AM >>>
> 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