﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18522	"""Automatically obtain source from current layers"" should obtain ""cuzk:ruian"" for various Czech layers"	YjM	team	"==== What steps will reproduce the problem?
1. Download some OSM data inside of the Czech Republic
2. Add ""Czech RUIAN budovy"" as a template
3. Make some changes to the map
4. Open upload dialog and select ""Automatically obtain source from current layers""

==== What is the expected result?
The feature will fill in expected and common ""source"" values for each layer.
E.g. for ""Czech RUIAN budovy"" its common ''source'' value is ""cuzk:ruian"" (see [https://taginfo.openstreetmap.org/keys/source#values Taginfo], it's no. 10 in source's values)
For ""Czech pLPIS"" its common value is just ""lpis"" (see [https://taginfo.openstreetmap.org/search?q=lpis#values Taginfo again]) and so on..

==== What happens instead?
The feature only fills in the literal names of the layers.

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-01-02 22:34:59 +0100 (Thu, 02 Jan 2020)
Build-Date:2020-01-02 21:52:31
Revision:15628
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15628 cs) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1903 (18362)
Memory Usage: 456 MB / 989 MB (154 MB allocated, but free)
Java version: 1.8.0_231-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1366x768, \Display1 1280x960
Maximum Screen Size: 1366x960
Dataset consistency test: No problems found

Plugins:
+ ColorPlugin (1537115529)
+ FastDraw (35256)
+ OpeningHoursEditor (35250)
+ PicLayer (35248)
+ Tracer-testing (1569951680)
+ apache-commons (35092)
+ buildings_tools (35248)
+ ejml (35122)
+ geotools (35169)
+ imagery_offset_db (35248)
+ jaxb (35092)
+ josm-batch-downloader (1.0.2)
+ jts (35122)
+ mapathoner (0.10.2)
+ markseen (14)
+ measurement (35248)
+ opendata (35248)
+ pointInfo (35248)
+ reverter (35248)
+ tageditor (35258)
+ todo (30306)
+ turnlanes-tagging (283)
+ utilsplugin2 (35248)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://github.com/MissingMaps/josm_styles/raw/master/mm_validation.mapcss

Last errors/warnings:
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: java.net.UnknownHostException: earthwatch.digitalglobe.com
- W: Není zvolena výchozí vrstva, vybírám první vrstvu.
}}}
"	enhancement	new	normal		Core	tested		upload changeset source	taylor.smock
