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@georepublic.de
Web: http://georepublic.de