Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在postgresql中创建几何图形?_Postgresql_Postgis - Fatal编程技术网

如何在postgresql中创建几何图形?

如何在postgresql中创建几何图形?,postgresql,postgis,Postgresql,Postgis,我想使用postgresql及其空间扩展(postGIS)从follow格式(我不知道他们在postgrsql中叫什么)创建一个几何体。我该怎么办 "01050000A0E6100000060000000102000080110000009E2FC6944A155D40478D54FFE6FE43400000000000A06740C2DF2F664B155D40D74CBED9E6FE43400000000000A06740BBEEAD484C155D4066D993C0E6FE4340000

我想使用postgresql及其空间扩展(postGIS)从follow格式(我不知道他们在postgrsql中叫什么)创建一个几何体。我该怎么办

"01050000A0E6100000060000000102000080110000009E2FC6944A155D40478D54FFE6FE43400000000000A06740C2DF2F664B155D40D74CBED9E6FE43400000000000A06740BBEEAD484C155D4066D993C0E6FE434000000000008067406D37C1374D155D40137F1475E6FE43400000000000606740026729594E155D404FB1"

你确定这些数据是正确的吗?它看起来像是调用ST_GeomFromText()的输出,如果是这样,它可以用ST_AsText()反转,但是结果是一个错误。哦,你的权利。我被搞糊涂了。“ST_AsText()”是我需要的。TNX@e4c5b几乎是,除了这个十六进制编码的EWKB是无效的,因为它只有256个字符,而不是更长。