Jan Suleiman, terrestris GmbH & Co. KG
Daniel Koch, terrestris GmbH & Co. KG
LAYER
NAME "point_simple_point"
TYPE POINT
DATA "../shapes/points.shp"
EXTENT -180 -90 180 90
METADATA
"wms_title" "point_simple_point"
"wms_srs" "EPSG:4326"
END
CLASS
STYLE
SYMBOL "circle"
COLOR 0 255 0
SIZE 15
END
END
END
LAYER
NAME "point_simple_point"
TYPE POINT
DATA "../shapes/points.shp"
EXTENT -180 -90 180 90
METADATA
"wms_title" "point_simple_point"
"wms_srs" "EPSG:4326"
END
CLASS
STYLE
SYMBOL "circle"
COLOR 0 255 0
SIZE 15
END
END
END
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StyledLayerDescriptor version="1.1.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 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" xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>Demo Style</se:Name>
<UserStyle>
<se:Name>Demo Style</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Rule 1</se:Name>
<se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/pixel">
<se:Graphic>
<se:Mark>
<se:WellKnownName>circle</se:WellKnownName>
</se:Mark>
</se:Graphic>
</se:PointSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
geostyler -s qgis -t sld -o output.sld input.qml
LAYER
NAME "point_simple_point"
TYPE POINT
DATA "../shapes/points.shp"
EXTENT -180 -90 180 90
METADATA
"wms_title" "point_simple_point"
"wms_srs" "EPSG:4326"
END
CLASS
STYLE
SYMBOL "circle"
COLOR 0 255 0
SIZE 15
END
END
END
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<StyledLayerDescriptor version="1.1.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" 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" xmlns:se="http://www.opengis.net/se">
<NamedLayer>
<se:Name>Demo Style</se:Name>
<UserStyle>
<se:Name>Demo Style</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Rule 1</se:Name>
<se:PointSymbolizer uom="http://www.opengeospatial.org/se/units/pixel">
<se:Graphic>
<se:Mark>
<se:WellKnownName>circle</se:WellKnownName>
</se:Mark>
</se:Graphic>
</se:PointSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Land: {{federal_state}}
Population: {{pop}}
Inkl. Autovervollständigung
Opacity: {{pop / total_pop}}
Color: {{'#aabb' + pop}}
const myContext = {
"composition": {
"LineEditor": {
"opacityField": {
"visibility": false
},
"widthField": {
"default": 5
}
},
"IconEditor": {
"visibility": false
}
},
"locale": {
"Style": {
"nameFieldLabel": "Style Name"
}
}
};
<GeoStylerContext.Provider value={myContext}>
<Style style={style} compact={true} />
</GeoStylerContext.Provider>
<se:SvgParameter name="fill">
<ogc:PropertyName>Feature_Color</ogc:PropertyName>
</se:SvgParameter>
Die Folien sind unter der CC BY-SA
Lizenz veröffentlicht.
terrestris.github.io/fossgis2023
git repository