[mapserver-users] ICON Placing co-ordinates.....
Steve Lime
Steve.Lime at dnr.state.mn.us
Tue Dec 2 09:20:43 PST 2008
You'd use the icon as a symbol like so:
LAYER
NAME 'TheIcon'
STATUS DEFAULT
TYPE POINT
FEATURE
# This is where you specify position on the map
POINTS x y END
END
CLASS
STYLE
SYMBOL "2.gif"
END
END
END
Steve
>>> On 12/1/2008 at 11:08 PM, in message
<5cf1344b0812012108y730f048u24ce4f3d6b6680eb at mail.gmail.com>, "Vikas KM"
<vikki.km at gmail.com> wrote:
> Hi.. i have loaded a tiff image on mapserver and placed an ICON on that...
> but the thing i can't get the icon placed at the required co-ordinates its
> taking the extent as its reference..?
>
>
> my Map File
> -------------------
> MAP
>
> NAME "Tiff Image"
> SIZE 1900 1200
> EXTENT 0.0 0.0 1920.0 1200.0
> SHAPEPATH "/home/nms/mapserverdemo/tif/data/"
> IMAGETYPE JPEG
>
> WEB
> TEMPLATE "/home/nms/mapserverdemo/tif/tif.html"
> IMAGEPATH "/home/nms/mapserverdemo/tif/"
> IMAGEURL "/tif/"
> END
>
> LAYER
> STATUS default
> TYPE RASTER
> DATA "1.tif"
> END #END LAYER
>
> LAYER
> STATUS default
> TYPE RASTER
> /// size of the icon is 800,500
> DATA "2.gif"
> END #END LAYER
>
> END #END MAPFILE
>
>
> how to I place an icon at x,y given position on the reference map... that
> is 1.tif ????
>
>
> --------------
> Regards
>
> Vikas KM
More information about the MapServer-users
mailing list