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

Is there a way in JOSM to automatically add an extra tag to new road segments?

Context: we are asking a corporate organization that does mass addition of new road segments using imagery only to include an additional custom tag, so we can identify those at a later stage. If there is no automatic way to do this, they might be less inclined to do it as it will require more manual efforts from their side.

asked 05 Feb '22, 03:24

cmoffroad's gravatar image

cmoffroad
205151727
accept rate: 0%


I think the best way to do it is through the use of custom presets. Each person in the organization would use the same presets which would help insure uniformity of tagging and would include the special tag import=yes, or grabimport=yes, or some other tag that everyone agrees on.

I use such presets in much of my tagging. A preset for highways should include choices for highway class, i.e, trunk, tertiary, primary, secondary, unclassified, etc., surface, smoothness, lanes, a checkbox for oneway, and additional attributes to be determined by consensus. While the attributes I mentioned would involve choices the import=yes tag would be automatically applied in every case.

There are many examples of how to construct these presets in the Wiki and also by inspecting the presets that are built into JOSM by its designers.

permanent link

answered 05 Feb '22, 10:28

AlaskaDave's gravatar image

AlaskaDave
5.4k76107164
accept rate: 16%

You could also apply the needed tag just before upload, by using a search like "new highway=* type:way". Still a manual operation, but only once by changeset.

On the other hand, custom tags for internal use are frowned upon. Other mapper might delete them, if they don't understand what it means. You'll have to clean them all at some point...

I think a more secure approach would be to ask the corporate mappers to use each a dedicated user for your job, and then review the changes based on usernames. Osmcha.org filters might be a good solution for this. They also offer a mapping team functionality which might suit your case.

You should also be aware of the Organised Editing Guidelines.

permanent link

answered 05 Feb '22, 14:41

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Osmcha filters will not be sufficient, because when ways are split into multiple segments (often the case), the original history is lost.

This is a temporary tag, meant to be removed once local mappers do verification on the ground. Another company used similar approach many years ago.

(05 Feb '22, 16:26) cmoffroad

Osmcha filter changesets, so no trouble here. It's meant to review each and every changeset.

For what I understand of your use-case, manual check of the ways on the ground, I guess source=armchair, or fixme=check on the ground might be best indeed.

But the ever best would be to go on the ground before. And map from aerials only what is clearly visible, no guesswork.

Well, it's only my opinion, I map mostly in already well-mapped areas. Except for HOT activation, where I map conservatively, even if it means to leave gaps...

(05 Feb '22, 17:06) H_mlet

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
×101

question asked: 05 Feb '22, 03:24

question was seen: 1,242 times

last updated: 05 Feb '22, 17:06

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