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

Re: [ gpsdrive ] feature request: fullscreen map [move tograss/gdal]



Joerg wrote:
> But we should not try to strech the images with other functions than
> the zoom and size values.  The reason for this is, that it would make
> a switch to grass/gdal even more complicated.

To fork the thread slightly, WRT to future dependencies on grass/gdal --

IMO (as a GRASS dev with a fairly comprehensive knowledge of the code),
the most interesting part of the GRASS libs for the GpsDrive project is
the vector routing code (shortest path, etc) found in
grass6/lib/vector/Vlib/net.c, as used by these modules:

  d.path
  v.net           
  v.net.alloc     
  v.net.iso       
  v.net.path      
  v.net.salesman  
  v.net.steiner


GRASS would be very good for helping to design the prototype, but I
think it is much too much overkill to expect gpsdrive to depend on a
full GRASS install. (but see the new QGIS release for Windows that
includes a cut down version of GRASS tools for use as a backend GIS
engine)

For reading raster and vector maps, there is no question in my mind that
obtaining data from GeoTIFFs* with GDAL just-in-time is the way to go.
[*] or any/all of the many raster and vector formats GDAL+OGR can read.
It's the "Geospatial Data Abstraction Library" after all!


We'd still have to do the code to render to the widget canvas, but that
shouldn't be too bad, the widget toolkit should have something already.
(eg what QGIS does with Qt, and what the next-generation GRASS GUI will
do with WxWidgets+Python)

I haven't used Thuban GIS much, but I see it's debian package depends on
libgdal1 and libwxgtk2.4-python, so that would be a great place to get
some ideas. Certainly much more appropriate than GRASS's rendering
engine, parts of which date back to the early 1980s (the PNGDriver 
might be of interest though).


As for fullscreen mode, it would be nice to do this both from the
command line and from within the program. As with F11 for Firefox.


2c,
Hamish
-- 
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