How topologically connect street with buildings?

433
3
02-14-2022 12:27 PM
JéssicaDalCol
New Contributor

How topologically connect street with buildings?????

I need that when clicking on a building the street is also selected, indicating that they are connected, to simulate a natural disaster project, in which, if something happens on a certain street, it will affect such buildings

Can someone help me?

0 Kudos
3 Replies
jcarlson
MVP Esteemed Contributor

What you're describing sounds more like a relationship class.

https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-relationship-class.ht...

If your buildings had a "street ID" field that corresponded to an ID field in your streets layer, you could link them.

- Josh Carlson
Kendall County GIS
0 Kudos
KimGarbade
Occasional Contributor III

Sounds to me like you'll want to set up a relationship class between the buildings and the streets.  For that to work you need a foreign key in your buildings layer that is the ID of the street it is related to.  

0 Kudos
DavidWasserman
Occasional Contributor III

CityEngine does not innately support this type of relationship, but there are ways to use the Jython API so that such relationships can be acted on. 

https://doc.arcgis.com/en/cityengine/latest/python/commands-by-category.htm

David Wasserman, AICP
0 Kudos