postgis数据库初始化
Posted on 2005-03-14 in PostGIS | 4 Comments » Trackback URI
createlang plpgsql yourdatabase
psql -f lwpostgis.sql -d yourdatabase
psql -f spatial_ref_sys.sql -d yourdatabase
createlang plpgsql yourdatabase
psql -f lwpostgis.sql -d yourdatabase
psql -f spatial_ref_sys.sql -d yourdatabase
4 Responses
若该机器进行了IP转发,则就会发生拒绝连接的情况.
此时ping localhost不通.
博主:您好!
我装的是postgresql 8.2里面带有postgis,有一个template_postgis数据库名,现在我自己新建了一个数据库mydb没有postgis功能,我想把postgis类型定义,函数定义等扩展内容加载到数据库中,引入postgis支持.
用了psql -U username -d mydb -f lwpostgis.sql 回车
说没有这个文件和目录,不知为什么?谢谢!
请搜索一下
若安装了postgis,这些文件都应该有的
博主:好!
想问一下GML数据(例:sample.gml)存入postgis的问题,要用到org2org吗?