Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pvgenuchten opened this issue Dec 12, 2023 · 1 comment
Open
Labels
bug Something isn't working Mapfile Issues related to Mapserver styles

Comments

@pvgenuchten
Copy link
Contributor

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

@GeoSander
Copy link
Member

Hi @pvgenuchten, seems like an easy fix then?

@GeoSander GeoSander added bug Something isn't working Mapfile Issues related to Mapserver styles labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Mapfile Issues related to Mapserver styles
Projects
None yet
Development

No branches or pull requests

2 participants