#23870 closed task (worksforme)
Question: Template for Key:source?
Reported by: | MichaelFS | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
The Key:source
is described in the English version of OSM-Wiki. The German wiki shows an additional chapter "JOSM-Vorlagen für die Annotierung" with xml-template. I added this into JOSM but could not get it working.
My question:
- Is a template allowed and if so, how could I get it working?
Or
- Is a template (no longer) supported here. If so, we should drop the chapter in German wiki.
Attachments (0)
Change History (9)
comment:1 by , 12 months ago
comment:2 by , 12 months ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
As comment:1 indicated, it needs to have the <presets>
parent tag.
For additional details, see TaggingPresets.
comment:3 by , 12 months ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Thanks a lot!
I copied your "working version" into a text file, named it ChangesetSource.xml. In my JOSM this file was added and I re-started the application. Made a modification for a node and started the UPload-process. But I can't find any difference to the previous behaviour without this template installed. Could you please describe, what should happen or where I should find the values
values="photograph,local knowledge,common knowledge,dictaphone"/>
comment:4 by , 12 months ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Most likely Presets
-> Data Source
, Street Name Source
or Road Number Source
. I'd probably use F3
(Presets
-> Search preset...
) to find them if they aren't on the root level menu.
comment:5 by , 12 months ago
Note that source on OSM objects is deprecated and shouldn't be used anymore. The key source in the changesets can be set in the upload dialog.
That's also described at the linked wiki page!
comment:6 by , 12 months ago
comment:7 by , 12 months ago
It's even BIG in the topics! And multiple times in the texts. It's unclear to me how you cannot find that.
- How to use on changesets
- Historic usage on objects and attributes
comment:8 by , 12 months ago
From osmwiki:Key:source
With modern editors, the
source=*
tag is typically added to the changeset when a change is made, not as a tag on a piece of information which may be updated at different times based on different sources. However it seems the historic practice of tagging objects or individual attributes has not been officially deprecated yet, so don't go around deleting those source tags indiscriminately.
Important bits from the wiki:
- modern editors add
source
tags to the changesets. JOSM addssource
tags to the changeset. - historic practice -- really only needed if the editor doesn't add
source
information to the changeset. Pretty much every editor standard users will use does that. If you are a power user and are writing direct to the OSM API, don't; use a library instead. - has not been officially deprecated -- while not deprecated, it is not the standard practice for people to actually use
source
tags on OSM objects. In fact, many people removesource
tags when touching objects with them.
comment:9 by , 12 months ago
After looking at the German page: The German translation of the page seems largely out of sync with what is established practice or documented in the English page.
Here is a working version of the mentioned preset: