Skip to content
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

colorizing svg images #52

Open
pvgenuchten opened this issue May 11, 2021 · 0 comments
Open

colorizing svg images #52

pvgenuchten opened this issue May 11, 2021 · 0 comments
Labels
SLD Issues related to SLD style (GeoServer)

Comments

@pvgenuchten
Copy link
Contributor

a style of points with svg icon having a color is displayed black
and forgets its color

image

the 'problem' is that bridge seems to generate a file://plane_orange.svg but gives it a black color, when changing below the fill color to #ff0000 (in geoserver) the planes are nicely colourised, so the plane_orange.svg seems not needed, fill color can do the job

<PointSymbolizer>
            <Graphic>
              <Mark>
                <WellKnownName>file://plane_orange.svg</WellKnownName>
                <Fill>
                  <CssParameter name="fill">#000000</CssParameter>
                  <CssParameter name="fill-opacity">1.0</CssParameter>
                </Fill>
                <Stroke>
                  <CssParameter name="stroke">#000000</CssParameter>
                  <CssParameter name="stroke-width">0.7142857142857143</CssParameter>
                  <CssParameter name="stroke-opacity">1.0</CssParameter>
                </Stroke>
              </Mark>
              <Opacity>1.0</Opacity>
              <Size>64.28571428571428</Size>
              <Rotation>0.0</Rotation>
            </Graphic>
          </PointSymbolizer>
@pvgenuchten pvgenuchten added the SLD Issues related to SLD style (GeoServer) label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SLD Issues related to SLD style (GeoServer)
Projects
None yet
Development

No branches or pull requests

1 participant