The R ArcGIS Bridge does not import data into R with null geography

344
2
07-30-2018 11:22 AM
JonathanGross
New Contributor

The R ArcGIS Bridge does not import data into R with missing coordinates/null geography.  Is there a way, an option, to override this?  On the other hand, the rgdal library imports all records?

Tags (3)
0 Kudos
2 Replies
ShaunWalbridge
Esri Regular Contributor

Hello Jonathan,

Could you provide more details about the data source that you're using, and what behavior it has when opening it up in ArcMap or Pro? I just tried creating a shapefile with an explicit null geometry for one of the values, and it is correctly read into R, with any entries containing null references included (the equivalent of dropNULLGeometries=FALSE with rgdal). Further downstream transformations (like data2sp) may drop this null geometry as they don't have null geometries as part of their data model. If you can share some details, happy to dig further.

Cheers,

Shaun

0 Kudos
JonathanGross
New Contributor

It is a point feature class from a file geodatabase.  Its for a conference, so I should be able to post the data next week.  I believe data2sp is what the 'issue' is.  So, your statement makes sense on why it would be dropped.

0 Kudos