Modify

Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#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 anonymous, 12 months ago

Here is a working version of the mentioned preset:

<presets author="#####" version="1.0" shortdescription="Source tags" description="#####">
      <item name="Data Source">
         <label text="Datenquelle für Knoten oder Wege"/>
            <combo key="source"
               text="Quelle"
               values="landsat,photograph,local knowledge,common knowledge,dictaphone,extrapolation"/>
      </item>
      <item name="Street Name Source">
         <label text="Quelle für Straßennamen"/>
        <combo key="source:name"
           text="Quelle"
           values="photograph,local knowledge,common knowledge,dictaphone"/>
      </item>
      <item name="Road Number Source">
         <label text="Quelle für Straßennummern"/>
         <combo key="source:ref"
            text="Quelle"
            values="photograph,local knowledge,common knowledge,dictaphone"/>
      </item>
</presets>

comment:2 by taylor.smock, 12 months ago

Resolution: worksforme
Status: newclosed

As comment:1 indicated, it needs to have the <presets> parent tag.

For additional details, see TaggingPresets.

comment:3 by MichaelFS, 12 months ago

Resolution: worksforme
Status: closedreopened

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 taylor.smock, 12 months ago

Resolution: worksforme
Status: reopenedclosed

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 stoecker, 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 MichaelFS, 12 months ago

@stoecker: Thank you, but I can't find a deprecated marking in the EN or DE Wiki-pages.

comment:7 by stoecker, 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 taylor.smock, 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 adds source 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 remove source tags when touching objects with them.
Last edited 12 months ago by taylor.smock (previous) (diff)

comment:9 by stoecker, 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.

Last edited 12 months ago by stoecker (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.