<br><br><div class="gmail_quote">2010/8/2 Hamish <span dir="ltr">&lt;<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">Brian Hamlin wrote:<br>
&gt; &gt; I suspect the host= portion of the connection string, but have no<br>
&gt; &gt; proof of that<br>
<br>
</div><div class="im">Daniel wrote:<br>
&gt; Oh, maybe the host name could be an answer. Good idea!I remember that I<br>
&gt; once couldn&#39;t connect with localhost but 127.0.0.1 was OK ... or the<br>
&gt; other way round. This might depend on the pg_hba.conf settings.<br>
&gt;<br>
&gt; Currently I don&#39;t specify host name, so it takes 127.0.0.1 as default<br>
&gt; value. Maybe it works when host is set as &quot;localhost&quot;.It would then be<br>
&gt; osm2pgrouting -file &quot;$TMP/sampledata.osm&quot; \<br>
&gt;   -conf &quot;/usr/share/osm2pgrouting/mapconfig.xml&quot; \<br>
&gt;   -dbname $OSM_DB \<br>
&gt;    -host localhost \<br>
&gt;    -user $USER_NAME \<br>
&gt;    -clean<br>
<br>
<br>
</div>bingo! now it works in my test VM. it takes a few minutes to run but is<br>
no worse than 5 minutes or so. pity there&#39;s no --quiet flag like psql has.<br>
<br>
I can now connect, load, and query the pgrouting PostGIS database in QGIS.<br></blockquote><div><br></div><div>Wow, that&#39;s a good news! Thank you for testing!</div><div><br></div><div>Sorry for the noisy output. It was a contribution of a student to pgRouting and unfortunately I have no idea about C and C++ to be able to add a --quiet flag. All I could manage is to work on the Ubuntu package ;-) Probably it&#39;s not so difficult and I can ask Anton, if he has a time. </div>

<div><br></div><div>About the time it takes I expected a bit less, but the OSM file of Barcelona was larger than I thought. It has to build the topology, but I thinlk it&#39;s worth to do when building the LiveDVD, because it will ensure that the OSM file available in /usr/share/osm is the same version as the routing data. An option would be to just load a prepared database dump as in the previous LiveDVD releases.</div>

<div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
nice work guys,<br>
<font color="#888888">Hamish<br>
<br>
<br>
<br>
<br>
</font></blockquote></div><br>