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

hatch in mapserver #31

Open
pvgenuchten opened this issue Oct 14, 2019 · 3 comments
Open

hatch in mapserver #31

pvgenuchten opened this issue Oct 14, 2019 · 3 comments
Labels
enhancement New feature or request Mapfile Issues related to Mapserver styles

Comments

@pvgenuchten
Copy link
Contributor

a 45deg hatch currently gives this style

STYLE
      OPACITY 1.0
    END
    STYLE
      OPACITY 1.0
      OUTLINECOLOR "#000000"
      OUTLINEWIDTH 1.738582677186
    END

in stead mapserver has a special hatch symbol type

SYMBOL
  NAME 'hatch-test'
  TYPE HATCH
END
Layer definition:

LAYER
  ...
  CLASS
    ...
    STYLE
      SYMBOL 'hatch-test'
      COLOR 255 0 0
      ANGLE 45
      SIZE 10
      WIDTH 3
    END
  END
END

@pvgenuchten pvgenuchten added the Mapfile Issues related to Mapserver styles label Oct 14, 2019
@volaya
Copy link
Contributor

volaya commented Oct 15, 2019

Mapserver export does not support symbol fills or marker lines at the moment. I still have to work on this...

@volaya volaya added the enhancement New feature or request label Oct 15, 2019
@volaya
Copy link
Contributor

volaya commented Oct 15, 2019

Support for marker fills is already added, and a line fill with an angle of 45 degrees should be now correctly converted to mapserver.

However, there is no distinction for hatch symbols in geostyler (no equivalent to TYPE HATCH), so the conversion just generates a regular pattern fill with a rotated line symbol.

@pvgenuchten
Copy link
Contributor Author

pvgenuchten commented Oct 15, 2019

i guess we should extend geostyler to support hatch-type-symbology, qgis and mapserver have specific (line pattern fill) support, a hatch is quite different as how geoserver treats it as a patternfill with horline marker (only 45deg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Mapfile Issues related to Mapserver styles
Projects
None yet
Development

No branches or pull requests

2 participants