How to Join/Merge/Modify Overlapping Areas in JOSM

The situation I am trying to improve: example

I’m trying to figure out a workflow to fix these situations while preserving edit history. I am using JOSM.

In the example we have a single large building that houses 3 businesses. Only 2 of the businesses are on the map. In between Petco and OfficeMax is a liquor store that takes up about 25% of the area. It is not on the map.

What I want to do:

  1. Take the combined outer ways of Petco and Office Max and turn them into a single way to represent the physical building.
  2. Detach the shared nodes of the 2 businesses and resize them so I can put the liquor store between them
  3. Do all this without screwing up the edit history or manually re-tracing the building

For step 1 (creating a single building):

It looks like if I go to Tools → “Combine way” or “Join Overlapping Ways” I get a box asking what tags to keep. In my mind, this suggests that if I follow through with this operation, it will join the 2 objects and we’ll have inaccurate data. What I basically want is a brand-new object and only put the building tag on it, without disturbing the existing tags on the businesses.

Step 2 (adjusting existing borders and inserting a new business):

I made a GPX track in which I walked along the front of the building where the liquor store is, so I have a pretty good idea where to place the nodes that delineate the new borders.

I suppose once I have my building drawn, I can unglue the 2 ways, use the extrude tool, then just draw 2 lines to put the liquor store in between the Office Max and the Petco. But I don’t want to disrupt the way that makes up the physical building.

I guess the source of my confusion is that by creating a building, I will have multiple ways all stacked on top of each other and I want to perform different operations on each one.

If what I am proposing is not the favored method to map multiple businesses in one building, let me know. I am still novice.

Thank you!

Is it only one building, or two separate?

I ask as the two businesses that are mapped have two different street numbers, 350 & 370. What is the address of the liquor store?

(It’s for issues like this that I was always advocate for only having the building details & address on the building outline, together with a separate node for the business/es inside)

It is definitely all one building. In the USA it’s common to have separate addresses for different businesses in the same physical building. And it’s also common to have one address for a building, and the separate tenants (who share the same house number) get an additional number like “123 Main Street; Suite 210” or “123 Main Street; Unit 6” or sometimes simply “123 Main Street #9”

It seems to me that mapping a building and then putting individual nodes for businesses is acceptable practice, but I also often see it mapped like in my example where the one physical building has sub-areas delineating the separate businesses, so it’s up to the mappers’ discretion (I guess?).

Thanks.

In that case, I personally would draw it as only one building, tagged as 350-370, with 3 nodes inside it for the 3 businesses. If you wish, you can also include teh street addresses 350, 360 (I assume?) & 370 on them as well.

I think fully preserving the history on all objects is not gonna be possible.

What I would do

  1. copy the building(parts) (possibly insert them in a new layer)

  2. create a separate node for each POI

  3. use the ‘replace geometry’ tool from the Utils2 Plugin to copy transfer the POI infos to those nodes (should preserve history)

  4. add the building back in

  5. delete all tags from the POI and merge them

Shrinkwrap is perhaps useful for creating the building.