2011-05-06 144 views

回答

1

我得到这个错误,当我没有正确使用POSTGIS模板来创建我的数据库(完全一样的错误提示),我得到了错误。那么你是否正确install PostGIS with the spatial database template并且你是否使用-T template_postgis创建了你的数据库?

createdb -U postgres -T template_postgis -O geouser geodatabase 
+0

我有同样的问题。我没有按照您提到的链接中的步骤操作。我遵循这个:http://postgis.refractions.net/docs/ch02.html#id2619431。 我基本上应用到现有的数据库。 对于如何撤销我所做的更改,您有任何建议吗?因此我可以应用您提出的建议?我可以删除模型中的地理区域并重建它。 谢谢。 – dannyroa 2011-09-21 04:06:55