layer type circle

Bart van den Eijnden bartvde at XS4ALL.NL
Fri Mar 11 06:35:43 EST 2005


Hi Nicol,

AFAIK inline features are in pixel coordinates, not in world coordinates.

I don't know how to create a buffer in real world coordinates with
Mapserver though, so that doesn't help you ...

Best regards,
Bart

> 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