作者coeric ( )
看板GIS
標題[問題] export from database
時間Tue Feb 7 17:47:33 2017
python+arcpy 新手
我想從既有資料庫匯出某table到某gdb底下去
在arcgis map操作都可以,為何改用python script卻無法使用?
少了什麼步驟嗎?
arcpy.TableToGeodatabase_conversion("Database
Connections\xxx.sde\yyy.dbo.BUILDCOUNT",'F:\123.gdb')
(gdb已存在)
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.214.82.80
※ 文章網址: https://webptt.com/m.aspx?n=bbs/GIS/M.1486460857.A.134.html
1F:→ coeric: 在arcgis的python列下可執行 02/07 17:49
2F:→ joshua25: 有錯誤訊息嗎? 02/08 15:52
ERROR 000732: Input Table: Dataset 'Database
Connections\LANDDB.sde\LANDDB_LI.dbo.BUILDCOUNT' does not exist or is not
supported
Failed to execute (TableToGeodatabase).
google過,還是無法明確找出問題所在
(爬了應該有一個禮拜文了)
※ 編輯: coeric (49.216.18.54), 02/08/2017 16:00:57
甚至後來直接把input path 指向C:\Users\.....\ArcCatalog\LANDDB.sde
一樣是找不到目錄 or 檔案?
※ 編輯: coeric (49.216.18.54), 02/08/2017 16:03:45