【发布时间】:2022-10-13 00:58:33
【问题描述】:
我正在尝试运行此功能
SELECT public.CreateTopology('topo1',4326,0);
这给了我
ERROR: function public.createtopology(unknown, integer, integer) does not exist
LINE 1: select public.CreateTopology('topo1',4326,0);
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
SQL state: 42883
Character: 8
我可以毫无问题地使用其他 PostGIS 功能。然而,这个不起作用。请注意,我的数据库中有很多方案。这是为什么?
【问题讨论】:
-
According to the manual第三个参数需要为double,试试:
CreateTopology('topo1',4326,0::double precision)
标签: postgresql postgis