I am currently compiling a GIS of floors of a building. However, the current shapefiles have gaps between the rooms (the thickness of the walls-- shown below). I want to do some analysis on these rooms that require them to share boundaries.

How can I do this using ArcGIS Desktop?

I also use ArcPy and R.

enter image description here


To follow up - yes I do need to know which rooms they share boundaries (Walls) with/are adjacent to. I also did a quick (rough) sketch of just a few of the areas that need to be sharing boundaries. Ideally- all of these rooms would be sharing walls at certain points with others. The dark green indicates areas that would most definitely be sharing a common boundary while the red indicates areas where there are furnaces, water heaters, etc. and don't need to be sharing common boundaries. enter image description here

  • You would almost need some application of the Minimum Bounding Geometry tool in ArcMap (help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//…) that would draw the outermost boundary of the rooms.
    – Map Man
    Sep 13, 2017 at 14:41
  • Do you need to know which rooms are adjacent to other rooms? Or share a common wall? Sep 13, 2017 at 21:25
  • Can you mark on your picture examples where you would assess some "to share boundaries" and others not "to share boundaries"?
    – PolyGeo
    Sep 13, 2017 at 23:18

1 Answer 1

  1. Create a polygon to cover the entire extent of the building.
  2. Use the erase tool to erase the rooms from the extent polygon.
  3. Convert the output polygon feature class to lines.
  4. Explode to multipart.
  5. Delete the outer boundary line (boundary of your extent polygon).
  6. Delete any sections of walls that are on the outside:

enter image description here

  1. You now have your walls:

enter image description here

  1. Use the tool 'Collapse Dual Lines to Centerline'.

I don't have an advanced license so I cannot show the output of this tool. You may need to resolve errors at the intersections. Depending on the results of the tool, you may also need to split the walls at each corner so you have sets of corridors rather than one large and connected corridor. The documentation explains the tool usage and output:

Collapse Dual Lines to Centerline

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.