Modify

Opened 7 years ago

Last modified 6 years ago

#14378 new enhancement

Global territory selector

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc: Klumbumbus

Description

Could we have a way to say that all the MapCSS rules inside one file is related to one territory only?

For example, instead needing to modify every rule in https://github.com/OSMBrasil/validador-josm/blob/master/Rules_Brazilian-Specific.validator.mapcss I could only set something in the header and JOSM would understand that all the rules apply only to Brazil.

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-02-15 02:11:05 +0100 (Wed, 15 Feb 2017)
Build-Date:2017-02-15 02:34:07
Revision:11568
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11568 pt_BR) Linux Debian GNU/Linux 9.0 (stretch)
Memory Usage: 275 MB / 10206 MB (139 MB allocated, but free)
Java version: 1.8.0_121-8u121-b13-3-b13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u121-b13-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Attachments (0)

Change History (2)

comment:1 by Klumbumbus, 7 years ago

Cc: Klumbumbus added

comment:2 by Don-vip, 6 years ago

Not yet possible but now you can at least add assertMatch/assertNoMatch declarations :) see #17058

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to naoliv.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.