NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi

In JOSM is there a way to create a node precisely at the midpoint (cross) of a way?

Click on, & Dragging the cross to create it means it's not exactly at the midpoint or that the original way is exactly straight.

Draw Nodes removes the crosses.

asked 16 Nov '18, 18:04

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

edited 18 Nov '18, 17:21

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

@DaveF: meta: Please could you mark an answer as accepted if it solves your problem.

(18 Nov '18, 17:22) aseerel4c26 ♦

  1. The original line
  2. Add the node
  3. Select the whole line
  4. Press Shift+B or go to the menu Tools -> Distribute Nodes, so it will place it exactly in the middle.

The line will automatically be straightened, there is no need to straighten it before or afterwards.

(I just made this image for the Telegram group when someone linked this thread. Figured it might be helpful to post it here as well.)

permanent link

answered 15 Aug '19, 23:59

Luc's gravatar image

Luc
411
accept rate: 100%

Just draw a new node (double-click) somewhere on the way then select the three nodes and press Shift+B. I think this is quicker than dragging the cross then re-aligning + distributing the nodes.

permanent link

answered 17 Nov '18, 14:21

Privatemajory's gravatar image

Privatemajory
1.1k142233
accept rate: 23%

edited 17 Nov '18, 14:24

3

Typing E also selects adjacent nodes so if in [A]dd mode: double click on line, E, SHIFT+B.

(18 Nov '18, 22:42) InsertUser

You could drag the cross, then select the three nodes and use L to align them in a straight line and Shift-B to distribute them evenly. Not sure if there is a quicker way.

permanent link

answered 16 Nov '18, 18:30

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622
×92
×91
×3
×3

question asked: 16 Nov '18, 18:04

question was seen: 3,136 times

last updated: 15 Aug '19, 23:59

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum