Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9958 closed defect (fixed)

color of steps not displayed proper with josm internal and additional mapcss style

Reported by: Klumbumbus Owned by: bastiK
Priority: normal Milestone: 14.05
Component: External mappaint style Version: tested
Keywords: Cc:

Description (last modified by Klumbumbus)

the attached .osm file contains 4 ways, wich are highway=service, residential, steps and primary. If you use the JOSM internal mappaint style and the attached .mapcss file (which contais just the following code)

way[highway] {width: 6; color: red;}

the steps are displayed in another color. See Screenshot.

What is the expected result?
The .mapcss file should override the color of the internal style and display steps like the other highways in the example.

screenshot

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-04-25 17:49:40
Last Changed Author: Don-vip
Revision: 7000
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-04-25 19:46:38 +0200 (Fri, 25 Apr 2014)
Last Changed Rev: 7000

Identification: JOSM/1.5 (7000 de) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (165 MB allocated, but free)
Java version: 1.7.0_55, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.policy=file:C:\Program Files\Java\jre7\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm.jnlp, -Djnlpx.remove=true, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\plugin.jar, -Djava.util.Arrays.useLegacyMergeSort=true, -Xms256m, -Xmx768m, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=49836, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=-Djava.util.Arrays.useLegacyMergeSort=true]
Dataset consistency test: No problems found

Plugin: DirectUpload (30375)
Plugin: FastDraw (30375)
Plugin: FixAddresses (30375)
Plugin: HouseNumberTaggingTool (30375)
Plugin: OpeningHoursEditor (30375)
Plugin: PicLayer (30375)
Plugin: RoadSigns (30375)
Plugin: Tracer2 (30375)
Plugin: buildings_tools (30375)
Plugin: download_along (30277)
Plugin: editgpx (30375)
Plugin: imagery_offset_db (30375)
Plugin: measurement (30410)
Plugin: notes (v0.9.2)
Plugin: openstreetbugs (30375)
Plugin: osmarender (30277)
Plugin: public_transport (30375)
Plugin: reltoolbox (30375)
Plugin: reverter (30375)
Plugin: terracer (30375)
Plugin: turnlanes (30375)
Plugin: turnrestrictions (30375)
Plugin: undelete (30375)
Plugin: utilsplugin2 (30391)

Attachments (3)

color on steps.mapcss (36 bytes ) - added by Klumbumbus 11 years ago.
color on steps.osm (1.4 KB ) - added by Klumbumbus 11 years ago.
steps.png (709 bytes ) - added by Klumbumbus 11 years ago.
screenshot

Download all attachments as: .zip

Change History (11)

by Klumbumbus, 11 years ago

Attachment: color on steps.mapcss added

by Klumbumbus, 11 years ago

Attachment: color on steps.osm added

by Klumbumbus, 11 years ago

Attachment: steps.png added

screenshot

comment:1 by Klumbumbus, 11 years ago

Description: modified (diff)

comment:2 by bastiK, 11 years ago

Owner: changed from team to bastiK

comment:3 by bastiK, 11 years ago

In 7044/josm:

map style: 1-1 dashed pattern looks like 50% transparent with antialiasing - change to 2-2 pattern (see #9958)

comment:4 by bastiK, 11 years ago

In [7045]:

mapcss: allow to turn off dashes with dashes: none; without getting warnings on the console

comment:5 by bastiK, 11 years ago

The following style should work now:

way[highway] {
dashes: none;
width: 6; color: blue;}

dashes: none used to spam the command line with warnings, but I turned off these warnings in the latest version.

comment:6 by bastiK, 11 years ago

Resolution: fixed
Status: newclosed

comment:7 by Don-vip, 11 years ago

Milestone: 14.05

comment:8 by Klumbumbus, 11 years ago

Thx for the fixes!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain bastiK.
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.