Hello - my Denver webcartography GeoServer/SLD workshop is coming closer and
I really would like to solve the following problem, but I need some help.
(I´m coming back to this question I had in the middle of June 2011): 

I have to cut and past 10 different SVG filenames in up to 130 different
parts of a huge SLD file and I will have hundreds of these files in the
future. 
The SLD files all look exactly the same except for the names of the SVG
files and the line color (…"stroke">#00FF00…) of the polygon.  
This is an example of one of the 130 parts (only PolygonSymbolizer and
GraphicFill) of the SLD (with up to 13 scale intervals and 10 area intervals
depending on the geodata):

…
 <ogc:Filter>
            <ogc:PropertyIsBetween>
              <ogc:PropertyName>AREA_ha</ogc:PropertyName>
                <ogc:LowerBoundary>
                  <ogc:Literal>150</ogc:Literal>
                </ogc:LowerBoundary>
                <ogc:UpperBoundary>
                  <ogc:Literal>300</ogc:Literal>
                </ogc:UpperBoundary>
            </ogc:PropertyIsBetween>
          </ogc:Filter>
           <sld:MinScaleDenominator>24000.0</sld:MinScaleDenominator>
           <sld:MaxScaleDenominator>48000.0</sld:MaxScaleDenominator>
           <PolygonSymbolizer>
             <Fill>
                <GraphicFill>
                   <Graphic>
                    <ExternalGraphic>
                      <OnlineResource xlink:type="simple"
xlink:href="NameOfTheSVGfile.svg" />
                      <Format>image/svg+xml</Format>
                    </ExternalGraphic>
                    <Size>
                      <ogc:Literal>50</ogc:Literal>
                    </Size>
                   </Graphic>
                 </GraphicFill>
             </Fill>
…

I would like to give the names (NameOfTheSVGfile.svg) of the up to 10
different SVG files and the Stroke color in the beginning of the SLD which
will take a couple of minutes instead of sometimes hours if I have to edit
the whole SLD file. 

I have find things like
  
id="File1"  
with  
xlink:href="#File1"  

which looks interesting but all the XML/Xlink examples has nothing to do
with GeoServer and SLD. 
Is it anybody who has any ideas or am I still not able to describe my
problem? 
Regards Anders Söderman Stockholm Sweden.


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to