Feature request #9574

Simplified ranges in styling

Added by Trygve Wastvedt about 10 years ago. Updated almost 7 years ago.

Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:18157


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.


#1 Updated by Giovanni Manghi about 10 years ago

  • Target version set to Future Release - Nice to have

#2 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF