-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bivariate proportional symbol #23
Comments
Below is an example with an SLD rendered with Geotools. <?xml version="1.0" encoding="UTF-8"?>
<UserStyle xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld"
xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc">
<Name>Default Styler</Name>
<FeatureTypeStyle>
<Rule>
<LineSymbolizer>
<Stroke>
<CssParameter name="stroke">
<ogc:Literal>#000000</ogc:Literal>
</CssParameter>
<CssParameter name="stroke-width">
<ogc:Literal>1</ogc:Literal>
</CssParameter>
</Stroke>
</LineSymbolizer>
</Rule>
<Rule>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>semicircle</WellKnownName>
<Fill>
<CssParameter name="fill">#09324D</CssParameter>
</Fill>
</Mark>
<Size>
<ogc:Function name="Interpolate">
<ogc:PropertyName>POP_0_5_YEARS</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>10</ogc:Literal>
<ogc:Literal>10</ogc:Literal>
<ogc:Literal>50</ogc:Literal>
<ogc:Literal>100</ogc:Literal>
<ogc:Literal>100</ogc:Literal>
<ogc:Literal>numeric</ogc:Literal>
<ogc:Literal>linear</ogc:Literal>
</ogc:Function>
</Size>
</Graphic>
</PointSymbolizer>
</Rule>
<Rule>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>semicircle</WellKnownName>
<Fill>
<CssParameter name="fill">#f44336</CssParameter>
</Fill>
</Mark>
<Size>
<ogc:Function name="Interpolate">
<ogc:PropertyName>POP_GREATER_65_YEARS</ogc:PropertyName>
<ogc:Literal>0</ogc:Literal>
<ogc:Literal>10</ogc:Literal>
<ogc:Literal>10</ogc:Literal>
<ogc:Literal>50</ogc:Literal>
<ogc:Literal>100</ogc:Literal>
<ogc:Literal>100</ogc:Literal>
<ogc:Literal>numeric</ogc:Literal>
<ogc:Literal>linear</ogc:Literal>
</ogc:Function>
</Size>
<Rotation>180.0</Rotation>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle> Example image illustrating the portrayal use case: Data : https://github.com/orbisgis/POC-Carto/blob/main/data/rsu_lcz.geojson |
The following map displays a bivariate map applied on road types and width. This king map combine a proportional line on the size of the roads and a unique values classification based on the road types. Geotools SLD
Example image illustrating the portrayal use case: Data : https://github.com/orbisgis/POC-Carto/blob/main/data/roads.geojson |
Existing conformance classes required for this use case:
Example stylesheet:
Bivariate map is a technique in cartography to display two different thematic variables at the same time. One of the most commun technique to create a bivariate map is to combine of visual variables. For most cartographers it may better support different map reading tasks. The following map uses the same visual variable to represent two variables (Half Circle). It permits a cross-variable comparison between the number of permits in 2005 and 2014.
Describe any capability not already addressed by existing conformance classes:
Example image illustrating the portrayal use case:
Additional example
The text was updated successfully, but these errors were encountered: