Spatial joining features
The Spatial Join tool is an overlay geoprocessing tool. This tool will join the attributes coming from a feature class to another feature class, based on their spatial relationship. The new feature class will have the geometry of the target feature class and the attribute fields of both the input feature classes. The spatial join is a classical solution when you want to extract data from CAD files.
Getting ready
In this recipe, you will add data from the .dxf
source datasets to an existing geodatabase named VeloGIS.gdb
. Your geodatabase contains one feature dataset named Planimetry
and five empty feature classes: Buildings1
, Parcels1
, RoadCenterLine
, SideWalk
, and Streets1
.
There are five CAD files: Buildings.dxf
, Parcels.dxf
, RoadCenterLine.dxf
, SideWalk.dxf
, and Streets.dxf
.
How to do it...
Follow these steps to populate your VeloGIS
geodatabase with features from the .dxf
files, using ArcCatalog:
- Start ArcCatalog. Navigate to
<drive>:\PacktPublishing\Data\Geoprocessing...