[pgrouting-dev] "Status" return type
Daniel Kastl
daniel at georepublic.de
Mon May 20 20:58:59 PDT 2013
Hi all,
Trying to get the documentation structured I felt that it was a good idea
to unify our custom types:
http://docs.pgrouting.org/dev/src/common/doc/types.html
But there are functions that only return a status and I'm not so happy with
examples like:
SELECT * FROM pgr_nodeNetwork('edge_table', 'id', 'the_geom',
'edge_table_noded', 0.000001);
pgr_nodenetwork----------------------------------------------
edge_table_noded generated with: 16 segments(1 row)
SELECT pgr_createTopology('edge_table', 0.000001, 'the_geom', 'id');
pgr_createtopology--------------------
OK(1 row)
What about some "pgr_statusResult", which could contain a status code for
example and a status message?
CREATE TYPE pgr_statusResult AS(
code float8,
message text);
Daniel
--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20130521/581ea939/attachment.html>
More information about the pgrouting-dev
mailing list