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)

maplayer.c.patch (1.1 KB ) - added by tamas 15 years ago.
A more generic approach

Download all attachments as: .zip

Change History (3)

by tamas, 15 years ago

Attachment: maplayer.c.patch added

A more generic approach

comment:1 by tamas, 15 years ago

Applied a fix for the potential memory issues r8604

comment:2 by tamas, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.