Thanks Dave and Dan,

 

Pretty much both of you are kind of getting at the same ideas I had. I
guess I asked in an ambiguous way because it doesn't pertain to a
specific situation. The point layer specific for labeling I think it the
way I'll have to go but David did touch on something interesting that I
wasn't sure you could do:

 

On your first suggestion, are you saying I could create a point feature
and label it using 'TEXT'? If so, can I do this without having the point
be visible? Then you mention I could use an annotation type layer
instead. Does the same apply as far as being able to specify x and y
cords and use a 'TEXT' clock to label? If so then that is an interesting
feature!

 

________________________________

From: Fawcett, David [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 1:18 PM
To: Daniel Degasperi; Nelson Soto
Cc: [email protected]
Subject: RE: [mapserver-users] Labelling

 

It isn't exactly clear to me what you are trying to accomplish Nelson.
I see two possibilities:

 

a.  If you want to create a label that is independent from the features
in your data set, you can create a class with an inline feature, setting
the x and y coords, and using 'text' to specify what the label text
should be.  You could even create this labeled feature on the fly by
passing this info in as a URL configuration.  If you just want to show
the label, you could do this in an annotation layer instead of a
point/poly/line layer.  

 

b.  If you want to specify label points for your a point/poly/line
layer, you could create a point dataset of your label points and then
use that as the basis of an annotation layer 

 

With either of these methods, you could either specify the label
position to a fixed location, like the center, or upper left position,
or you could use auto and let MapServer find the best position for it.

 

David.  

        -----Original Message-----
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Degasperi
        Sent: Friday, October 31, 2008 11:07 AM
        To: Nelson Soto
        Cc: [email protected]
        Subject: Re: [mapserver-users] Labelling

        Hi,
        
        you can't give some coordinates to your label. I solved the
problem by creating a point layer.
        
        
        
        Nelson Soto schrieb: 

        Is it possible to create a label and position it with given
coordinates? If I do not like the positioning of the labels, can I in
any way specify my own?

        
        
        
________________________________



         
        _______________________________________________
        mapserver-users mailing list
        [email protected]
        http://lists.osgeo.org/mailman/listinfo/mapserver-users
          

        
        
        
        

        -- 
          Daniel Degasperi
          Software Developer
          [EMAIL PROTECTED]
          
        ---------------------------
          R3 GIS Srl
          Via Johann Kravogl 2
          I-39010 Merano - Sinigo (BZ)
          Tel. +39 0473 494949
          Fax. +39 0473 069902
          Web  http://www.r3-gis.com
        -----------------------------

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to