I need to create the geo fence and save it in my existing application in the database. After creating for the geofence how would i save and utilize it. some suggestions needed. The user will get regular alerts whenever the vehicle is out of the fence area. I am thinking about using arcgis tracking analyst but using google maps also i think as u suggested it can be done. I want to use a polygonal geo fence to determine the route and not a linear one.Is it possible. The bus will have a gps/gprs unit fitted into it to give the location to know its position. Do i need to use some server controls or save server side scripts. I am pretty new, the programming can be done by somebody else but i wanted to be clear about the concept. Also what is a public map, do i have to take some google license or what. I am not clear about public map.I understood there are some license and legal issues. Thanks Siva
On Nov 30, 2:06 pm, Rossko <[email protected]> wrote: > > I want to know the basic concepts how to do geo fencing and coding in > > google maps api. it should also be the route the geo fence > > for the school bus. Kindly guide. > > First determine your "allowed" route as a series of lat/long pairs > defining a line. Google won't know your school bus route. You could > gather the data by hand drawing a polyline on a map. > > Next determine the current location of the bus. Google doesn't have > bus tracking features, so you'll need to look into how you can track > it (or track some passengers mobile phone perhaps?) > > Now find the distance between the bus location and your route line. > There are algorithms to do that. If the distance is more than X > metres, send your alert. You might need to add in something to check > the time/day and see if the bus should be en route at all, no point > alerting in the night? > > None of that need involve Google Maps at all, it can be done with > simple algorithms. You certainly can use maps to display the action, > but I would not recommend starting a new project using v2 API (this > group) but instead use v3 API, supported in the group > athttp://groups.google.com/group/google-maps-js-api-v3 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
