Opened 19 years ago

Last modified 19 years ago

#1133 new enhancement

Using a SHP file attribute as a MapFile Object value

Reported by: bob.basques@… Owned by: sdlime
Priority: lowest Milestone: FUTURE
Component: MapServer CGI Version: 4.5
Severity: minor Keywords:
Cc: woodbri@…

Description

Example:

LAYER
  NAME 'cities'
  DATA '<path to data>'
  STATUS DEFAULT
  CLASSITEM 'MUNI_NAME'
  CLASS
    OUTLINECOLOR 207 50 150
    COLOR '<value of MUNI_NAME column above>'
    SIZE 2
    SYMBOL 'circle'
  END
END

Change History (1)

comment:1 by sdlime, 19 years ago

Milestone: FUTURE
Priority: normallowest
Size and angle already have item-based support within styleObjs. Those are 
supported because:

1) they are potentially double values that often vary by feature as direction 
and magnitude (whereas colors and symbol are far more limited)

2) someone paid for and hence accelerated their addition

I doubt we'll go any further with the current approach. You may see the style 
item concept supported by OGR also supported by non-OGR sources.

Steve
Note: See TracTickets for help on using tickets.