On Jul 25, 12:16 am, Mario <[email protected]> wrote: > > But if you store enough points it will work. > > OK, I was rather thinking about storing LESS GPS data points and let > the routing do the rest, e.g. follow roads. Just as you do it when you > use your GPS software to plan a motorbike trip, set some dozen > waypoints, tell it to avoid highways and then let it plan the entire > trip in detail. > > Apparently, that doesn't work.
Unless you can reduce it to 8 waypoints, plus start and destinations. > > So, the proposal is to store MORE data points and draw polylines, > right? Yes. But it really depends on how accurate your GPS is. You might find that the points it gives you are not on the roads. If the offset is consistent, you might need to make an adjustment for it. You can also probably do some simplification by removing duplicate points (or points that are really close). You might also investigate the Douglas-Peucker polyline simplification algorithm -- Larry > > Thanks, > Mario. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
