Determine when I have crossed state line?

المشرف العام

Administrator
طاقم الإدارة
We are currently using the Google Maps API to get route information and total mileage but we would like to determine when we are crossing into a new state. When we return the route information we can be handed 2000+ Latitude and Longitude points. Initial thought was to do a lookup on each point to determine what state it was in but that would be very intensive. Another option would be to try and find a way to determine if the Lat & Long where inside a polygon or KMZ. Has anyone seen code for this?

Otherwise what other options should I be investigating?



أكثر...
 
أعلى