How to make one layer when two layers overlap each other.

2431
7
05-11-2022 04:20 AM
Studenthas
New Contributor II

Is there a function to compare two map layers to create a new layer. For example, both map layers have roads and buildings on them. The old map layer contains buildings that no longer exist and the new layer contains new buildings in exactly the same place. When you have both map layers on, the buildings overlap. (The function could therefore look at the new things that are on the newer layer.) Is there a function that 'automatically' wipes away the 'piece of land' that is under the new building? (White polygon or...).

7 Replies
ThomasHamill
Occasional Contributor II

@Studenthas, take a look at some of tools in the Overlay Toolset.  Based on what you're describing, you could run the Erase tool using the old layer as the input features layer and the new layer as the erase features layer.

Kindest Regards,

t
Studenthas
New Contributor II

The building are draw in lines. I don't know yet if Erase will work with lines. In the screenshot (drawing) you can see what I mean. 

Studenthas_0-1652350112643.png

 

The buildings in the two layers are different in shape as you can see in the drawing what I made. The black layer is de old, and the red is the new layer. As you can see there's overlapping. I hope the question is clear enough now.

0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor

@Studenthas, are the overlapping buildings in the two layers different in shape? Could you post some screenshots?

0 Kudos
Studenthas
New Contributor II

Studenthas_0-1652348231589.png

The buildings in the two layers are different in shape as you can see in the drawing what I made. The black layer is de old, and the red is the new layer. As you can see there's overlapping. I hope the question is clear enough now.

Tags (1)
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor

Thanks for the drawing. It clarifies the old/new building situations. I have added labels to the buildings in your drawing. Could you tell me what's between the two red lines where I put a "?" mark and what are the four black boundaries by the blue arrows?

DanLee_0-1652368342470.png

 

Looking back at your questions below, I don't think such automatic function exists in ArcGIS Pro (yet). 


@Studenthas wrote:

Is there a function to compare two map layers to create a new layer. (details omitted here)  (The function could therefore look at the new things that are on the newer layer.) Is there a function that 'automatically' wipes away the 'piece of land' that is under the new building? (White polygon or...).


To create a new layer or a feature class from two inconsistent layers may not be a straightforward task based on your drawing.  I am still not clear about what you meant by "wipes away the 'piece of land' that is under the new building".  May I ask you to post another drawing of what the expected result looks like?

You may need to do some analysis to get data organized to meet your expectations. 

Studenthas
New Contributor II

They lines where you point to/ and or with ? are roads. This is the expected result:

Studenthas_0-1652687108047.png

Formulating the question was very difficult, but I think I'll create a new layer and 'clean' everything the old way. Sadly that cost a lot more hours than having a tool. But if there's no tool you need to do the old way. Thank you for your help. 

 

0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor

Thanks for the drawing of the expected output; that helps a lot. It seems you want all the new buildings plus the old buildings that don’t overlap with new buildings.

Let's assume oldBldgs and newBldgs as the names of your data. Try the following:

1. Run Select Layer By Locations as shown below to select oldBldgs features that don't intersect with newBldgs.

DanLee_0-1652713079524.png

2. Run Append tool to append (add) the selected oldBldgs features to newBldgs.

Is this what you want?

0 Kudos