[GIS] How to join two shapefiles and create a new shapefile using ArcObjects

arcobjectsshapefile

Newbie in ArcObjects programming. Using C#. Developing a desktop application.

I have two shapefiles. One is a point shapefile Called Addresses and another Polygon shapefile which is called Area. The Address shapefile has an attribute called Address_Number while the Area shapefile has a attribute called Area_Number.

I need to select only the features that match "Address_Number" (from Addresses) to "Area_Number" (from Area) and then create a new shapefile.

How can I do this?

Any help with some code example is greatly appreciated.

Best Answer

join the dbf from the area shape with a many to one, to the addresses shape. select the oid of area not null and export.