OpenStreetMap 로고 OpenStreetMap

Here's a tip I wanted to share about JOSM:

Oftentimes you want to make ways, areas, points, etc perfectly orthogonal or perpendicular. For instance, you want to grid-fit all streets in a "grid-type" city, or you want to align buildings perfectly to a street. Here's how to do it in JOSM:

Find a long, straight feature like a main street or a canal. This will be your baseline. Then draw a huge rectangle that easily covers the area of interest. Select the body of the rectangle and two endnodes of the baseline, and press Q. This will align the rectangle to the baseline and make it perpendicular. What you now have is a giant "ruler" that you can use to align streets.

Next step is to align streets along this "ruler". Position the ruler over a street, select the two endpoints of the leg of the ruler and all the points of the street, and press L. All the street's nodes will be aligned to the ruler! Lather, rinse, repeat.

Once you have perpendicular streets, the nice thing is that you can shift streets in the X and Y directions independently of each other. If you want to move a street a bit to the right, say, then your new alignment action will not affect streets going from top to bottom.

To align buildings (or other areas) perfectly to a street and make them perpendicular, select two points on the street and the body of the building/area, and press Q.

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2009년 9월 9일 00:47Rhubarb님의 의견

Thankyou! I'll have to try this out later today for a few buildings :)

댓글을 남기려면 로그인하세요