Try:
http://alienryderflex.com/polygon/

javascript implementation: http://econym.org.uk/gmap/epoly.htm



On 16/09/2009, William J. Spat <[email protected]> wrote:
> I wanted to pick the collective, dissociated geowanking brain on a problem
>  that has me stumped.
>
>  I need to set a region in Open Layers using Open Street Map, and then
>  automatically determine if a given point falls within that region.
>
>  I've come up with a simple formula that works with a quadrilateral-shaped
>  boxed region, but some possible regions are more complicated than that,
>  having more than four sides and not being exactly box shaped.
>
>  Does anyone have any suggestions for a more robust formula that would work
>  for a greater range of region shapes?  Or a clever work-around?
>
>  Thanks in advance,
>
>  Will
>
>
>  _______________________________________________
>  Geowanking mailing list
>  [email protected]
>  http://geowanking.org/mailman/listinfo/geowanking_geowanking.org
>

_______________________________________________
Geowanking mailing list
[email protected]
http://geowanking.org/mailman/listinfo/geowanking_geowanking.org

Reply via email to