sorry Edward.

----- Weitergeleitete Message -----
Von: Robert Buckley <robertdbuck...@yahoo.com>
An: Edward Mac Gillavry <emacgilla...@hotmail.com> 
Gesendet: 14:16 Freitag, 6.April 2012
Betreff: Re: [Geoserver-users] Is the rotation of a WellKnownName square in a 
linesybolizer possible?
 

thanks,

I did what you said, but it doesn´t work...I simplified the sld to reduce the 
risk of errors....the sld validates ok, but the <Rotation>45</Rotation> is not 
being applied.

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
xmlns="http://www.opengis.net/sld";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <NamedLayer>
    <Name>line-symbol rotation</Name>
    <UserStyle>
      <Title>line-symbol rotation</Title>      
      <FeatureTypeStyle>        
        <Rule>      
          <Name>line-symbol rotation</Name>                          
          <LineSymbolizer >    
            <Stroke>
              <GraphicStroke>
                <Graphic>
                  <Mark>
                    <WellKnownName>square</WellKnownName>
                    <Stroke>
                      <CssParameter name="stroke">#000000</CssParameter>
                      <CssParameter name="stroke-width">1</CssParameter>
                    </Stroke>                    
                  </Mark>                  
                  <Size>20</Size>  
                  <Rotation>45</Rotation>                
                </Graphic>                
              </GraphicStroke>              
            </Stroke>
          </LineSymbolizer>                 
        </Rule>        
      </FeatureTypeStyle>         
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>





________________________________
 Von: Edward Mac Gillavry <emacgilla...@hotmail.com>
An: robertdbuck...@yahoo.com; geoserver-users@lists.sourceforge.net 
Gesendet: 10:46 Freitag, 6.April 2012
Betreff: RE: [Geoserver-users] Is the rotation of a WellKnownName square in a 
linesybolizer possible?
 

 

Robert,

Noticed the CssParameters "stroke-dasharray" and "stroke-dashoffset" were 
misplaced, so your SLD does not validate. Put them after of the GraphicStroke 
block, but still inside the Stroke block.

HTH

Edward



________________________________
Date: Fri, 6 Apr 2012 08:19:47 +0100
From: robertdbuck...@yahoo.com
Subject: Re: [Geoserver-users] Is the rotation of a WellKnownName square in a 
linesybolizer possible?
To: emacgilla...@hotmail.com


Thanks, but I noticed that and changed it...but it still does not work


Attached is the full sld, and the test dataset is here.....

http://maps.zgb.de/geoserver/zgb/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:line_symbol_rotation&styles=&bbox=3585266.16823884,5779757.00815985,3638562.94689992,5821864.4078755&width=512&height=404&srs=EPSG:25832&format=application/openlayers


yours,

Rob



________________________________
 Von: Edward Mac Gillavry <emacgilla...@hotmail.com>
An: fg...@users.sourceforge.net; robertdbuck...@yahoo.com; 
geoserver-users@lists.sourceforge.net 
Gesendet: 22:02 Donnerstag, 5.April 2012
Betreff: RE: [Geoserver-users] Is the rotation of a WellKnownName square in a 
linesybolizer possible?
 

 
Make that an uppercase <Rotation></Rotation>

HTH

Edward


> Date: Thu, 5 Apr 2012 13:35:29 +0200
> From: fg...@users.sourceforge.net
> To: robertdbuck...@yahoo.com; geoserver-users@lists.sourceforge.net
> Subject: Re: [Geoserver-users] Is the rotation of a WellKnownName square in a 
> linesybolizer possible?
> 
> My read of the SLD 1.0.0 Documentation is, that this should be
> possible (see section 11.3.2
> http://www.opengeospatial.org/standards/sld)
> 
> Could you create an issue with a sample sld file to test... against
> 
> Frank
> 
> 2012/4/5 Robert Buckley <robertdbuck...@yahoo.com>:
> > Mark
> 
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second 
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to