Point attribue value

Lowell Filak lfilak at MEDINACO.ORG
Fri May 20 10:55:47 EDT 2005


The following message was sent by Mehdi Kiman <oubinny at HOTMAIL.COM> on
Fri, 20 May 2005 08:03:24 -0500.

> Hello,
> I would click in a map and have attributes informations about the
clicked point.
> i must use methods like getmeasureusingpoint(pointObject point) and
> getShape(int tileindex, int shapeindex) but my problem is to have
connection
> between my clicked point and the shape object.
> How i can get the "shapeindex" number of my point ?
>
> Sorry for my confused request.

Mehdi,

The first step is to translate from pixel coordinates to real-coordinates.
The you can query your shape(s) using the picked point.

Lowell



More information about the mapserver-users mailing list