Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#22048 closed enhancement (fixed)

[Patch] building=construction preset missing some values

Reported by: aceman Owned by: team
Priority: normal Milestone: 22.07
Component: Internal preset Version:
Keywords: building construction Cc:

Description

Hi. JOSM recently got the preset for building=construction and then there is a field listing some values for the 'construction' key. But not all values from 'building' keys in JOSM presets are included in this list. Most notably the values from preset 'unspecified residential building' are missing, like "apartments", "hotel", "detached".

Attachments (1)

josm_22048.patch (1.8 KB ) - added by skyper 3 years ago.
patch adding the missing values

Download all attachments as: .zip

Change History (13)

comment:1 by skyper, 3 years ago

Keywords: building construction added
Type: defectenhancement
Version: latest

I used most common values from taginfo.

Regarding detached, the value is not in presets for building=*, atm.

comment:2 by aceman, 3 years ago

It would be best to use all those values that are already in the JOSM presets, to pick up all translations automatically.

And I do get building=detached offered in an JOSM preset (including translation). Unless it comes from some plugin:)

Anyway, as it is one of the most popular values, so it definitely should be in the presets (for constructed and in-construction buildings).

comment:3 by skyper, 3 years ago

Sorry, I mixed up detached and semi-detached. The first is in defaultpresets.

I am not sure anymore, where I got the values from. By chance, I missed the value for residential buildings and the general values like industrial or commercial.

Can we create a list of the most important values which are missing?

Last edited 3 years ago by skyper (previous) (diff)

by skyper, 3 years ago

Attachment: josm_22048.patch added

patch adding the missing values

comment:4 by skyper, 3 years ago

Milestone: 22.08
Summary: building=construction preset missing some values[Patch] building=construction preset missing some values

Ok, I took all values for building=* within the defaultpresets. Please find attached patch.

comment:5 by taylor.smock, 3 years ago

Stupid question: did you intend to leave out yes? It doesn't add much value, but I figured I'd better check.

in reply to:  5 comment:6 by skyper, 3 years ago

Replying to taylor.smock:

Stupid question: did you intend to leave out yes? It doesn't add much value, but I figured I'd better check.

Yes, building=constuction plus construction=yes does not make sense in my eyes. construction=yes is better used without *=construction, e.g. for minor constructions or for tags which do not have a *=construction, e.g. amenity, leisure, man_made …

comment:7 by taylor.smock, 3 years ago

OK. Looks good to me. Do you want me to apply it to the 22.07 milestone instead of 22.08? I'm going to do a release on July 30th, and you aren't changing any translations.

comment:8 by skyper, 3 years ago

Milestone: 22.0822.07

Please, go ahead. I forgot that all values are already translated.

comment:9 by taylor.smock, 3 years ago

Resolution: fixed
Status: newclosed

In 18528/josm:

Fix #22048: building=construction preset missing some values (patch by skyper, modified)

comment:10 by skyper, 3 years ago

Just curious. Why modified? What did I do wrong?

comment:11 by taylor.smock, 3 years ago

Nothing really -- I just sorted the values. The only two that changed position were house (moved before hospital) and digester (moved before detached). I didn't think it was worth asking you to change the patch, since I had already sorted them.

comment:12 by skyper, 3 years ago

Sure, thanks for the info.

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.