Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld" xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0">
- <sld:UserLayer>
- <sld:LayerFeatureConstraints>
- <sld:FeatureTypeConstraint />
- </sld:LayerFeatureConstraints>
- <sld:UserStyle>
- <sld:FeatureTypeStyle>
- <sld:Transformation>
- <ogc:Function name="gs:CropCoverage">
- <ogc:Function name="parameter">
- <ogc:Literal>coverage</ogc:Literal>
- <!-- raster layer data flows in here automatically -->
- </ogc:Function>
- <ogc:Function name="parameter">
- <ogc:Literal>cropShape</ogc:Literal>
- <ogc:Literal>MULTIPOLYGON(((-111.04884731397 42.0015576072037,-111.046722412109 40.9979591332376,-109.050085630268 40.99894368276,-109.052912134677 38.9808068349957,-109.049977589399 38.2638216130435,-109.046622965485 37.6443499401212,-109.045143127441 37.2210977114737,-109.045111414045 37.0355095900595,-109.045219421387 36.9990844801068,-114.045818533748 37.0003954768181,-114.045818526298 37.0004009976983,-114.045770332217 37.0385604798794,-114.045517329127 37.2388977780938,-114.044948063791 37.6896567083895,-114.044192049652 38.2882836423814,-114.043374069035 38.9624927192926,-114.041659884155 41.9902956113219,-114.037022538483 41.9902256280184,-113.970551118255 41.9901041835546,-113.694614365697 41.9905687607825,-113.126506507397 41.9924100972712,-111.04884731397 42.0015576072037)))</ogc:Literal>
- <!-- multi-polygon could be provided by "env" subsitution, but wont work for shapes with LOTS of node (too big for HTTP GET parameter) -->
- </ogc:Function>
- </ogc:Function>
- </sld:Transformation>
- <sld:Rule>
- <sld:RasterSymbolizer>
- <sld:ColorMap>
- <sld:ColorMapEntry color="#b7dcf4" opacity="0" quantity="-9999" />
- <sld:ColorMapEntry color="#91ab84" opacity="1" quantity="0.0" />
- <sld:ColorMapEntry color="#c3d4bb" opacity="1" quantity="0.25" />
- <sld:ColorMapEntry color="#ffffcb" opacity="1" quantity="0.5" />
- <sld:ColorMapEntry color="#cf93ba" opacity="1" quantity="0.75" />
- <sld:ColorMapEntry color="#a44883" opacity="1" quantity="1.0" />
- <sld:ColorMapEntry color="#eaeaea" opacity="1" quantity="+9999" />
- </sld:ColorMap>
- </sld:RasterSymbolizer>
- </sld:Rule>
- </sld:FeatureTypeStyle>
- </sld:UserStyle>
- </sld:UserLayer>
- </sld:StyledLayerDescriptor>
Advertisement
Add Comment
Please, Sign In to add comment