layer type circle

Nicol Hermann mapserver at GEOWORLD.DE
Fri Mar 11 02:21:10 PST 2005


Hi List,

i would like to use the layer type 'circle'. Attached you find the
mapfile i use. I expect to get a circle whose diameter is determined by
the two vertices of my line (bounding box for the circle).
What i get is as single point (1x1 pixel) in the center of the two
points.
Do i have a wrong understanding of the layer type, do i miss something
or is this a bug?

Many thanks for your help
Nicol



MAP
  NAME Germany
  EXTENT 5.86628568 47.27360151 15.0486318 55.05826185
  SIZE 300 300
  UNITS DD
  WEB
    IMAGEURL "/~nicol/mapserver/phpmapserver/tmp/"
    IMAGEPATH "/home/nicol/public_html/mapserver/phpmapserver/tmp/"
  END
  LAYER
    NAME "buffer"
    STATUS DEFAULT
    TYPE circle
    #TYPE line
    FEATURE
      POINTS
        8.2588482 48.87774279
        8.2588482 49.1577759
      END
      TEXT "circle"
    END
    TEMPLATE "dummy.html"
    CLASS
      NAME germany
      COLOR 0 0 255
      OUTLINECOLOR 0 0 0
      LABEL
        TYPE bitmap
        SIZE small
      END
    END
  END
END



More information about the MapServer-users mailing list