[英]pgr_createTopology says no function matches
I know the attributes have to be in a certain order which I checked. 我知道属性必须按照我检查的特定顺序进行。 Also the manual says it was renamed in version 2.0 but i can't see a difference. 该手册还说它在2.0版中被重命名,但我看不出有什么不同。
SQL error:
function pgr_createtopology(unknown, numeric, unknown, unknown) does not exist
LINE 1: SELECT pgr_createTopology('edges', 0.000001, 'way', 'osm_id'...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
In statement: 在声明中:
SELECT pgr_createTopology('edges', 0.000001, 'way', 'osm_id')
向您的参数文字添加显式类型强制转换可解决此问题
SELECT pgr_createTopology('edges'::text, 0.000001, 'way'::text, 'osm_id'::text)
Check your pgRouting version. 检查您的pgRouting版本。 Extension might not be installed. 扩展程序可能未安装。
SELECT pgr_version();
you should get something like this: 你应该得到这样的东西:
(2.0.0,pgrouting-2.0.0,0,f26831f,master,1.53.0)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.