﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10850	Remaining boundingbox in imagery preferences outline preview after adding a new shape and updating the imagery preferences	mdk	team	"==== What steps will reproduce the problem?
1. Open Imagery Preferences
2. Select an imagery provider which has <bounds> without <shape> (see [http://josm.openstreetmap.de/wiki/Maps] and sub-pages for different countries) -> you see the bounding box in the preview map of the preference dialog
3. Edit the wiki-page and replace the <bounds> element with a new (and valid) which contains a <shape>.
4. Refresh the imagery preferences (""reload defaults"" button right of the preview map)

==== What is the expected result?

After reloading (or at least after re-selecting the chosen imagery provider the preview should change from the old boundary box to the new shape.

==== What happens instead?

The old bounding box is nw shown always, until you close and re-openthe preference windows. If you select any other imagery provider, the outline for this provider (shape, bounding box or nothing) is shown PLUS the old bounding box from the changed imagery provider.

The list of shapes shown in the preview map must be cleared after reload. And it would be nice, if the preview is refreshed after ""reload defaults"".

==== Please provide any additional information below. Attach a screenshot if possible.

You can easily create a shape with the imagery-xml-bounds plugin ([http://wiki.openstreetmap.org/wiki/JOSM/Plugins/Imagery-XML-Bounds]):
* open new (empty) layer
* show the imagery layer
* trace the outline of the imagery
* select the outline and call ""XML imagery bounds"" from the context menu of the selection view
* copy <bounds> element with <shape> child element
* add or replace <bounds> element in the [http://josm.openstreetmap.de/wiki/Maps] wiki-page

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-12-11 02:33:43
Last Changed Author: Don-vip
Revision: 7787
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-12-11 00:15:17 +0100 (Thu, 11 Dec 2014)
Last Changed Rev: 7787

Identification: JOSM/1.5 (7787 en) Linux Ubuntu 14.04.1 LTS
Memory Usage: 360 MB / 876 MB (205 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK Server VM
Java package: openjdk-7-jre:i386-7u71-2.5.3-0ubuntu0.14.04.1
VM arguments: [-Djosm.restart=true, -Djosm.home=/home/michael/.josm-latest, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
- ColumbusCSV (30762)
- FastDraw (30762)
- HouseNumberTaggingTool (30762)
- OpeningHoursEditor (30737)
- RoadSigns (30788)
- SimplifyArea (30791)
- buildings_tools (30762)
- contourmerge (1012)
- imagery-xml-bounds (30735)
- imagery_offset_db (30808)
- poly (30738)
- public_transport (30762)
- reltoolbox (30841)
- reverter (30737)
- scoutsigns (8)
- terracer (30737)
- turnrestrictions (30762)
- utilsplugin2 (30762)

Last errors/warnings:
- E: Failed to locate image 'maxspeed_icon.svg'
- W: Mappaint style ""standard"" (Maxspeed) icon ""maxspeed_icon.svg"" not found.
}}}
"	defect	closed	minor	14.12	Core imagery	latest	fixed	template_report	
