[OpenMap Users] OMPoly.contains( lat, lon ) ?

From: Jesper Berglund <jesper.berglund_at_email.domain.hidden>
Date: Thu Oct 25 2007 - 03:41:27 EDT

Hello all.

I am wondering how to check that an area (for example a closed OMPoly)
contains a lat lon coordinate.

How do I do that?

Do I need to project the poly and then translate the lat lon coordinate
to pixel xy and do a poly.contains( x, y )?

Is there another way?

/Jesper Berglund
Pertexo Systems AB
Sweden

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Oct 25 03:56:00 2007

This archive was generated by hypermail 2.1.8 : Thu Oct 25 2007 - 03:56:00 EDT