[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ gpsdrive ] Trace way between streets



David wrote:
> > would like to know too if the gpsdrive can show me the best way to
> > get from one point  to another. if it does, and if for some reason
> > the driver wont get on the street, will it recalculate a new way to
> > get there ???
> 
> No,  at the moment there is no way to generate a route.  One of the
> new features being intergraed into gpsdrive is openstreetmap which may
> one day allow for automatic routing but at the moment that seems a
> little way off yet.


suggestion for possible routing solution: (some assembly required)

Load OSM into a topolical vector GIS (GRASS) and make network:
   http://hamish.bowman.googlepages.com/gpsdrivefiles

Use GRASS's v.net modules to do road names, one ways, shortest path
routing, travelling salesman problem, minimum Steiner tree, etc.
  http://grass.ibiblio.org/grass63/manuals/html63_user/vector.html

v.lrs modules are also interesting.

export to a map image of the same name using d.out.gpsdrive module
every little while and convince gpsdrive to reload it.
 
http://grass.ibiblio.org/grass63/manuals/html63_user/d.out.gpsdrive.html


screenshots of network analysis in action:
  http://grass.ibiblio.org/grass61/screenshots/network.php


all the ingredients are there & GPL! (if a bit rough)



Hamish


ps - fetchmap.pl from WMS servers would be very nice (eg worldwide
LANDSAT 30m coverage).

http://onearth.jpl.nasa.gov

see these shell scripts:  r.in.wms, r.in.onearth

correct center & scaling factor can be calculated from region info
reported by gdalinfo. (see my d.out.gpsdrive script) Otherwise GDAL
libs are not needed, just wget and gdalinfo, and gdal_translate or
gdalwarp to get the image size/projection correct.
(project into WGS84 lat/lon, warp to specified size, output is
georeferenced, calc gpsdrive registration values from that)

WMS:
  http://en.wikipedia.org/wiki/Web_Map_Service

r.in.wms:
  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/scripts/r.in.wms/

r.in.onearth:
  http://www-pool.math.tu-berlin.de/~soeren/grass/modules/
-- 
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo@warbase.selwerd.nl