Groups
Groups
Sign in
Groups
Groups
georuby
Conversations
About
Send feedback
Help
Determine if point is within bounding box
258 views
Skip to first unread message
Daniel Berger
unread,
Sep 1, 2010, 3:51:48 PM
9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to georuby
Hi,
Using georuby, how would you determine if a given point is within the
bounding box? I've looked at the API, but nothing immediately stood
out for me.
Ruby 1.8.7, georuby 1.3.4 btw
Regards,
Dan
paron
unread,
Sep 2, 2010, 6:55:43 AM
9/2/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to georuby
I didn't use georuby the last time I did this. I just checked:
pt.lat > bounding.min_lat && pt.lat<bounding.max_lat &&
pt.lng<bounding.max_lng && pt.lng > bounding.min_lng
but I'm sure that's not what you mean.
Ron
Reply all
Reply to author
Forward
0 new messages