Closed mholthausen closed 11 months ago
The result will be
{
"kind": "Fill",
"color": "#0E1058",
"fillOpacity": 1, // beacuse color is defined
"outlineOpacity": 0 // beacuse there is no outlineColor defined
}
Additionally the way (writeStyle
) to generate a Mapfile from geostyler-style
is not implemented yet.
I think this will add unneeded information to the
geostyler-stlye
.
I think our concept of file based similarity is a little outdated. It might be better to follow a visual-similarity-approach.
There is already an issue for this (https://github.com/geostyler/geostyler/issues/1444) and this should also be discussed in the next monthly (https://github.com/geostyler/geostyler/discussions/1451).
IMHO, this should be non-blocking for now.
This MR
mapfileStyle.width
(if defined) asoutlineWidth
mapfileStyle.color
andmapfileStyle.outlineColor
the corresponding opacity values (fillOpacity
andoutlineOpacity
) are set to the defined value or a default value@KaiVolland @jansule please review