inline feature

Dirk-Jan Huisman d.huisman at INGBCC.NL
Mon Mar 14 08:04:08 EST 2005


Hi,

It still doesn't work. The inline feature disappeare after zooming.
This is the code.
  LAYER
    NAME "credits"
    STATUS DEFAULT
    TRANSFORM FALSE
    TYPE ANNOTATION
    FEATURE
      POINTS
	20 20
      END
      TEXT '© 2005'
    END
    CLASS
      LABEL
        TYPE TRUETYPE
        FONT arial
        SIZE 8
        ANTIALIAS TRUE
        COLOR 5 255 5
        POSITION UR
	  FORCE TRUE
      END
    END
  END

I'm using PHP/Mapscript and rosa-applet. Maybe i have to draw it through
the PHP-code? But how?

Dirk




-----Oorspronkelijk bericht-----
Van: Stephen Woodbridge [mailto:woodbri at SWOODBRIDGE.COM]
Verzonden: donderdag 10 maart 2005 15:50
Aan: MAPSERVER-USERS at LISTS.UMN.EDU
Onderwerp: Re: [UMN_MAPSERVER-USERS] inline feature


Dirk,

Just make sure that this is the last layer in your mapfile so when the
label cache is run it will be the first label draw. Then all the other
labels will avoid it. If it is not the first, and other labels are drawn
where it needs to be drawn, then it will get bumped and not draw. You
can also add FORCE TRUE to the label block.

-Steve W.
  http://imaptools.com

Dirk-Jan Huisman wrote:
> Hi,
>
> My LAYER is:
>
>       LAYER
>            NAME "credits"
>            STATUS DEFAULT
>            TRANSFORM FALSE
>            TYPE ANNOTATION
>            FEATURE
>                    POINTS
>                            300 300
>                    END
>                    TEXT 'Hello world.'
>            END
>            CLASS
>                    LABEL
>                            TYPE BITMAP
>                            COLOR 0 0 0
>                    END
>            END
>       END
>
> The LAYER in the link below gives the same problem.
>
> best regards,
>
>
> Hi,
>
> did you try something like described in:
>
>
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0103/msg00026.h
> tml
>
> ?
>
> Can you provide more info? The LAYER from your MAP file will help
> analyzing the problem.
>
> Best regards,
> Bart
>
>
>>Hi all,
>>
>>I want to draw text (copyright) in my map. In my mapfile I put the
>
> code
>
>>(FEATURE keyword). The string is drawed once and it looks good. But
>>after zooming it's gone.
>>What to do to draw the text again after each request?
>>
>>Dirk Jan
>>
>>
>>
>>
>
>
>
>
------------------------------------------------------------------------
------
> Prins Mauritsstraat 17, Postbus 75, 4140 AB Leerdam
> Telefoon (0345) 63 96 96, Fax (0345) 63 96 66,
> E-mail post at ingbcc.nl
> Internet www.ingbcc.nl
>
------------------------------------------------------------------------
------
> Deze e-mail en de eventuele bestanden die meegezonden zijn, zijn
vertrouwelijk en alleen bedoeld voor het gebruik door de individu of
instelling aan wie deze e-mail geadresseerd is. Als u deze e-mail
onterecht ontvangen heeft wilt u het ons dan laten weten.
>
------------------------------------------------------------------------
------
> This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the
system manager.
>
------------------------------------------------------------------------
------
>
------------------------------------------------------------------------------
Prins Mauritsstraat 17, Postbus 75, 4140 AB Leerdam
Telefoon (0345) 63 96 96, Fax (0345) 63 96 66,
E-mail post at ingbcc.nl
Internet www.ingbcc.nl
------------------------------------------------------------------------------
Deze e-mail en de eventuele bestanden die meegezonden zijn, zijn vertrouwelijk en alleen bedoeld voor het gebruik door de individu of instelling aan wie deze e-mail geadresseerd is. Als u deze e-mail onterecht ontvangen heeft wilt u het ons dan laten weten.
------------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the system manager.
------------------------------------------------------------------------------



More information about the mapserver-users mailing list