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

From: Jesper Berglund <jesper.berglund_at_pertexo.se>
Date: Thu, 25 Oct 2007 09:41:27 +0200

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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Oct 25 2007 - 03:50:40 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:08 EDT