Opened 13 years ago

Closed 13 years ago

#2808 closed enhancement (fixed)

Generic SQL doesn't support feature styles

Reported by: aboudreault Owned by: aboudreault
Priority: normal Milestone: 1.6.1
Component: OGR_SF Version: 1.6.0
Severity: normal Keywords: OGR SQL
Cc: Daniel Morissette, warmerdam


Currently, when we use a sql statement to get a set of features, styles cannot be handled because they are discarded. There is only the geometry that is copied. It could be useful to copy the styles of features also, especially in this case (in a MapServer? mapfile, using STYLEITEM and DATA):

    # ....
    # ...

See related ticket for more info: MapServer Ticket 2733

Attachments (1)

bug2808.patch (584 bytes) - added by aboudreault 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by aboudreault

Attachment: bug2808.patch added

comment:1 Changed 13 years ago by aboudreault

I've attached the small patch. It simply copy the StyleString? of the feature like the geometry.

comment:2 Changed 13 years ago by warmerdam

Component: defaultOGR_SF
Keywords: OGR SQL added
Milestone: 1.6.1
Resolution: fixed
Status: newclosed
Version: unspecified1.6.0

I have applied the patch in trunk (r16194) and 1.6 (r16195). I have also added a test in the test suite (r16193).


Note: See TracTickets for help on using tickets.