Skip to content

column name not picked up when generating mapserver class filter #74

@pvgenuchten

Description

@pvgenuchten

this is what was generated from a shapefile with a styling in classes

  CLASS
    NAME "1. Maize mixed farming system"
    EXPRESSION (None = "1. Maize mixed farming system")
    STYLE
      OPACITY 100.0
      COLOR "#cfcbe4"
      OUTLINECOLOR "#6e6e6e"
      OUTLINEWIDTH 1.0
    END
    STYLE
      WIDTH 1.0
      OPACITY 0.0
      COLOR "#6e6e6e"
      LINECAP "round"
      LINEJOIN "round"
    END
  END

• The attribute name is not picked up in the expression (should be [LEV1_DESC] = 1. Maize... ).

• the second style block gives the error ''getSymbol(): Symbol definition error. Parsing error near (round):(line 115)'' line 115 refers to LINECAP "round"

image

from the docs, maybe there should not be quotes around round

Metadata

Metadata

Assignees

No one assigned

    Labels

    MapfileIssues related to Mapserver styles

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions