اوپن سٹریٹ میپ دا لوگو اوپن سٹریٹ میپ

JOSM tip for squaring buildings

ایہہ ؜16؍؜May ؜2014ء‬ English وچ «OpenBrian» لیکھ چھپیا گیا سی۔

We all know about Q in JOSM, which will make the angles in a building 90°. But isn’t it annoying when you have one building, you are adding an adjacent building, and when you square the corners it affects the first building? Here’s a pro-tip. When squaring the second building, select it, then add 2 nodes from the first building into your selection. Then hit Q. It will use the first building as a baseline for the second. Notice 2 nodes are highlighted red.

square building

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

ایہہ ؜16؍؜May ؜2014ء ‪15:39‬ تے «Vincent de Phily» ٹپݨی کیتی گئی سی۔

Thanks, didn’t know about this one. For the given example I’d have used extrude instead anyway, but I can see other cases where it’ll be usefull.

ایہہ ؜16؍؜May ؜2014ء ‪15:54‬ تے «ToeBee» ٹپݨی کیتی گئی سی۔

You can also select multiple ways and use Q on all of them at the same time. Like a row of connected buildings.

ایہہ ؜17؍؜May ؜2014ء ‪13:48‬ تے «AndiG88» ٹپݨی کیتی گئی سی۔

For the given example I’d have used extrude instead anyway, but I can see other cases where it’ll be usefull.

Or just the (B)uilding tool.

ایہہ ؜17؍؜May ؜2014ء ‪14:42‬ تے «OpenBrian» ٹپݨی کیتی گئی سی۔

I should mention my use case is turning 1 building into n stores.

Extrude doesn’t build a second store. It will just move an edge. Though shift+extrude will leave nodes in place.

The building tool drops extra nodes, i.e. it doesn’t join them on adjacent areas.

The terracing plugin works very well. The problem with the terracing plugin is it assumes all “stores” in a building are the same width and it’s hard to adjust that.

I also like the “Split Object” function which belongs to utilsplugins2, iirc.

ایہہ ؜17؍؜May ؜2014ء ‪23:31‬ تے «Vincent de Phily» ٹپݨی کیتی گئی سی۔

Alt+extrude will create a second store.

The building tool is great for simple things, but I find that it asumes too much (such as the value of the building tag or the angle of the next building) while not handling L/T-shaped buildings and leaving unshared nodes everywhere. Extrude is less advanced but more versatile.

ایہہ ؜18؍؜May ؜2014ء ‪03:16‬ تے «AndiG88» ٹپݨی کیتی گئی سی۔

The building tool drops extra nodes, i.e. it doesn’t join them on adjacent areas.

Yes, it does unless I misunderstood you.

OpenStreetMap Building Tool

OpenStreetMap Building Tool

ایہہ ؜20؍؜May ؜2014ء ‪13:46‬ تے «Hedaja» ٹپݨی کیتی گئی سی۔

thats a good tip one problem i allways have with q is that all angles are made 90°. Is there a posibility to exclude certain corners?

ایہہ ؜21؍؜May ؜2014ء ‪06:58‬ تے «Domiss» ٹپݨی کیتی گئی سی۔

It is much simpler way to have angles different from 90°. Just press ‘a’ twice when you start drawing. All angles will be alligned to round ones (90°, 60°, 45°, 30°, …), but it is of course still possible to draw other ones. More, there will be guiding lines which helps draw parallel (not only) lines with the same lenght.

ٹپݨی چھڈݨ واسطے لوگ‌این کرو