inline feature
Dirk-Jan Huisman
d.huisman at INGBCC.NL
Mon Mar 14 08:06:36 PST 2005
The problem was that in my PHP-code the layers status was based on the
legend. The inline feature was not in the legend.
After the redraw of the map the inline feature disappeared because is
doesn't exist in de array with the status of the layers. No one else
would make a blunder like this so I didn't report it :)
-----Oorspronkelijk bericht-----
Van: Bart van den Eijnden [mailto:bartvde at xs4all.nl]
Verzonden: maandag 14 maart 2005 16:45
Aan: Dirk-Jan Huisman; MAPSERVER-USERS at lists.umn.edu
Onderwerp: Re: [UMN_MAPSERVER-USERS] inline feature
It would help future users if you report back what solved your problem
:)
Best regards,
Bart
On Mon, 14 Mar 2005 16:16:29 +0100, Dirk-Jan Huisman
<d.huisman at INGBCC.NL>
wrote:
> I found what was wrong.
> Thanks for the help!
>
> -----Oorspronkelijk bericht-----
> Van: Dirk-Jan Huisman
> Verzonden: maandag 14 maart 2005 14:04
> Aan: MAPSERVER-USERS at LISTS.UMN.EDU
> Onderwerp: Re: [UMN_MAPSERVER-USERS] inline feature
>
>
> 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.
>
------------------------------------------------------------------------
> ------
>
------------------------------------------------------------------------
------
> 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.
>
------------------------------------------------------------------------
------
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
------------------------------------------------------------------------------
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