deleting old folder after move
[geo.git] / edit_wp5_web_folder / geo / layers_sld / wwf_ecoregions.php
diff --git a/edit_wp5_web_folder/geo/layers_sld/wwf_ecoregions.php b/edit_wp5_web_folder/geo/layers_sld/wwf_ecoregions.php
deleted file mode 100644 (file)
index 35b6e55..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-<?php
-//LINE type
-//wwf_ecoregions.php?params=2/wwf_ecoregions
-
-$params=explode('/',$_GET['params']);
-    $up=$params[0];
-    $layer='topp:'.$params[1];
-    if (isset($params[2]))
-    {
-       $l_color="#".$params[2];
-       } else { $l_color="#488627"; }
-       
-        if (isset($params[3]))
-    {
-       $s_width=$params[3];
-       if ($s_width==0)
-       {
-       $s_opacity=0;
-       }else {
-       $s_opacity=1;
-       }
-
-       } else { $s_width=0.6;$s_opacity=1; }
-
-        if (isset($params[4]))
-    {
-       $s_style=$params[4];
-       $s=explode('_',$s_style);
-       if (count($s)>1)
-       {
-       $s_style=$s[0]." ".$s[1];
-       }  else { $s_style=1000000; }
-       } else { $s_style=100000; }
-                if (isset($params[5]))
-           {
-                       $label_size=$params[5];
-           }
-       else
-       {
-               $label_size=15*$up;
-       }
-
-header("Content-type: text/xml");
-
-echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
-?>
-
-<StyledLayerDescriptor 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" xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0"
-xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd3">
-
-<!-- a named layer is the basic building block of an sld document -->
-<NamedLayer>
-<Name><? echo $layer ?></Name>
-
-<!-- with in a layer you have Named Styles -->
-<UserStyle>
-    <!-- again they have names, titles and abstracts -->
-  <Name>population</Name>
-  <Title>Population in the United States</Title>
-  <Abstract>A sample filter that filters the United States into three categories of population, drawn in different colors</Abstract>
-    <FeatureTypeStyle>
-     <Rule>
-        <LineSymbolizer>
-
-           <Stroke>
-           <CssParameter name="stroke"><? echo $l_color; ?></CssParameter>
-           <CssParameter name="stroke-width"><? echo $up*($s_width); ?></CssParameter>
-            <CssParameter name="stroke-dasharray"><? echo $s_style; ?></CssParameter> 
-            <CssParameter name="stroke-opacity"><? echo $s_opacity; ?></CssParameter>
-            </Stroke>
-        </LineSymbolizer>
-        
-               <TextSymbolizer>
-          
-           <Geometry><ogc:PropertyName>the_geom</ogc:PropertyName></Geometry>
-           <Label><ogc:PropertyName>code</ogc:PropertyName>
-           </Label>
-           <Font><CssParameter name="font-style">normal</CssParameter><CssParameter name="font-size"><? echo $label_size ?></CssParameter>
-           <CssParameter name="font-color">#990033</CssParameter>
-           </Font>
-           
-                  <LabelPlacement>
-                         <PointPlacement>  
-                           <AnchorPoint>
-                         <AnchorPointX>0.5</AnchorPointX>
-                         <AnchorPointY>0.5</AnchorPointY>
-                       </AnchorPoint>
-                         </PointPlacement>              
-                       </LabelPlacement>      
-                        <!--  make the label easy to read-->
-                       <Halo>            
-                         <Radius>
-                      <ogc:Literal>2</ogc:Literal>
-                         </Radius>
-                         <Fill>
-                     <CssParameter name="fill">#FFFFFF</CssParameter>
-                     <CssParameter name="fill-opacity">0.7</CssParameter>        
-                         </Fill>
-                       </Halo>
-      
-           </TextSymbolizer>
-      </Rule>
-
-    </FeatureTypeStyle>
-</UserStyle>
-</NamedLayer>
-</StyledLayerDescriptor>
\ No newline at end of file