Point attribue value

Lowell Filak lfilak at MEDINACO.ORG
Fri May 20 15:18:43 EDT 2005


The following message was sent by "Mehdi Kiman" <oubinny at hotmail.com> on
Fri, 20 May 2005 16:51:48 +0000.

> I knew that. But my problem is in the step after.
> How i can query my shape using the picked point. I can use Wich methods ?
> Thanks Lowell
>
>
>
> >From: "Lowell Filak" <lfilak at medinaco.org>
> >To: Mehdi Kiman <oubinny at HOTMAIL.COM>, MAPSERVER-USERS at LISTS.UMN.EDU
> >Subject: Re: [UMN_MAPSERVER-USERS] Point attribue value
> >Date: Fri, 20 May 2005 10:55:47 -0400
> >
> >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

Will layer-querybypoint fit the need?

Lowell



More information about the mapserver-users mailing list