Property talk:P8: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(→‎Usage in JOSM: new section)
 
(→‎Value formatter: new section)
Line 2: Line 2:


[[JOSM]] started using this property for [https://josm.openstreetmap.de/wiki/Help/Action/Tag2Link its Tag2Link functionality] in 2020-01 (15806). –[[User:Simon04|Simon04]] ([[User talk:Simon04|talk]]) 20:26, 15 February 2020 (UTC)
[[JOSM]] started using this property for [https://josm.openstreetmap.de/wiki/Help/Action/Tag2Link its Tag2Link functionality] in 2020-01 (15806). –[[User:Simon04|Simon04]] ([[User talk:Simon04|talk]]) 20:26, 15 February 2020 (UTC)

== Value formatter ==

Hi all, hi [[User:Yurik]], is there a way to specify a value formatter. For instance, the P8 for [[Item:Q604]] requires its values to be formatted as 16 digit numbers with leading zero inserted. Can this be represented using a qualifier (<code>value formatter = %016d</code>)? See this JOSM ticket: https://josm.openstreetmap.de/ticket/15158 –[[User:Simon04|Simon04]] ([[User talk:Simon04|talk]]) 20:31, 15 February 2020 (UTC)

Revision as of 20:31, 15 February 2020

Usage in JOSM

JOSM started using this property for its Tag2Link functionality in 2020-01 (15806). –Simon04 (talk) 20:26, 15 February 2020 (UTC)

Value formatter

Hi all, hi User:Yurik, is there a way to specify a value formatter. For instance, the P8 for Item:Q604 requires its values to be formatted as 16 digit numbers with leading zero inserted. Can this be represented using a qualifier (value formatter = %016d)? See this JOSM ticket: https://josm.openstreetmap.de/ticket/15158Simon04 (talk) 20:31, 15 February 2020 (UTC)