Opened 15 years ago
Closed 15 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 |
Description
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):
LAYER # .... DATA "SELECT ID_PAYS,NOM_DE_PAYS,AVANCEMENT FROM Pays" STYLEITEM "AUTO" # ... END
See related ticket for more info: MapServer Ticket 2733
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | bug2808.patch added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Component: | default → OGR_SF |
---|---|
Keywords: | OGR SQL added |
Milestone: | → 1.6.1 |
Resolution: | → fixed |
Status: | new → closed |
Version: | unspecified → 1.6.0 |
Note:
See TracTickets
for help on using tickets.
I've attached the small patch. It simply copy the StyleString of the feature like the geometry.