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

Hi. I have thousands of gpx tracks and make it routable path with it on JOSM. and then I will make my own mapsforge map I use "J" command to connect intersection part of every tracks manually. But It needs much time and I worry about missing some of the part. I found scripting plugin for JOSM. but I don't know how to make script for automatic "J" command

I guess the procedure like this. 1. Define preset value of distance of 'node to way' (ex. 10m) 2. On the script, search whole bound of gpx tracks and compare with the value to preset. 3. Join node to way 4. loop

alt text

Need some advise . Thanks

asked 11 Feb '20, 04:59

orango6666's gravatar image

orango6666
11112
accept rate: 0%


The plugin utilsplugin2 comes with a command "Add Nodes at intersections" (shift-I), see https://wiki.openstreetmap.org/wiki/JOSM/Plugins/utilsplugin2#Add_nodes_at_intersections_.28Shift.2BI.29.

Select all ways, press shift-I. done

permanent link

answered 11 Feb '20, 11:04

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

Thank you for answer, escada. It works nice! I have one more question. Is there some way to join node with adjacent way automatically?

alt text

permanent link

answered 12 Feb '20, 00:17

orango6666's gravatar image

orango6666
11112
accept rate: 0%

edited 12 Feb '20, 00:21

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:

×305

question asked: 11 Feb '20, 04:59

question was seen: 1,298 times

last updated: 12 Feb '20, 08:51

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