<div dir="ltr">Hi all,<div><br></div><div style>Trying to get the documentation structured I felt that it was a good idea to unify our custom types: <a href="http://docs.pgrouting.org/dev/src/common/doc/types.html">http://docs.pgrouting.org/dev/src/common/doc/types.html</a></div>

<div style><br></div><div style>But there are functions that only return a status and I'm not so happy with examples like:</div><div style><br></div><div style><pre style="border:thin dotted rgb(12,55,98);margin-top:0px;margin-bottom:12px;padding:0.8em;background-color:rgb(240,240,240);color:rgb(51,51,51)">

<span class="" style="color:rgb(0,112,32);font-weight:bold">SELECT</span> <span class="" style="color:rgb(102,102,102)">*</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">FROM</span> <span class="">pgr_nodeNetwork</span><span class="">(</span><span class="" style="color:rgb(64,112,160)">'edge_table'</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">'id'</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">'the_geom'</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">'edge_table_noded'</span><span class="">,</span> <span class="" style="color:rgb(32,128,80)">0</span><span class="">.</span><span class="" style="color:rgb(32,128,80)">000001</span><span class="">);</span>

               <span class="">pgr_nodenetwork</span>
<span class="" style="color:rgb(64,128,144);font-style:italic">----------------------------------------------</span>
 <span class="">edge_table_noded</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">generated</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">with</span><span class="">:</span> <span class="" style="color:rgb(32,128,80)">16</span> <span class="">segments</span>
<span class="">(</span><span class="" style="color:rgb(32,128,80)">1</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">row</span><span class="">)</span></pre></div><div><pre style="border:thin dotted rgb(12,55,98);margin-top:0px;margin-bottom:12px;padding:0.8em;background-color:rgb(240,240,240);color:rgb(51,51,51)">

<span class="" style="color:rgb(0,112,32);font-weight:bold">SELECT</span> <span class="">pgr_createTopology</span><span class="">(</span><span class="" style="color:rgb(64,112,160)">'edge_table'</span><span class="">,</span> <span class="" style="color:rgb(32,128,80)">0</span><span class="">.</span><span class="" style="color:rgb(32,128,80)">000001</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">'the_geom'</span><span class="">,</span> <span class="" style="color:rgb(64,112,160)">'id'</span><span class="">);</span>

 <span class="">pgr_createtopology</span>
<span class="" style="color:rgb(64,128,144);font-style:italic">--------------------</span>
 <span class="">OK</span>
<span class="">(</span><span class="" style="color:rgb(32,128,80)">1</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">row</span><span class="">)</span></pre></div><div><br></div><div>What about some "pgr_statusResult", which could contain a status code for example and a status message?</div>

<div><br></div><div><pre style="border:thin dotted rgb(12,55,98);margin-top:0px;margin-bottom:12px;padding:0.8em;background-color:rgb(240,240,240);color:rgb(51,51,51)"><span class="" style="color:rgb(0,112,32);font-weight:bold">CREATE</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">TYPE</span> <span class="">pgr_statusResult</span> <span class="" style="color:rgb(0,112,32);font-weight:bold">AS</span>
<span class="">(</span>
    <span class="">code</span> <span class="">float8</span><span class="">,</span>
    <span class="">message</span> <span class="">text</span>
<span class="">);</span></pre></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>