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, 11:01

zatiranyk's gravatar image

zatiranyk
1614
accept rate: 0%

edited 10 Jul, 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, 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, 12:16

InsertUser's gravatar image

InsertUser
6.0k439102
accept rate: 21%

edited 10 Jul, 12:17

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

(10 Jul, 12:52) zatiranyk

Needles in a haystack.

(10 Jul, 13:17) InsertUser

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, 12:25

Mike%20N's gravatar image

Mike N
2.7k21752
accept rate: 16%

edited 10 Jul, 12:25

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, 12:25

andy%20mackey's gravatar image

andy mackey
12.2k77130267
accept rate: 4%

edited 10 Jul, 13:07

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:

×552
×167
×48
×38

question asked: 10 Jul, 11:01

question was seen: 217 times

last updated: 10 Jul, 13:23

powered by OSQA