Skip to main content
Remove of edit
Source Link

EDIT

When I use rotated horline, like @Ian Turton suggested in his answer, then I get breaks in the hatch, like on the image below. Because of this I start to use wkt symbol, I was unable to find a way to fix this

enter image description here

EDIT

When I use rotated horline, like @Ian Turton suggested in his answer, then I get breaks in the hatch, like on the image below. Because of this I start to use wkt symbol, I was unable to find a way to fix this

enter image description here

added new part to question
Source Link

EDIT

When I use rotated horline, like @Ian Turton suggested in his answer, then I get breaks in the hatch, like on the image below. Because of this I start to use wkt symbol, I was unable to find a way to fix this

enter image description here

EDIT

When I use rotated horline, like @Ian Turton suggested in his answer, then I get breaks in the hatch, like on the image below. Because of this I start to use wkt symbol, I was unable to find a way to fix this

enter image description here

edited body
Source Link

Can somebody help me with this error, it throws it when rendering an object and styling it with use of a buffer (sld style, wkt string). So I suppose that some problem is with buffering but was unable to figure out what is happening to solve it. Buffer values are mostly between -5 and -0.3. Example from sld file is bellow. Is it posible to this happens because of small values of the "Slope""Nagib"?

<Rule>
    <Name>Public building</Name>
    <Title>g</Title>
    <ogc:Filter> 
        <ogc:PropertyIsEqualTo>
            <ogc:PropertyName>THEME_ID</ogc:PropertyName>
            <ogc:Literal>729</ogc:Literal> 
        </ogc:PropertyIsEqualTo> 
    </ogc:Filter> 
    <PolygonSymbolizer>
        <Geometry>
            <ogc:Function name="buffer">
                <ogc:PropertyName>the_geom</ogc:PropertyName>
                <ogc:PropertyName>Buffer</ogc:PropertyName>
            </ogc:Function>
        </Geometry>  
        <Fill>
            <GraphicFill>
                <Graphic>
                    <Mark>
                        <WellKnownName>wkt://LINESTRING(0 0, ${sin(SlopeNagib - 45) * 20000} ${cos(SlopeNagib - 45) * 20000} )</WellKnownName>
                        <Stroke>
                            <CssParameter name="stroke">
                                <ogc:PropertyName>COLOR</ogc:PropertyName>
                            </CssParameter>
                            <CssParameter name="stroke-width">2.5</CssParameter>
                        </Stroke>
                    </Mark>
                </Graphic>
            </GraphicFill>
        </Fill>
    </PolygonSymbolizer> 
    <LineSymbolizer>
        <Stroke>
            <CssParameter name="stroke">
                <ogc:PropertyName>COLOR</ogc:PropertyName>
            </CssParameter>
            <CssParameter name="stroke-width">1</CssParameter>
        </Stroke>
    </LineSymbolizer>
</Rule>

Can somebody help me with this error, it throws it when rendering an object and styling it with use of a buffer (sld style, wkt string). So I suppose that some problem is with buffering but was unable to figure out what is happening to solve it. Buffer values are mostly between -5 and -0.3. Example from sld file is bellow. Is it posible to this happens because of small values of the "Slope"?

<Rule>
    <Name>Public building</Name>
    <Title>g</Title>
    <ogc:Filter> 
        <ogc:PropertyIsEqualTo>
            <ogc:PropertyName>THEME_ID</ogc:PropertyName>
            <ogc:Literal>729</ogc:Literal> 
        </ogc:PropertyIsEqualTo> 
    </ogc:Filter> 
    <PolygonSymbolizer>
        <Geometry>
            <ogc:Function name="buffer">
                <ogc:PropertyName>the_geom</ogc:PropertyName>
                <ogc:PropertyName>Buffer</ogc:PropertyName>
            </ogc:Function>
        </Geometry>  
        <Fill>
            <GraphicFill>
                <Graphic>
                    <Mark>
                        <WellKnownName>wkt://LINESTRING(0 0, ${sin(Slope - 45) * 20000} ${cos(Slope - 45) * 20000} )</WellKnownName>
                        <Stroke>
                            <CssParameter name="stroke">
                                <ogc:PropertyName>COLOR</ogc:PropertyName>
                            </CssParameter>
                            <CssParameter name="stroke-width">2.5</CssParameter>
                        </Stroke>
                    </Mark>
                </Graphic>
            </GraphicFill>
        </Fill>
    </PolygonSymbolizer> 
    <LineSymbolizer>
        <Stroke>
            <CssParameter name="stroke">
                <ogc:PropertyName>COLOR</ogc:PropertyName>
            </CssParameter>
            <CssParameter name="stroke-width">1</CssParameter>
        </Stroke>
    </LineSymbolizer>
</Rule>

Can somebody help me with this error, it throws it when rendering an object and styling it with use of a buffer (sld style, wkt string). So I suppose that some problem is with buffering but was unable to figure out what is happening to solve it. Buffer values are mostly between -5 and -0.3. Example from sld file is bellow. Is it posible to this happens because of small values of the "Nagib"?

<Rule>
    <Name>Public building</Name>
    <Title>g</Title>
    <ogc:Filter> 
        <ogc:PropertyIsEqualTo>
            <ogc:PropertyName>THEME_ID</ogc:PropertyName>
            <ogc:Literal>729</ogc:Literal> 
        </ogc:PropertyIsEqualTo> 
    </ogc:Filter> 
    <PolygonSymbolizer>
        <Geometry>
            <ogc:Function name="buffer">
                <ogc:PropertyName>the_geom</ogc:PropertyName>
                <ogc:PropertyName>Buffer</ogc:PropertyName>
            </ogc:Function>
        </Geometry>  
        <Fill>
            <GraphicFill>
                <Graphic>
                    <Mark>
                        <WellKnownName>wkt://LINESTRING(0 0, ${sin(Nagib - 45) * 20000} ${cos(Nagib - 45) * 20000} )</WellKnownName>
                        <Stroke>
                            <CssParameter name="stroke">
                                <ogc:PropertyName>COLOR</ogc:PropertyName>
                            </CssParameter>
                            <CssParameter name="stroke-width">2.5</CssParameter>
                        </Stroke>
                    </Mark>
                </Graphic>
            </GraphicFill>
        </Fill>
    </PolygonSymbolizer> 
    <LineSymbolizer>
        <Stroke>
            <CssParameter name="stroke">
                <ogc:PropertyName>COLOR</ogc:PropertyName>
            </CssParameter>
            <CssParameter name="stroke-width">1</CssParameter>
        </Stroke>
    </LineSymbolizer>
</Rule>
Source Link
Loading