EMBED parameter

Kieran Ames kames at optonline.net
Tue Dec 5 20:45:24 EST 2000


In the thread below, Steve states:
You MUST have a markerset defined to use embedded scalebars.
I don't understand how this would be defined. I can't point to an image that doesn't exist????
I guess the same goes for the legend image, yes?
Kieran

>   ------------------------------------------------------------------------
> [Date Prev][Date Next] [Chronological] [Thread] [Top]
>
> Re: EMBED parameter
>
>   ------------------------------------------------------------------------
>
>    * To: <RAldridge at linuxstart.com>, <mapserver-users at lists.gis.umn.edu>
>    * Subject: Re: EMBED parameter
>    * From: "Stephen Lime" <steve.lime at dnr.state.mn.us>
>    * Date: Wed, 22 Mar 2000 16:48:06 -0600
>
>   ------------------------------------------------------------------------
>
> Um, er. Forgot to update the docs for this one. Embeding works for scalebars
> at this point. The EMBED parameter is not used rather you set the STATUS
> to EMBED. You MUST have a markerset defined to use embedded scalebars.
> They are actually added as a symbol and rendered using the noramal marker
> utilities. Here's a typical definition:
>
> SCALEBAR
>   STATUS EMBED
>   LABEL
>     SIZE tiny
>     COLOR 0 0 0
>     OUTLINECOLOR 255 255 255
>   END
>   STYLE 0
>   INTERVALS 3
>   SIZE 100 3
>   COLOR 0 0 0
>   BACKGROUNDCOLOR 255 255 255
>   OUTLINECOLOR 0 0 0
>   UNITS MILES
>   POSITION LR
>   TRANSPARENT TRUE
> END # Scalebar
>
> TRANSPARENT turns the image transparent. POSITION is similar to POSITION for labels.
> Supported positions are UL,UC,UR,LL,LC,LR. Attached is an example image with an
> embedded scalebar using the above definition.
>
> Steve
>
> Stephen Lime
> Internet Applications Analyst
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> RAldridge <RAldridge at linuxstart.com> 03/22/00 03:19PM >>>
> Does the EMBED parameter still work for legends and scalebars?  I haven't tried it with a legend, but when I add 'EMBED true' to my scalebar parameters in my .map file, I get:
>
> loadScalebar(): Unknown identifier. (EMBED):(67)
>
> I don't know that I'd use it.  Just wanted to see how it looks.
>
> Thanks,
>
> Robert Aldridge
> ----------------------
> Do you do Linux? :)
> Get your FREE @linuxstart.com email address at: http://www.linuxstart.com
>
> example.gif
>
>   ------------------------------------------------------------------------
>
>    * Prev by Date: EMBED parameter
>    * Next by Date: Map server interface available
>    * Index(es):
>         o Chronological
>         o Thread




More information about the mapserver-users mailing list