postgresql - PostgreSQL Function Error: No function matches the given name and argument types. You might need to add explicit type casts
问题描述
I am currently new to PostgreSQL and I am implementing pgrouting using Esri Shapefiles. The query I am writing is :
SELECT pgr_createTopology('point_file'::text,0.000001,'the_geom'::text, 'gid'::text);
"point_file" is the table name ,"the_geom" is the geometry column, and "gid" is the id column.
The error I am getting is :
ERROR: function pgr_createtopology(text, numeric,text, text) does not exist LINE 1: SELECT pgr_createTopology('point_file'::text,0.000001,'th...
HINT: No function matches the given name and argument types. You might need to add explicit type casts. SQL state: 42883 Character: 8
NOTE: I have already added postgis as an extension. I am using PostgreSQL 13 AND PostGIS 3.1.
解决方案
推荐阅读
- javascript - 单击 iframe 内的链接后如何调整 iframe 大小
- php - 使用平面数组获取多维数组值
- alibaba-cloud - 为阿里巴巴云生成签名的麻烦
- c# - 数据库更改时如何在数据库优先方法 ASP.NET“核心”中更新模型(添加新表)
- python - Python 3.6 | 属性错误
- python - 如何将波形文件加载为 32 位整数?
- python - Heroku 烧瓶应用程序部署:ImportError: No module named
- javascript - 有没有办法在不使用 zip 文件的情况下直接下载默认或建议文件夹结构?
- bash - shell 脚本中的错误:需要整数表达式
- ios - 使用条带、API_ENDPOINT 和 CREATE_EMPHEREMAL_KEY 挂钩 firebase