Opened 11 years ago

Last modified 11 years ago

#11378 closed defect

Visualization of area style in JOSM 8159 — at Version 1

Reported by: irene.pucci@… Owned by: team
Priority: normal Milestone: 15.05
Component: Core mappaint Version: tested
Keywords: template_report Cc:

Description (last modified by skyper)

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.

Visualization in JOSM 8159

In JOSM 5485 the icons are correctly visualize (look at the attached screenshot).

Visualization in JOSM 5485

The rule is:

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

Change History (3)

by irene.pucci@…, 11 years ago

Attachment: mapcss_josm5485.PNG added

Visualization in JOSM 5485

by irene.pucci@…, 11 years ago

Attachment: mapcss_josm8159.PNG added

Visualization in JOSM 8159

comment:1 by skyper, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.