Skip to content

Instantly share code, notes, and snippets.

@wumpz
Created April 20, 2020 11:15
Show Gist options
  • Save wumpz/686c531498b147cf0be3a31b99025b5d to your computer and use it in GitHub Desktop.
Save wumpz/686c531498b147cf0be3a31b99025b5d to your computer and use it in GitHub Desktop.
feature-styles:
- rules:
- title: raster
filter: ${isCoverage()=true}
symbolizers:
- raster:
opacity: 1.0
- title: gold polygon
filter: ${dimension(geometry())='2'}
symbolizers:
- polygon:
stroke-width: 0.5
stroke-color: '#000000'
fill-color: '#ffcc00'
fill-opacity: 0.3
- title: red line
filter: ${dimension(geometry())='1'}
symbolizers:
- line:
stroke-width: 1.0
stroke-color: '#ff0000'
- title: blue point
else: true
symbolizers:
- point:
size: 6
symbols:
- mark:
shape: square
fill-color: '#0000ff'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment