Feature request #9574

Simplified ranges in styling

Added by Trygve Wastvedt about 3 years ago. Updated about 3 years ago.

Status:Open Start Date:02/16/2014
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


I think it would be useful to have a more concise way to specify multiple numerical ranges for a single rule when styling.

The specific instance this came up is in styling buildings based on an assessor's property classification system (http://web.mit.edu/sde/www/metadata/details/us_ma_boston_g47parcels_2005_ptype.html).

I can create rule-based styles which look something like:

("PTYPE-INT" >= 336 AND "PTYPE-INT" <=338) OR "PTYPE-INT" = 359 OR "PTYPE-INT" = 387

This works, but it's cumbersome. A start might be accepting something like:

(336 <= "PTYPE-INT" <=338) OR "PTYPE-INT" = 359 OR "PTYPE-INT" = 387

However something like

"PTYPE-INT in "336-338,359,387"

would be awesome. (I don't know what the appropriate syntax would be.) Alternatively, or in addition, I think it would be useful if categorized styling accepted mixes of items and ranges, ie (1,3-5,12), in the manner of pages to print in office software.


Updated by Giovanni Manghi about 3 years ago

  • Target version set to Future Release - Nice to have

Also available in: Atom