[Mapserver-users] (no subject)
Steve Lime
steve.lime at dnr.state.mn.us
Thu Jul 31 11:03:59 PDT 2003
I'd actually have to look at the source code to confirm, but doing a
mode=query (i.e. return 1 result) should get you the closest feature.
The tolerance, in combination with the point are used to construct a
search extent. That extent is then applied to the data for generate a
list of candidate features. Then for each feature a distance is computed
with the closest being returned.
Steve
>>> "Lowell Filak" <lfilak at medinaco.org> 07/31/03 12:00PM >>>
If you view lat/long as a point you can query a street layer by using
the "tolerance" on the layer and doing a query.
However I don't believe it returns the "closest", but you should be
able
to find discussion on this in the archives.
Lowell
The following message was sent by "Hermie" <hartr at 3logix.com.au> on
Thu,
31 Jul 2003 18:43:45 +1000.
> Hi,
>
> Is there a standard command to access the name of the label/name of
the
> closest road/street based on a given lat/long.
>
> Any assistance would be great.
>
> Hart Runge
> 3Logix Pty Ltd
> Delivering Total Logistic Solutions
> Ph. 1300 727 100
> Fax 1300 727 101
> Mobile 0402 794198
> mailto:hartr at 3Logix.com.au <mailto:hartrung at remede.com.au>
> http://www.3Logix.com.au <http://www.remede.com.au/>
>
> This transmission is for the intended addressee only. If you have
received
> this transmission in error, please delete the mail and notify the
sender.
> The Contents of this e-mail are the opinion of the writer only and
are not
> endorsed by 3Logix Pty Ltd unless expressly stated otherwise.
>
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list