arcgis10.2串連postgresql

來源:互聯網
上載者:User

標籤:

結合網上幾位的文章,今天終於成功串連。下面把具體步驟做一總結,方便日後尋找。

1,首先,安裝postgresql 64位元據庫,按照提示下一步,然後再安裝postgis.

安裝完成後,開啟arcmap,找到建立企業及資料庫,執行個體名填寫為電腦名稱或者localhost,如下:

但是 點擊確定後提示如下錯誤:

"You must copy the latest ST_GEOMETRY and dependent libraries to the PostgreSQL software location. Refer to the ArcGIS help topics for more details.  

Connected RDBMS instance is not setup for Esri spatial type configuration."

解決辦法:根據提示我們把ST_STGEOMETRY.dll放到postgresSql的lib目錄下。ST_STGEOMETRY.dll可以從ArcGIS桌 面安裝目錄下獲得,比如我的在C:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\PostgreSQL 讓後放到C:\Program Files\PostgreSQL\9.0\lib  因為我的是預設安裝,大家可以根據自己的安裝路徑來設定,2

2,向arcgis server中註冊資料庫時提示“

Cannot connect to  database because the database client software failed to load. Be sure the

database client software is installed and configured correctly”
原因:server是64位的,需要64位的用戶端
解決辦法:將postgresql64位的用戶端程式即:

  1. Libpq.dll  
  2. Libeay32.dll  
  3. Libintl.dll  
  4. Ssleay32.dll

拷貝到server的bin目錄下

另外由於desktop是32位程式,需要postgresql 32位的用戶端,將以下檔案複製到desktop的bin目錄下

    1. Libpq.dll  
    2. Libiconv-2.dll  
    3. Libeay32.dll  
    4. Libintl-8.dll  
    5. Ssleay32.dll
      1. 參考文章:http://blog.sina.com.cn/s/blog_54b09dc90101f3vm.html
      2. 參考文章:http://blog.csdn.net/arcgis_all/article/details/8202709

arcgis10.2串連postgresql

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.