[mapserver-users] Drawing a line

Roger André randre at gmail.com
Wed Oct 15 09:53:48 PDT 2008


You can add a new LAYER with a FEATURE that has the 2 points specified in
it, like this:

  LAYER
    NAME 'line'
    STATUS DEFAULT
    TYPE LINE
    FEATURE
      POINTS  -67.0000012 -16.9999952
                    -67.0000012 -17.4999950

      END
    END
    CLASS
      STYLE
        COLOR 255 0 0
        WIDTH 2
      END
    END # class
  END # layer

##############


On Wed, Oct 15, 2008 at 3:42 AM, ramya srinivasan <hellomps at gmail.com>wrote:

> Hi, How to draw a line on the map between two points given by the user?
> What all should be included in the mapfile for this line layer.
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081015/2ba2d828/attachment.htm>


More information about the MapServer-users mailing list