作者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/cn.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