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

I created a Preset for JOSM (version 7777) that includes the following lines:

A. <text key="description" text="Description" default="" delete_if_empty="true" rows="3"/> B. <multiselect key="amenity" delimiter="," text="Amenity" values="restaurant,bar" default="" delete_if_empty="true" rows="3"/>

A. always gives 1 row, B. always 8, whatever value I use in rows.

What am I doing wrong?

Thanks

asked 27 Dec '14, 16:55

Jan%20van%20Bekkum's gravatar image

Jan van Bekkum
26223
accept rate: 0%

1

Where did you learn about the rows attribute ? I cannot find an example in the default JOSM presets. AFAIK the UI for a description is a text box with 1 line, never seen one with multiple lines.

Perhaps those numbers cannot be changed.

(28 Dec '14, 07:32) escada

rows is only valid for <multiselect> so only B. should work. See Tagging Presets

If not please fill a bug. Was fixed see https://josm.openstreetmap.de/ticket/10941

By the way, be careful with changing the delimiter from default semi-colon. It is only useful in special cases and the delimiter will be used also in the value if more than one is used.

(12 Feb '15, 23:33) skyper

The rows attribute doesn't seem to occur anywhere in the presets xml template definition (linked from here).

permanent link

answered 28 Dec '14, 10:15

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

Documentation is now in the JOSM wiki under Tagging Presets and rows does exist for quite some time now.

(12 Feb '15, 23:23) skyper

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
×11
×1

question asked: 27 Dec '14, 16:55

question was seen: 2,608 times

last updated: 13 Feb '15, 00:23

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