﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11378	Visualization of area style in JOSM 8159	irene.pucci@…	team	"==== What steps will reproduce the problem?
1. Create a mapcss area rule with 'fill-image'
2. Visualize it in JOSM

==== What is the expected result?

The image of the rule 'fill-image' inside the area has a good visualization

==== What happens instead?

The image of the rule 'fill-image is too small'

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-03-30 01:30:55
Last Changed Author: stoecker
Revision: 8159
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-03-29 14:37:50 +0200 (Sun, 29 Mar 2015)
Last Changed Rev: 8159

Identification: JOSM/1.5 (8159 en) Windows 7 64-Bit
Memory Usage: 980 MB / 980 MB (578 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n, -Djava.util.Arrays.useLegacyMergeSort=true]
Dataset consistency test: No problems found

Plugins:
- ImportImagePlugin (${version.entry.commit.revision})
- geotools (31000)
- jts (31002)
- log4j (30892)
- opendata (UNKNOWN)
- utilsplugin2 (30892)

Last errors/warnings:
- W: Could not get presets icon Icons/phot01.png
- E: Failed to locate image 'Icons/nnnnnnn.png'
- W: Could not get presets icon Icons/nnnnnnn.png
- E: Failed to locate image 'Icons/nnnnnnn.png'
- W: Could not get presets icon Icons/nnnnnnn.png
}}}

When I try to visualize some icons inside area, their scale does not change and it is not really visible.

[[Image(mapcss_josm8159.PNG,400)]]

In JOSM 5485 the icons are correctly visualize (look at the attached screenshot).

[[Image(mapcss_josm5485.PNG,400)]]

The rule is:
{{{
#!rule
relation[type=multipolygon][objcod=RESARE][RESTRN=""3""] > way {width: 1; dashes: 6,2; color: red; opacity: 1;}
area[objcod=RESARE][RESTRN=""3""] {fill-image: ""Icons/REancC.png""; }
}}}

Am I doing some type of errors?

Thanks,
Irene


"	defect	new	normal		Core mappaint	tested		template_report	
