layer type circle

Nicol Hermann mapserver at GEOWORLD.DE
Fri Mar 11 07:27:05 EST 2005


Hi Bart,

i changed the feature section and the extents to pixel coordinates to
see if it works at all. The result is the same. One single 1x1 pixel.
So there must be something else wrong.

Nicol


Am Freitag, den 11.03.2005, 12:35 +0100 schrieb Bart van den Eijnden:
> 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