英文:
GeoServer: using the CSS extension style the "Separate geometry columns"
问题
I'm using the GeoServer documentation for "Styling mixed geometry types" and exactle this part of it Separate geometry columns.
How can I repeat this SLD style using the CSS extension?
<PolygonSymbolizer>
<Geometry><ogc:PropertyName>polygon</ogc:PropertyName></Geometry>
</PolygonSymbolizer>
I tried to use the ":nth-..." pseudo selector but had no success.
Maybe there are other selectors which I can use for my purposes.
英文:
I'm using the GeoServer documentation for "Styling mixed geometry types" and exactle this part of it Separate geometry columns.
How can I repeat this SLD style using the CSS extension?
<PolygonSymbolizer>
<Geometry><ogc:PropertyName>polygon</ogc:PropertyName></Geometry>
</PolygonSymbolizer>
I tried to use the ": nth-..." pseudo selector but had no success.
Maybe there are other selectors which I can use for my purposes.
答案1
得分: 1
检查CSS的属性列表:
https://docs.geoserver.org/2.23.x/en/user/styling/css/properties.html
您要查找的属性称为mark-geometry
,stroke-geometry
,fill-geometry
等等。
英文:
Check the property listing for CSS:
https://docs.geoserver.org/2.23.x/en/user/styling/css/properties.html
The properties you are looking for are called mark-geometry
, stroke-geometry
, fill-geometry
and so on.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论