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

I'm looking for an easy way to directly set the longitude and latitude of a node. The best would be a "copy-paste" of both longitude and latitude. The editor doesn't matter. I thought this would be a build-in feature in JOSM but seems not (I may be blind though).

So at this moment, all I have found to set the position of a node using JOSM is:

  1. Download the node. Download as few as possible data to make your life easier !
  2. Move the node somewhere, position doesn't matter,
  3. Save the data layer as "my_file.osm",
  4. Open "my_file.osm" with a text editor and find your node there (e.g. by ID). If you're flooded by text you downloaded too much data :3
  5. Change the "lat" and "lon" values of the node and save the file,
  6. Open "my_file.osm" on JOSM. Now you can publish your changes. This just took you 1 hour :D

asked 10 Jul '20, 11:01

zatiranyk's gravatar image

zatiranyk
16114
accept rate: 0%

edited 10 Jul '20, 11:35

FWIW if you're overwhelmed by reams of xml you can also create another layer and selectively merge across only the elements that interest you. If you are modifying existing nodes you may also need to manually set action='modify' if you haven't edited any tags.

(10 Jul '20, 13:23) InsertUser

For new nodes in JOSM:

  • Tools -> Add Node (Shift+*D)

To move an existing node:

  • Tools -> Move Node

Both of these require expert mode.

Alternately, if you add a new node then merge an existing node to it it should keep the history of the old node.

This should also be fairly trivial in the Level0 editor.

permanent link

answered 10 Jul '20, 12:16

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

edited 10 Jul '20, 12:17

So it's confirmed, I'm blind. Thank you :)

(10 Jul '20, 12:52) zatiranyk

Needles in a haystack.

(10 Jul '20, 13:17) InsertUser

I have just tried dragging a waymark.gpx into the iD window and that works. I have also displayed waymarks with Potlatch2 ..Backgrounds at the botton choose vector file .. browse to waypoint file and load and select it. That mark displays. Potlatch2 can display the cursor co-ords Lat/long just select the feature from the toolbox.

permanent link

answered 10 Jul '20, 12:25

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 10 Jul '20, 13:07

Another way (still not simple):

  1. Tools / Add Node - place a new node at the exact Lat and Lon values
  2. Select the node to be positioned, then shift-select the new node (the order is important)
  3. Select M (or Tools / Merge nodes)

The old node will be moved to the new node position and the new node deleted in the merge.

permanent link

answered 10 Jul '20, 12:25

Mike%20N's gravatar image

Mike N
2.9k22254
accept rate: 17%

edited 10 Jul '20, 12:25

Your answer
toggle preview

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
×205
×55
×45

question asked: 10 Jul '20, 11:01

question was seen: 2,694 times

last updated: 10 Jul '20, 13:23

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