Modify ↓
Opened 12 years ago
Closed 9 years ago
#10060 closed enhancement (worksforme)
MapCSS: set tag=value
| Reported by: | plepe | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core mappaint | Version: | |
| Keywords: | mapcss modify tag | Cc: | lists@… |
Description (last modified by )
According to the MapCSS specification osmwiki:MapCSS/0.2, it should be possible to modify tags (temporarily for the rendering process).
{ set tag=value; } /* set a tag */ { set tag; } /* set a tag to 'yes' */ { set tag=eval(tag('name')); } /* set tag to the result of the eval() expression */
It would be great, if JOSM would support this.
Attachments (0)
Change History (6)
comment:1 by , 12 years ago
| Component: | Core → Core mappaint |
|---|---|
| Type: | defect → enhancement |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 12 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | mapcss modify tag added |
comment:5 by , 11 years ago
| Cc: | added |
|---|
comment:6 by , 9 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
I think this is worksforme as per properties and classes, see full docu at Help/Styles/MapCSSImplementation
Note:
See TracTickets
for help on using tickets.



This has been implemented, those properties are accessible via the
prop()function …Changing tag of objects directly has unwanted side-effects in an editor ;-)