Closed rmdewan closed 6 years ago
@rmdewan the bridge doesn't directly handle workspaces (like a GDB), you'll need to pass in a fully qualified path to a specific datasource (like a feature class residing in the GDB).
Thanks Shaun, Rajiv
-- Rajiv Dewan Xerox Professor of Business Computers & Information Systems and Business Analytics Simon School, University of Rochester 3-333B Carol Simon Hall Rajiv.dewan@simon.rochester.edumailto:Rajiv.dewan@simon.rochester.edu 585 275 3827
From: Shaun Walbridge [mailto:notifications@github.com] Sent: Friday, February 23, 2018 4:40 PM To: R-ArcGIS/r-bridge-install r-bridge-install@noreply.github.com Cc: DEWAN, RAJIV rajiv.dewan@simon.rochester.edu; Mention mention@noreply.github.com Subject: Re: [R-ArcGIS/r-bridge-install] arc.open error Error in (function (cl, name, valueClass) (#66)
@rmdewanhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rmdewan&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=KILRwaYawItuQaOQGUhaMFzxw9Zsb67-s7Rpa0s6GXY&s=QVE-0YmPChuSZJuo0GwuGQaJ2k_id7-zwBIG_0y1vSQ&e= the bridge doesn't directly handle workspaces (like a GDB), you'll need to pass in a fully qualified path to a specific datasource (like a feature class residing in the GDB).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_R-2DArcGIS_r-2Dbridge-2Dinstall_issues_66-23issuecomment-2D368146095&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=KILRwaYawItuQaOQGUhaMFzxw9Zsb67-s7Rpa0s6GXY&s=jzQ7w5z_-IcZlPeHarTGWiOGNRCLYlVsN6G_Uefllv4&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUX2ww1IuPbSec0jBnIi8dx-5FJvXIsTbkks5tXzAUgaJpZM4SRg0A&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=KILRwaYawItuQaOQGUhaMFzxw9Zsb67-s7Rpa0s6GXY&s=-MBv7GmzZlDKfBtLRRc7rQMl77MWJOc4kk9xgW2UEVQ&e=.
@rmdewan No problem, happy to help. I'll make a note that we should provide a more useful error message if you pass in a workspace to arc.open
.
Hi Shaun, I am very familiar with R but a complete novice with ArcGIS. Some one sent me this GDB file which I can open in ArgGIS Pro. It is folder with very many files in it of the following kinds: ATX, GDBTABLE, GDBINDEXES, and SPX among a couple of others. I want to extract the lat/log into an R dataset. Which of these should I try to open in arc.open()?
Thanks and sorry for the very newbie question, Rajiv
-- Rajiv Dewan Xerox Professor of Business Computers & Information Systems and Business Analytics Simon School, University of Rochester 3-333B Carol Simon Hall Rajiv.dewan@simon.rochester.edumailto:Rajiv.dewan@simon.rochester.edu 585 275 3827
From: Shaun Walbridge [mailto:notifications@github.com] Sent: Friday, February 23, 2018 4:44 PM To: R-ArcGIS/r-bridge-install r-bridge-install@noreply.github.com Cc: DEWAN, RAJIV rajiv.dewan@simon.rochester.edu; Mention mention@noreply.github.com Subject: Re: [R-ArcGIS/r-bridge-install] arc.open error Error in (function (cl, name, valueClass) (#66)
@rmdewanhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rmdewan&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=XkLpQCkQWLscub-3GAiIQ86rjKEe7-RqNoRsjmJhCSg&s=zf2iIDayXB4lk44Amzd58RtFDCBLy6gwq2PkpsbV0OQ&e= No problem, happy to help. I'll make a note that we should provide a more useful error message if you pass in a workspace to arc.open.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_R-2DArcGIS_r-2Dbridge-2Dinstall_issues_66-23issuecomment-2D368147096&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=XkLpQCkQWLscub-3GAiIQ86rjKEe7-RqNoRsjmJhCSg&s=S7rxMyKEqTBlJjbbpotIUosX2pI5GgF-Cg-yxpoNDKY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUX2w99ZT16hpr-2DYIFNhyCImyh-5FnNaHsks5tXzEYgaJpZM4SRg0A&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=XkLpQCkQWLscub-3GAiIQ86rjKEe7-RqNoRsjmJhCSg&s=8anKkFx-oFkmmCNUL3luZbedLsfjUbzx923Sphmm27A&e=.
Try beta release 1.0.1.229-beta it should be more friendly with opening .gdb workspace.
Rajiv Dewan Xerox Professor of Business Computers & Information Systems and Business Analytics Simon Business School, University of Rochester Carol Simon Hall Room 3-333B 585 275 3827
On Feb 23, 2018, at 5:52 PM, Dmitry Pavlushko notifications@github.com<mailto:notifications@github.com> wrote:
Try beta release 1.0.1.229-betahttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_R-2DArcGIS_r-2Dbridge_releases_tag_v1.0.1.229-2Dbeta&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=ewQN8MHkwc1l2tOKh0sc8p8xmUyQGTK3CepMY1Pxqw8&s=7dKwLCYNgS0UEJRcaL-7P2Q8Q1vGiU18qD-euarBXb0&e= it should be more friendly with opening .gdb workspace.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_R-2DArcGIS_r-2Dbridge-2Dinstall_issues_66-23issuecomment-2D368161587&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=ewQN8MHkwc1l2tOKh0sc8p8xmUyQGTK3CepMY1Pxqw8&s=V2Zy2et2fNJCbbcKLp0-FW0BCYAVG6EsRsKgRVYLJxI&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUX2w9PnvQ4qwwn3C6OC-2Dd8-2DcwST8GXDks5tX0EhgaJpZM4SRg0A&d=DwMCaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=ewQN8MHkwc1l2tOKh0sc8p8xmUyQGTK3CepMY1Pxqw8&s=wRcydlXaGSsmFxwa9QbDLoeZh4AP_ruVntoI8Aa4kkY&e=.
Hi @rmdewan, no problem. File Geodatabases are a collection of files comprising the database. This database can contain many different data sets all within it, but unfortunately as a pure database, you can't immediately tell from the filenames on disk what it contains. If you can open the data in ArcGIS Pro, you should be able to navigate to the GDB, and see the feature class, raster or table names from within the application. Once you see one of those names, you can add it after ".gdb/" and it'll be openable within R.
Rajiv Dewan Xerox Professor of Business Computers & Information Systems and Business Analytics Simon Business School, University of Rochester Carol Simon Hall Room 3-333B 585 275 3827
On Feb 23, 2018, at 6:26 PM, Shaun Walbridge notifications@github.com<mailto:notifications@github.com> wrote:
Hi @rmdewanhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rmdewan&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=116XU_mj9E8mg08IkkuqfdRldTO_HhSlFEFMVohrylo&s=T2YqrzxlnISGzBZVTQ6nuuaJmT3E3T_OF0F6C3RHj50&e=, no problem. File Geodatabases are a collection of files comprising the database. This database can contain many different data sets all within it, but unfortunately as a pure database, you can't immediately tell from the filenames on disk what it contains. If you can open the data in ArcGIS Pro, you should be able to navigate to the GDB, and see the feature class, raster or table names from within the application. Once you see one of those names, you can add it after ".gdb/" and it'll be openable within R.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_R-2DArcGIS_r-2Dbridge-2Dinstall_issues_66-23issuecomment-2D368168390&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=116XU_mj9E8mg08IkkuqfdRldTO_HhSlFEFMVohrylo&s=sly1MECtmf9jnQdcj-9WRcnwfzj_llNujKJB-ZB7Dig&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUX2w4mzoyEr2DoC0OduRDxO5FA3QFbhks5tX0kwgaJpZM4SRg0A&d=DwMFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=8A2X9fsVWLhm3sS-7EDsm2-rfODDIKyWrMN4QLOm7cs&m=116XU_mj9E8mg08IkkuqfdRldTO_HhSlFEFMVohrylo&s=5Zobobg1-HLgzs6FdWGl-JCmOQQDTXxGIgoZYzQDGH4&e=.
My R code looks like: vac <- arc.open("completepath/filename.gdb") and I am getting the following error:
Error in (function (cl, name, valueClass) : assignment of an object of class “numeric” is not valid for @‘.ptr’ in an object of class “arc.workspace_impl”; is(value, "externalptr") is not TRUE