python调用 file geodatabase api

python能否调用 file geodatabase api 进行gdb文件数据库操作?
已邀请:

杨焱

赞同来自:

python对GDB进行操作,ArcPy来一打
http://desktop.arcgis.com/zh-c ... y.htm

赵成福

赞同来自:

你好,arcpy当然没问题,我的意思是用file geodatabase API esri单独发布的开发包,脱离arcgis desktop操作 gdb

荆雪涵 - 90后

赞同来自:

官方GitHub表示不能。File Geodatabase API 是基于C++的。
https://github.com/Esri/file-geodatabase-api/tree/master/FileGDB_API_1.5.1
同样的讨论在GeoNet上也有,
https://community.esri.com/message/334409?commentID=334409#comment-334409
这位老兄的回复,第二段。
“FGDB API 是C++库。你无法直接用于Python”
1.png

 

臭男人

赞同来自:

可以,使用swig生成python代码。就可以。但是里边有些问题要自己解决。或者使用gdal
https://gis.stackexchange.com/ ... -esri

要回复问题请先登录注册