Select to view content in your preferred language

SearchByDistance on Joined Table

736
2
09-07-2011 03:35 PM
CollinGrove2
New Contributor
I joined a .dbf attribute table to a File GDB Feature Class, and want to do a spatial search. It works just fine on the FGDB Feature Class, by itself, without joining. However, when I join a table to it, and do a SearchByDistance, I get the error:

Details: Cannot project to null coordinate system
Parameter name: newCoordinateSystem

Anybody have any ideas? The error definitely comes from the SearchByDistance method...
0 Kudos
2 Replies
AndreiIvanov
Deactivated User
Your joined table is likely without projection. Set projection, and it should be fine.
0 Kudos
CollinGrove2
New Contributor
Your joined table is likely without projection. Set projection, and it should be fine.


What am I setting the projection to? It's just a spreadsheet table that I've saved to a .dbf. Do I need to just set it to the same projection as the FGDB Feature Class?
0 Kudos