3,发布伪三维效果的图层
作者:
桃子味的白开水 | 来源:发表于
2019-04-25 23:05 被阅读4次<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0"
xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>alt-buildings</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<PolygonSymbolizer>
<Geometry>
<ogc:Function name="isometric">
<ogc:PropertyName>the_geom</ogc:PropertyName>
<ogc:PropertyName>height</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Fill>
<CssParameter name="fill">#cecdc5</CssParameter>
<CssParameter name="fill-opacity">0.8</CssParameter>
</Fill>
</PolygonSymbolizer>
<PolygonSymbolizer>
<Geometry>
<ogc:Function name="offset">
<ogc:PropertyName>the_geom</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:PropertyName>height</ogc:PropertyName>
</ogc:Function>
</Geometry>
<Fill>
<CssParameter name="fill">#eeece7</CssParameter>
<CssParameter name="fill-opacity">1</CssParameter>
</Fill>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

image
本文标题:3,发布伪三维效果的图层
本文链接:https://www.haomeiwen.com/subject/wlxxnqtx.html
网友评论