-
Notifications
You must be signed in to change notification settings - Fork 3
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
XML writer and reader #4
Comments
Bellow an example of json encoding with a SQL like expression {
"Feature2DStyle": {
"Name": "Unnamed Style",
"Rule": {
"Name": "Area color expression",
"AreaSymbolizer": {
"Name": "Color area expression",
"Level": 0,
"PenStroke": {
"SolidFill": {
"Color": "#000000",
"Opacity": 1
},
"Width": 0.25,
},
"SolidFill": {
"Color": "expression(CASE WHEN ST_AREA(the_geom)> 50000 then 'red' else 'blue' end)"
}
}
}
}
} |
And in xml <Feature2DStyle>
<Name>Unnamed Style</Name>
<Rule>
<Name>Area color expression</Name>
<AreaSymbolizer>
<Name>Color according a type</Name>
<Uom>PX</Uom>
<Level>0</Level>
<PenStroke>
<SolidFill>
<Color>#000000</Color>
<Opacity>1.0</Opacity>
</SolidFill>
<Width>0.25</Width>
</PenStroke>
<SolidFill>
<Color>expression(CASE WHEN ST_AREA(the_geom)> 50000 then 'red' else 'blue' end)</Color>
</SolidFill>
</AreaSymbolizer>
</Rule>
</Feature2DStyle> |
ebocher
added a commit
to ebocher/orbismap
that referenced
this issue
Jun 12, 2020
…dicators Fix building.
ebocher
pushed a commit
to ebocher/orbismap
that referenced
this issue
Jun 12, 2020
Fix trainingDatabdtopov2.geojson file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: