Opened 12 years ago

#4208 new enhancement

Adding run-time constants to common expression handling.

Reported by: sdlime Owned by: sdlime
Priority: normal Milestone: 6.2 release
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

Basically it would be nice to expose a few run-time constants to MapServer logical expressions. Things like computed extent, scale, image size, and cellsize. Syntax would be something like !name! following after the !bbox! hack in PostGIS. While I’m only interested in MapServer logical expressions it’s reasonable that certain drivers could support them as well within their DATA/FILTER statements.

I’m proposing !bbox! (as define in PostGIS code), !minx! (etc…), !scale!, !width!, !height!, and !cellsize!. One use for this would be triggering scaling on parameters passed to style GEOMTRANSFORMs (e.g a buffer).

Steve

Change History (0)

Note: See TracTickets for help on using tickets.