draw points

Mandar sarlashkar manninside at YAHOO.COM
Tue Feb 1 12:27:37 EST 2005


Hello !

I am a novice for Mapserver & this is for the first time I am writing to someone regarding Mapserver....So If I have written anything irrelevent.... please dont mind... Anyways

I thinl the points get displayed but are not visible.... If you dont  define Symbol Name or Number to be used for the features it takes default value which is ' 0 ' & will displays features as a single Pixel...

This is how I have defined CLASS object within LAYER....

CLASS
NAME "lanta_1975_resort"
COLOR 165 42 42
OUTLINECOLOR 0 0 0
SYMBOL 3
SIZE 6
END

SYMBOL 3 refers to the 3rd symbol defined in the Symbol file...

I am copying the definition of the LAYER object ...


LAYER
NAME "Resort"
STATUS ON
DATA 'lanta_1975_resort'
TYPE POINT
DUMP TRUE
UNITS METERS
TOLERANCE 50
TEMPLATE "Resort.html"
CLASS
NAME "lanta_1975_resort"
COLOR 165 42 42
OUTLINECOLOR 0 0 0
SYMBOL 3
SIZE 6
END
END
I am not sure if this is what you wanted to know...

BEST OF LUCK

Mandar


Jose Luis Gonzalez <joseluismapserver at YAHOO.ES> wrote:
I know it has been a question that has been answered som times, but reading some of the mails about the subject, I don't finally got it clear.
How is the layer I have to write in the map file so I can draw a point in may map with some coordinate system?
I think it is something like this but I am not very sure why it doesn't draw the point.

    LAYER
      NAME "POINT"
       TYPE POINT
       STATUS DEFAULT
   FEATURE
    POINTS
     3460000 5540000
    END
   END
       CLASS
          STYLE
            COLOR 255 0 0
            SIZE 13
          END
   END
   END

By the way, once drawn, how can i change it's size (a fat point).

Thank you

Jose Luis



Jose Luis Gonzalez <joseluismapserver at YAHOO.ES> wrote:I know it has been a question that has been answered som times, but reading some of the mails about the subject, I don't finally got it clear.
How is the layer I have to write in the map file so I can draw a point in may map with some coordinate system?
I think it is something like this but I am not very sure why it doesn't draw the point.

    LAYER
      NAME "POINT"
       TYPE POINT
       STATUS DEFAULT
   FEATURE
    POINTS
     3460000 5540000
    END
   END
       CLASS
          STYLE
            COLOR 255 0 0
            SIZE 13
          END
   END
   END

By the way, once drawn, how can i change it's size (a fat point).

Thank you

Jose Luis



---------------------------------




---------------------------------
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050201/96abc264/attachment.html


More information about the mapserver-users mailing list