Dear Geoserver developers,

 

I am using GeoServer 2.1.4 on x64 Windows 7. Everything were almost perfect
till the last week. I got in trouble with it. One 

Interesting problem occurred to me. 

I am using SLD for my maps stylitazing, but I got stucked then I tried to
use one of your new feature “Unit of Measure”. I started with points,
everything was perfect with them, but then I reached lines I founded
interesting trouble.

I were writing rules for lines in the map and I was using this:
<LineSymbolizer uom="http://www.opengeospatial.org/se/units/metre";> to use
your new feature. While I was working with simple lines, dashed lines –
everything were good. Till I need to draw line with letter (--- V---
V---V---),  there Is my rule for this line:

 

<Rule>
          <LineSymbolizer
uom="http://www.opengeospatial.org/se/units/metre";>
            <Stroke>
              <CssParameter name="stroke">#996600</CssParameter>
              <CssParameter name="stroke-width">0.05</CssParameter>
              <CssParameter name="stroke-dasharray">2.5 2 2.5
0</CssParameter>
            </Stroke>
          </LineSymbolizer>
          <LineSymbolizer
uom="http://www.opengeospatial.org/se/units/metre";>
            <Stroke>
              <GraphicStroke>
                <Graphic>
                  <Mark>
                    <WellKnownName>ttf://Arial#0x0044</WellKnownName>
                    <Fill>
                      <CssParameter name="fill">#996600</CssParameter>
                    </Fill>
                    <Stroke>
                      <CssParameter name="stroke">#996600</CssParameter>
                      <CssParameter name="stroke-width">0.05</CssParameter>
                    </Stroke>
                 </Mark>

<sld:Size>

                    <ogc:Literal>1</ogc:Literal>

                  </sld:Size>     
                </Graphic>
              </GraphicStroke>
              <CssParameter name="stroke-dasharray">0 3 1 3</CssParameter>
              <CssParameter name="stroke-dashoffset">0</CssParameter>
            </Stroke>
          </LineSymbolizer>

 </Rule>

 

Trouble is that with this rule map wouldn’t load after refresh. Then I
remove “uom” variable in the second “LineSymbolizer” tag, the map will load,
but the leter between dashes won’t be as I wanted. Other thing that I tried
to do is to remove “size” tag – the map will load but then I zoom the letter
stars to double. 

What I am doing wrong,  where is the problem? 

 

 

Yours sincerely, 
Ričardas Eičas
Programmer, UAB „InfoEra“
__________________________________ 
S.Žukausko g.17, LT-08234, Vilnius  
El.paštas: ricar...@infoera.lt
 <http://www.infoera.lt/> www.infoera.lt ;  <http://www.gps.lt/> www.gps.lt

Description: Description: http://www.infoera.lt/logo-InfoEra.png

 

<<image001.png>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to