<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 3, 2010, at 11:09 PM, Hamish wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>AFAICT there's nothing wrong with GpsDrive's install script; some of the<br>build tools disappeared. perhaps somehow setdown.sh got run before all<br>scripts were complete? shrug.<br><br><br>* load_postgis.sh's osm2pgsql will need to be modified due to a chicken<br>and egg problem: Barcelona.osm is not downloaded until install_osm.sh,<br>which runs after install_postgis.sh. Suggest to move the osm2pgsql stuff<br>into install_osm.sh; </div></blockquote><div><br></div>That makes sense to me.</div><div><br></div><div><blockquote type="cite"><div>if possible setting up the PostGIS DB in a way<br>compatible with Ross Scanlon's instructions here:<br> <a href="https://sourceforge.net/apps/mediawiki/gpsdrive/index.php?title=Setting_up_Mapnik">https://sourceforge.net/apps/mediawiki/gpsdrive/index.php?title=Setting_up_Mapnik</a><br><br></div></blockquote><div><br></div><div>I've never used GPSDrive, but I would caution against that wiki. I just skimmed it and it looks quite old. For example, it references very out of data urls to download shapefiles used for the osm stylesheets. </div><div><br></div><div>Both the OSM styles and osm2pgsql are not on a release cycle, so they need to be paired in time. The easiest way to do this is grab them both from latest osm SVN.</div><div><br></div><div><div>But, for the osgeo-live DVD we could consider pulling from a specific revision number to keep things simple. Just last week a few more shapefiles were added as dependencies (from natural earth) for the osm styles, so I can help get this right.</div><div><br></div></div><div>Given that (and I was just looking into this before finding this thread), would it be possible to install osm2pgsql from source on osgeo-live rather than from apt packages? osm2pgsql takes ./autogen && ./configure && make, but compiles in just a few seconds.</div><div><br></div><div><br></div></div><div><blockquote type="cite"><div>so that the resulting OSM DB can be accessed live from within GpsDrive &<br>then we can drop the pre-rendered sample data for that. (was 73mb for<br>Sydney)<br><br></div></blockquote><div><br></div>That makes good sense. Let me know how I can help.</div><div><br><blockquote type="cite"><div>also AFAIK osm2gpsql is smart enough to read planet.osm.bz2 files directly,<br>no need to unbzip them first.<br><br></div></blockquote><div><br></div>Yes, it is.</div><div><br><blockquote type="cite"><div><br>Hamish<br><br><br><br>_______________________________________________<br>Live-demo mailing list<br><a href="mailto:Live-demo@lists.osgeo.org">Live-demo@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/live-demo<br>http://wiki.osgeo.org/wiki/Live_GIS_Disc<br></div></blockquote></div><br></body></html>