Opened 15 years ago
Closed 15 years ago
#2870 closed defect (fixed)
Support for rendering INLINE layers with layer attributes (items)
Reported by: | tamas | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 5.4 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
This change would add support for using the attributes of the inline features when rendering the layer (eg. for supporting LABELITEM and CLASSITEM or attribute bindings) The item names have to be specified by using a PROCESSING parameter as follows:
LAYER
NAME "INLINE" TYPE POINT PROCESSING "ITEMS=item1,item2,item3" FEATURE
POINTS -0.2 51.5 END
END
END
Attached a patch to implement this feature.
We might also want to add new keywords to set the values of the features explicitly or use the TEXT parameter to split a comma separated list into the values in case if "PROCESSING ITEMS=" is specified, like:
FEATURE
POINTS -0.2 51.5 END TEXT value1;value2;value2
END
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | maplayer.c.patch added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
A more generic approach