<br><br><div class="gmail_quote">2010/8/2 Hamish <span dir="ltr"><<a href="mailto:hamish_b@yahoo.com">hamish_b@yahoo.com</a>></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>
> > I suspect the host= portion of the connection string, but have no<br>
> > proof of that<br>
<br>
</div><div class="im">Daniel wrote:<br>
> Oh, maybe the host name could be an answer. Good idea!I remember that I<br>
> once couldn't connect with localhost but 127.0.0.1 was OK ... or the<br>
> other way round. This might depend on the pg_hba.conf settings.<br>
><br>
> Currently I don't specify host name, so it takes 127.0.0.1 as default<br>
> value. Maybe it works when host is set as "localhost".It would then be<br>
> osm2pgrouting -file "$TMP/sampledata.osm" \<br>
>   -conf "/usr/share/osm2pgrouting/mapconfig.xml" \<br>
>   -dbname $OSM_DB \<br>
>    -host localhost \<br>
>    -user $USER_NAME \<br>
>    -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'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'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'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'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>