Modify

Opened 6 years ago

Last modified 6 years ago

#17822 new enhancement

Change source:geometry -> source:position MapCSS rule

Reported by: PanierAvide Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: source geometry position Cc:

Description (last modified by Don-vip)

Hello,
I discovered recently that MapCSS validation rules (geometry.mapcss) contains something to warn user when source:geometry is used on a node, and should be replaced by source:position instead. As now, source:geometry tag is used 1500000 times worldwide, whereas source:position is used 647000 times. It would make sense to keep tagging unified, no matter the kind of geometry we use. If you don't mind, I would like to edit this and change the MapCSS rule, making source:position being changed into source:geometry for any kind of feature.
Regards.

Change History (4)

comment:1 by PanierAvide, 6 years ago

Summary: Remove source:geometry -> source:location MapCSS ruleChange source:geometry -> source:location MapCSS rule

comment:2 by PanierAvide, 6 years ago

Description: modified (diff)
Summary: Change source:geometry -> source:location MapCSS ruleChange source:geometry -> source:position MapCSS rule

comment:3 by PanierAvide, 6 years ago

We could also add a rule for fixing source:location into source:geometry in the same way.

Last edited 6 years ago by PanierAvide (previous) (diff)

comment:4 by Don-vip, 6 years ago

Description: modified (diff)
Keywords: source geometry position added

Add Comment


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