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

I find myself being perhaps too conservative when needing to split a way. I get worried someone(maybe even myself) is going to alter the way's tags, but fail to see he/she selected only one part that was split from the original whole way.

Is there a shortcut to select (maybe based on the name tag) a whole way?

I know I can do it by selecting each part of the way while holding Ctrl, but am looking for a shortcut to this.

Thanks

This question is marked "community wiki".

asked 19 Jan '14, 21:20

jgpacker's gravatar image

jgpacker
23651019
accept rate: 10%

edited 20 Jan '14, 00:24

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


You could use the search function of JOSM (open e.g. by Ctrl+F): name="some name here" (note that you need quotes if the name includes spaces or some other special characters). Be careful: this simple search term (more complicated ones would be possible to filter more) does not only select streets and does not only select connected ways - so have a look what actually has been selected).

permanent link

answered 19 Jan '14, 22:10

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 19 Jan '14, 22:35

Searching for type:way name="John Doe Street" should be sufficient most of the time. But a manual verification of the search result is always necessary.

(20 Jan '14, 11:45) scai ♦

sure, the search term could be made more specific, but it gets harder to enter then. This will likely not produce any false positives: type:way highway=* name="John Doe Street" inview (all objects of type way AND have a highway tag AND have this name AND are in the current map view).

(20 Jan '14, 14:28) aseerel4c26 ♦

In addition to aseerel4c26's answer, you can try the way selector plugin or the "selection -> select highway" menu entry provided by the utilsplugin2 plugin.

permanent link

answered 20 Jan '14, 11:48

Vincent%20de%20Phily's gravatar image

Vincent de P... ♦
17.3k18152249
accept rate: 19%

edited 20 Jan '14, 19:48

Apparently this works fine. It seems it only ways which are continuations of a way, that's good. I just see it seems not to work correctly for way branches (both branches named equally) which are branching off in the middle of a parent way (not at an way end).

(20 Jan '14, 14:39) aseerel4c26 ♦
1

as of JOSM version 6544 this plugin is in the core program.

(28 Jan '14, 00:00) aseerel4c26 ♦
-2

If the route or way is properly tagged you could use the ID, to select all the elements.

permanent link

answered 19 Jan '14, 22:09

Hendrikklaas's gravatar image

Hendrikklaas
9.3k207238387
accept rate: 5%

you mean the id of a relation of type street?

(19 Jan '14, 22:12) aseerel4c26 ♦

@Hendrikklaas I've no idea what you're trying to say here. Could you perhaps provide an example showing how "you could use the ID, to select all the elements"?

(19 Jan '14, 23:03) SomeoneElse ♦

I guess that it may be meant this way: if there is such a relation (example) select it and then use JOSM's function to select all relation members (in this exmaple one would need to use the search function to narrow down the selection afterwards since here also buildings are relation members).

(19 Jan '14, 23:53) aseerel4c26 ♦

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
×167
×30
×13

question asked: 19 Jan '14, 21:20

question was seen: 4,264 times

last updated: 28 Jan '14, 00:00

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