<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
1. osrm_id is a reference to a table like:<br>
<br>
create table osrm_servers (<br>
id integer,<br>
url text,<br>
comment text<br>
);<br>
<br>
If it is set to -1 (default) the the assumed url is '<a href="http://localhost:5000/" target="_blank">http://localhost:5000/</a>', but is you have multiple local servers setup on your network, then you can enter them in this table and pass in the id for the server you want this query to access.<br>
</blockquote><div><br></div><div>Hi Steve,</div><div><br></div><div>I would prefer not to have a reference table. This causes problems which SCHEMA it should be available in, etc..</div><div><br></div><div>If it's just a URL parameter, why not pass it as an attribute?</div>
<div>Or if a table is necessary, then like other pgRouting functions the argument could be "sql::text", so some could have a table and some user could just write "SELECT '<a href="http://localhost:5000/">http://localhost:5000/</a>' AS url, ...".</div>
<div> </div><div><br></div><div>Daniel</div></div><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66,99,171)" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de/" style="color:rgb(66,99,171)" target="_blank">http://georepublic.de</a></span>
</div></div>