All pastes #2058170 Raw Edit

Unnamed

public text v1 · immutable
#2058170 ·published 2011-05-13 12:51 UTC
rendered paste body
<?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>Cities</Name>
  <UserStyle>
    <Title>Exp Style</Title>
    <FeatureTypeStyle>
<!-- Level 0 
______________________________________________________ -->
<!-- Level 1 
______________________________________________________ -->
<!-- Level 2 50M - 20M
______________________________________________________ -->
<Rule>
  <Name>Rule UR</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
        <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>50</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>20000000</MinScaleDenominator>
  <MaxScaleDenominator>50000000</MaxScaleDenominator>
   <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">10</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
       <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
     </Priority>
     <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>

<Rule>  
  <Name>Rule UL</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>51</ogc:Literal>      
    </ogc:PropertyIsEqualTo>
     </ogc:Filter>
  <MinScaleDenominator>20000000</MinScaleDenominator>
  <MaxScaleDenominator>50000000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>  
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
         <CssParameter name="font-size">10</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <AnchorPoint>
          <AnchorPointX>1</AnchorPointX>
          <AnchorPointY>0.5</AnchorPointY>
        </AnchorPoint>
        <Displacement>
          <DisplacementX>-6</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
           <CssParameter name="fill">#FFFFFF</CssParameter>
           <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>

<Rule>
  <Name>Rule BL</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
         <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>53</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>20000000</MinScaleDenominator>
  <MaxScaleDenominator>50000000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
         <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
         <CssParameter name="font-size">10</CssParameter>
    </Font>
    <LabelPlacement>
         <PointPlacement>
        <AnchorPoint>
           <AnchorPointX>1</AnchorPointX>
          <AnchorPointY>0.5</AnchorPointY>
        </AnchorPoint>
        <Displacement>
          <DisplacementX>-6</DisplacementX>
          <DisplacementY>-6</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
           <CssParameter name="fill">#FFFFFF</CssParameter>
           <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>

<Rule>
<Name>Rule BR</Name>
 <ogc:Filter>
<ogc:PropertyIsEqualTo>
   <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>52</ogc:Literal>
</ogc:PropertyIsEqualTo>
   </ogc:Filter>
<MinScaleDenominator>20000000</MinScaleDenominator>
  <MaxScaleDenominator>50000000</MaxScaleDenominator>
   <TextSymbolizer>
<Label>
   <ogc:PropertyName>name</ogc:PropertyName>
 </Label>
 <Font>
<CssParameter name="font-family">Free Sans</CssParameter>
<CssParameter name="font-style">Normal</CssParameter>
   <CssParameter name="font-size">10</CssParameter>
 </Font>
 <LabelPlacement>
   <PointPlacement>
  <Displacement>
<DisplacementX>4</DisplacementX>
<DisplacementY>-6</DisplacementY>
 </Displacement>

</PointPlacement>
</LabelPlacement>
<Halo>
 <Radius>
<ogc:Literal>2</ogc:Literal>
 </Radius>
 <Fill>
   <CssParameter name="fill">#FFFFFF</CssParameter>
   <CssParameter name="fill-opacity">0.6</CssParameter>  
 </Fill>
   </Halo>
 <Fill>
   <CssParameter name="fill">#000000</CssParameter>
 </Fill>
 <Priority>
 <ogc:PropertyName>population</ogc:PropertyName>
   </Priority>
   <VendorOption name="group">no</VendorOption>
   <VendorOption name="spaceAround">2</VendorOption>
</TextSymbolizer>
 <PointSymbolizer>
   <Graphic>
 <ExternalGraphic>
   <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
   <Format>image/svg+xml</Format>
 </ExternalGraphic>
 <Size><ogc:Literal>14</ogc:Literal></Size>
   </Graphic>
</PointSymbolizer>
 </Rule>
<!-- Level 3 (20M - 10M)
______________________________________________________ -->
 <Rule>
<Name>Rule UR</Name>
   <ogc:Filter>
 <ogc:PropertyIsEqualTo>
<ogc:PropertyName>scale_imp</ogc:PropertyName>
  <ogc:Literal>50</ogc:Literal>
 </ogc:PropertyIsEqualTo>
</ogc:Filter>
<MinScaleDenominator>10000000</MinScaleDenominator>
<MaxScaleDenominator>20000000</MaxScaleDenominator>
<TextSymbolizer>
 <Label>
<ogc:PropertyName>name</ogc:PropertyName>
   </Label>
   <Font>
<CssParameter name="font-family">Free Sans</CssParameter>
<CssParameter name="font-style">Normal</CssParameter>
<CssParameter name="font-size">10</CssParameter>
   </Font>
   <LabelPlacement>
<PointPlacement>
<Displacement>
 <DisplacementX>4</DisplacementX>
<DisplacementY>2</DisplacementY>
   </Displacement>
</PointPlacement>
 </LabelPlacement>
 <Halo>
   <Radius>
<ogc:Literal>2</ogc:Literal>
   </Radius>
   <Fill>
<CssParameter name="fill">#FFFFFF</CssParameter>
<CssParameter name="fill-opacity">0.6</CssParameter>  
   </Fill>
</Halo>
   <Fill>
<CssParameter name="fill">#000000</CssParameter>
   </Fill>
   <Priority>
   <ogc:PropertyName>population</ogc:PropertyName>
</Priority>
<VendorOption name="group">no</VendorOption>
<VendorOption name="spaceAround">2</VendorOption>
 </TextSymbolizer>
   <PointSymbolizer>
<Graphic>
   <ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
<Format>image/svg+xml</Format>
   </ExternalGraphic>
   <Size><ogc:Literal>14</ogc:Literal></Size>
</Graphic>
 </PointSymbolizer>
   </Rule>

<Rule>
  <Name>Rule UL</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>51</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>10000000</MinScaleDenominator>
  <MaxScaleDenominator>20000000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">10</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <AnchorPoint>
          <AnchorPointX>1</AnchorPointX>
          <AnchorPointY>0.5</AnchorPointY>
        </AnchorPoint>
        <Displacement>
          <DisplacementX>-6</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>

<Rule>
 <Name>Rule BL</Name>
<ogc:Filter>
   <ogc:PropertyIsEqualTo>
 <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>53</ogc:Literal>
   </ogc:PropertyIsEqualTo>
 </ogc:Filter>
<MinScaleDenominator>10000000</MinScaleDenominator>
<MaxScaleDenominator>20000000</MaxScaleDenominator>
 <TextSymbolizer>
   <Label>
 <ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
  <CssParameter name="font-family">Free Sans</CssParameter>
  <CssParameter name="font-style">Normal</CssParameter>
 <CssParameter name="font-size">10</CssParameter>
</Font>
<LabelPlacement>
 <PointPlacement>
   <AnchorPoint>
<AnchorPointX>
1
</AnchorPointX>
<AnchorPointY>
0.5
</AnchorPointY>
   </AnchorPoint>
<Displacement>
   <DisplacementX>-6</DisplacementX>
  <DisplacementY>-6</DisplacementY>
</Displacement>

 </PointPlacement>
   </LabelPlacement>
   <Halo>
<Radius>
  <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
 <CssParameter name="fill">#FFFFFF</CssParameter>
 <CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
 </Halo>
<Fill>
 <CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
 </Priority>
 <VendorOption name="group">no</VendorOption>
 <VendorOption name="spaceAround">2</VendorOption>
   </TextSymbolizer>
<PointSymbolizer>
 <Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
<Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
 </Graphic>
   </PointSymbolizer>
</Rule>

<Rule>
 <Name>Rule BR</Name>
<ogc:Filter>
   <ogc:PropertyIsEqualTo>
 <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>52</ogc:Literal>
   </ogc:PropertyIsEqualTo>
 </ogc:Filter>
<MinScaleDenominator>10000000</MinScaleDenominator>
<MaxScaleDenominator>20000000</MaxScaleDenominator>
 <TextSymbolizer>
   <Label>
 <ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
  <CssParameter name="font-family">Free Sans</CssParameter>
  <CssParameter name="font-style">Normal</CssParameter>
 <CssParameter name="font-size">10</CssParameter>
</Font>
<LabelPlacement>
 <PointPlacement>
<Displacement>
   <DisplacementX>4</DisplacementX>
  <DisplacementY>-6</DisplacementY>
</Displacement>

 </PointPlacement>
   </LabelPlacement>
   <Halo>
<Radius>
  <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
 <CssParameter name="fill">#FFFFFF</CssParameter>
 <CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
 </Halo>
<Fill>
 <CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
 </Priority>
 <VendorOption name="group">no</VendorOption>
 <VendorOption name="spaceAround">2</VendorOption>
   </TextSymbolizer>
<PointSymbolizer>
 <Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
<Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
 </Graphic>
   </PointSymbolizer>
</Rule>

<Rule>
 <Name>Rule UR</Name>
<ogc:Filter>
   <ogc:PropertyIsEqualTo>
<ogc:PropertyName>scale_imp</ogc:PropertyName>
   <ogc:Literal>30</ogc:Literal>
   </ogc:PropertyIsEqualTo>
 </ogc:Filter>
<MinScaleDenominator>10000000</MinScaleDenominator>
  <MaxScaleDenominator>20000000</MaxScaleDenominator>
 <TextSymbolizer>
   <Label>
<ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
 <CssParameter name="font-family">Free Sans</CssParameter>
 <CssParameter name="font-style">Normal</CssParameter>
<CssParameter name="font-size">9</CssParameter>
</Font>
<LabelPlacement>
<PointPlacement>
<Displacement>
   <DisplacementX>4</DisplacementX>
  <DisplacementY>2</DisplacementY>
</Displacement>
</PointPlacement>
   </LabelPlacement>
   <Halo>
<Radius>
 <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
<CssParameter name="fill">#FFFFFF</CssParameter>
<CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
 </Halo>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
 </Priority>
<VendorOption name="group">no</VendorOption>
<VendorOption name="spaceAround">2</VendorOption>
   </TextSymbolizer>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
<Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
</Graphic>
   </PointSymbolizer>
</Rule>

 <Rule>
   <Name>Rule UL</Name>
 <ogc:Filter>
<ogc:PropertyIsEqualTo>
  <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>31</ogc:Literal>
</ogc:PropertyIsEqualTo>
   </ogc:Filter>
  <MinScaleDenominator>10000000</MinScaleDenominator>
  <MaxScaleDenominator>20000000</MaxScaleDenominator>
   <TextSymbolizer>
<Label>
  <ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
   <CssParameter name="font-family">Free Sans</CssParameter>
   <CssParameter name="font-style">Normal</CssParameter>
  <CssParameter name="font-size">9</CssParameter>
</Font>
<LabelPlacement>
  <PointPlacement>
<AnchorPoint>
 <AnchorPointX>
 1
 </AnchorPointX>
 <AnchorPointY>
 0.5
 </AnchorPointY>
</AnchorPoint>
 <Displacement>
<DisplacementX>-6</DisplacementX>
<DisplacementY>2</DisplacementY>
</Displacement>

   </PointPlacement>
</LabelPlacement>
<Halo>
<Radius>
   <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
  <CssParameter name="fill">#FFFFFF</CssParameter>
  <CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
   </Halo>
<Fill>
  <CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
   </Priority>
  <VendorOption name="group">no</VendorOption>
  <VendorOption name="spaceAround">2</VendorOption>
</TextSymbolizer>
 <PointSymbolizer>
  <Graphic>
<ExternalGraphic>
  <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
  <Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
  </Graphic>
</PointSymbolizer>
 </Rule>

<Rule>
   <Name>Rule BL</Name>
 <ogc:Filter>
<ogc:PropertyIsEqualTo>
  <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>33</ogc:Literal>
</ogc:PropertyIsEqualTo>
   </ogc:Filter>
  <MinScaleDenominator>10000000</MinScaleDenominator>
  <MaxScaleDenominator>20000000</MaxScaleDenominator>
   <TextSymbolizer>
<Label>
  <ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
   <CssParameter name="font-family">Free Sans</CssParameter>
   <CssParameter name="font-style">Normal</CssParameter>
  <CssParameter name="font-size">9</CssParameter>
</Font>
<LabelPlacement>
  <PointPlacement>
<AnchorPoint>
 <AnchorPointX>1</AnchorPointX>
 <AnchorPointY>0.5</AnchorPointY>
</AnchorPoint>
 <Displacement>
<DisplacementX>-6</DisplacementX>
<DisplacementY>-6</DisplacementY>
</Displacement>
   </PointPlacement>
</LabelPlacement>
<Halo>
<Radius>
   <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
  <CssParameter name="fill">#FFFFFF</CssParameter>
  <CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
   </Halo>
<Fill>
  <CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
   </Priority>
  <VendorOption name="group">no</VendorOption>
  <VendorOption name="spaceAround">2</VendorOption>
</TextSymbolizer>
 <PointSymbolizer>
  <Graphic>
<ExternalGraphic>
  <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
  <Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
  </Graphic>
</PointSymbolizer>
 </Rule>
<Rule>
   <Name>Rule BR</Name>
 <ogc:Filter>
<ogc:PropertyIsEqualTo>
  <ogc:PropertyName>scale_imp</ogc:PropertyName>
<ogc:Literal>32</ogc:Literal>
</ogc:PropertyIsEqualTo>
   </ogc:Filter>
  <MinScaleDenominator>10000000</MinScaleDenominator>
  <MaxScaleDenominator>20000000</MaxScaleDenominator>
   <TextSymbolizer>
<Label>
  <ogc:PropertyName>name</ogc:PropertyName>
</Label>
<Font>
   <CssParameter name="font-family">Free Sans</CssParameter>
   <CssParameter name="font-style">Normal</CssParameter>
  <CssParameter name="font-size">9</CssParameter>
</Font>
<LabelPlacement>
  <PointPlacement>
 <Displacement>
<DisplacementX>4</DisplacementX>
<DisplacementY>-6</DisplacementY>
</Displacement>

   </PointPlacement>
</LabelPlacement>
<Halo>
<Radius>
   <ogc:Literal>2</ogc:Literal>
</Radius>
<Fill>
  <CssParameter name="fill">#FFFFFF</CssParameter>
  <CssParameter name="fill-opacity">0.6</CssParameter>  
</Fill>
   </Halo>
<Fill>
  <CssParameter name="fill">#000000</CssParameter>
</Fill>
<Priority>
<ogc:PropertyName>population</ogc:PropertyName>
   </Priority>
  <VendorOption name="group">no</VendorOption>
  <VendorOption name="spaceAround">2</VendorOption>
</TextSymbolizer>
 <PointSymbolizer>
  <Graphic>
<ExternalGraphic>
  <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
  <Format>image/svg+xml</Format>
</ExternalGraphic>
<Size><ogc:Literal>14</ogc:Literal></Size>
  </Graphic>
</PointSymbolizer>
 </Rule>

<!-- Level 4 (10M - 5M)
______________________________________________________ -->
<Rule>
	<Name>PP > 1M</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>9</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>5000000</MinScaleDenominator>
	<MaxScaleDenominator>10000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">11</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 250k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>9</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>5000000</MinScaleDenominator>
	<MaxScaleDenominator>10000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>9</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>5000000</MinScaleDenominator>
	<MaxScaleDenominator>10000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>9</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100001</ogc:Literal>
			</ogc:PropertyIsLessThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>5000000</MinScaleDenominator>
	<MaxScaleDenominator>10000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>

<!-- Level 5 
______________________________________________________ -->
<Rule>
	<Name>PP > 1M</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>7</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>2500000</MinScaleDenominator>
	<MaxScaleDenominator>5000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">11</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 250k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>7</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>2500000</MinScaleDenominator>
	<MaxScaleDenominator>5000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>7</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>2500000</MinScaleDenominator>
	<MaxScaleDenominator>5000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>7</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100001</ogc:Literal>
			</ogc:PropertyIsLessThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>2500000</MinScaleDenominator>
	<MaxScaleDenominator>5000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 7</Name>
	<ogc:Filter>

			<ogc:PropertyIsEqualTo>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>7</ogc:Literal>
			</ogc:PropertyIsEqualTo>
	</ogc:Filter>
	<MinScaleDenominator>2500000</MinScaleDenominator>
	<MaxScaleDenominator>5000000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>

<!-- Level 6 
______________________________________________________ -->
<Rule>
	<Name>PP > 1M</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>1500000</MinScaleDenominator>
	<MaxScaleDenominator>2500001</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">11</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 250k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>1500000</MinScaleDenominator>
	<MaxScaleDenominator>2500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>1500000</MinScaleDenominator>
	<MaxScaleDenominator>2500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100001</ogc:Literal>
			</ogc:PropertyIsLessThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>1500000</MinScaleDenominator>
	<MaxScaleDenominator>2500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 7</Name>
	<ogc:Filter>

			<ogc:PropertyIsEqualTo>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsEqualTo>
	</ogc:Filter>
	<MinScaleDenominator>1500000</MinScaleDenominator>
	<MaxScaleDenominator>2500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>

<!-- Level 7 
______________________________________________________ -->
<Rule>
	<Name>PP > 1M</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>800000</MinScaleDenominator>
	<MaxScaleDenominator>1500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">13</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 250k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>1000001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>800000</MinScaleDenominator>
	<MaxScaleDenominator>1500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">11</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP > 250k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>250001</ogc:Literal>
			</ogc:PropertyIsLessThan>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100000</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>800000</MinScaleDenominator>
	<MaxScaleDenominator>1500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 100k</Name>
	<ogc:Filter>
		<ogc:And>
			<ogc:PropertyIsGreaterThan>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsGreaterThan>
			<ogc:PropertyIsLessThan>
				<ogc:PropertyName>population</ogc:PropertyName>
				<ogc:Literal>100001</ogc:Literal>
			</ogc:PropertyIsLessThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>800000</MinScaleDenominator>
	<MaxScaleDenominator>1500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#000000</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<Rule>
	<Name>PP 5</Name>
	<ogc:Filter>

			<ogc:PropertyIsEqualTo>
				<ogc:PropertyName>scale_imp</ogc:PropertyName>
				<ogc:Literal>5</ogc:Literal>
			</ogc:PropertyIsEqualTo>
	</ogc:Filter>
	<MinScaleDenominator>800000</MinScaleDenominator>
	<MaxScaleDenominator>1500000</MaxScaleDenominator>
	<TextSymbolizer>
    	<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<Displacement>
					<DisplacementX>4</DisplacementX>
					<DisplacementY>2</DisplacementY>
				</Displacement>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius><ogc:Literal>2</ogc:Literal></Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill><CssParameter name="fill">#444444</CssParameter></Fill>
    	<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
    	</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
	<PointSymbolizer>
		<Graphic>
			<ExternalGraphic>
				<OnlineResource xlink:type="simple" xlink:href="town.svg"/>
				<Format>image/svg+xml</Format>
			</ExternalGraphic>
			<Size><ogc:Literal>14</ogc:Literal></Size>
		</Graphic>
	</PointSymbolizer>
</Rule>
<!-- Level 8 
______________________________________________________ -->
<Rule>
  <Name>Rule 20</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>20</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">14</CssParameter>
      <CssParameter name="font-weight">bold</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 10</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>10</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">12</CssParameter>
      <CssParameter name="font-weight">bold</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="capital1.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 8</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>8</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">11</CssParameter>
      <CssParameter name="font-weight">bold</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 7</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>7</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">10</CssParameter>
      <CssParameter name="font-weight">bold</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 6</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>6</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">9</CssParameter>
      <CssParameter name="font-weight">bold</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 4-5</Name>
  <ogc:Filter>
    <ogc:And>
      <ogc:PropertyIsLessThan>
        <ogc:PropertyName>scale_imp</ogc:PropertyName>
        <ogc:Literal>6</ogc:Literal>
      </ogc:PropertyIsLessThan>
      <ogc:PropertyIsGreaterThan>
        <ogc:PropertyName>scale_imp</ogc:PropertyName>
        <ogc:Literal>3</ogc:Literal>
      </ogc:PropertyIsGreaterThan>
    </ogc:And>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">9</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<Rule>
  <Name>Rule 3</Name>
  <ogc:Filter>
    <ogc:PropertyIsEqualTo>
      <ogc:PropertyName>scale_imp</ogc:PropertyName>
      <ogc:Literal>3</ogc:Literal>
    </ogc:PropertyIsEqualTo>
  </ogc:Filter>
  <MinScaleDenominator>400000</MinScaleDenominator>
  <MaxScaleDenominator>800000</MaxScaleDenominator>
  <TextSymbolizer>
    <Label>
      <ogc:PropertyName>name</ogc:PropertyName>
    </Label>
    <Font>
      <CssParameter name="font-family">Free Sans</CssParameter>
      <CssParameter name="font-style">Normal</CssParameter>
      <CssParameter name="font-size">9</CssParameter>
    </Font>
    <LabelPlacement>
      <PointPlacement>
        <Displacement>
          <DisplacementX>4</DisplacementX>
          <DisplacementY>2</DisplacementY>
        </Displacement>
      </PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
  <PointSymbolizer>
    <Graphic>
      <ExternalGraphic>
        <OnlineResource xlink:type="simple" xlink:href="town.svg"/>
        <Format>image/svg+xml</Format>
      </ExternalGraphic>
      <Size><ogc:Literal>14</ogc:Literal></Size>
    </Graphic>
  </PointSymbolizer>
</Rule>
<!-- Level 9 
______________________________________________________ -->
<Rule>
	<Name>Rule 29</Name>
	<ogc:Filter>
		<ogc:PropertyIsGreaterThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>7</ogc:Literal>
    	</ogc:PropertyIsGreaterThan>
	</ogc:Filter>
	<MinScaleDenominator>50000</MinScaleDenominator>
	<MaxScaleDenominator>400000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">12</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<AnchorPoint>
					<AnchorPointX>0.5</AnchorPointX>
					<AnchorPointY>0.5</AnchorPointY>
				</AnchorPoint>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius>
				<ogc:Literal>2</ogc:Literal>
			</Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill>
			<CssParameter name="fill">#000000</CssParameter>
		</Fill>
		<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
		</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
</Rule>
<Rule>
	<Name>Rule 7</Name>
	<ogc:Filter>
		<ogc:PropertyIsEqualTo>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>7</ogc:Literal>
		</ogc:PropertyIsEqualTo>
	</ogc:Filter>
	<MinScaleDenominator>50000</MinScaleDenominator>
	<MaxScaleDenominator>400000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<AnchorPoint>
					<AnchorPointX>0.5</AnchorPointX>
					<AnchorPointY>0.5</AnchorPointY>
				</AnchorPoint>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius>
				<ogc:Literal>2</ogc:Literal>
			</Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill>
			<CssParameter name="fill">#000000</CssParameter>
		</Fill>
		<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
		</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
</Rule>
<Rule>
	<Name>Rule 4-6</Name>
	<ogc:Filter>
		<ogc:And>
		<ogc:PropertyIsLessThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>7</ogc:Literal>
		</ogc:PropertyIsLessThan>
		<ogc:PropertyIsGreaterThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>3</ogc:Literal>
		</ogc:PropertyIsGreaterThan>
		</ogc:And>
	</ogc:Filter>
	<MinScaleDenominator>50000</MinScaleDenominator>
	<MaxScaleDenominator>400000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">10</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
    <LabelPlacement>
          <PointPlacement>
  		<AnchorPoint>
     		<AnchorPointX>0.5</AnchorPointX>
     		<AnchorPointY>0.5</AnchorPointY>
  		</AnchorPoint>
	</PointPlacement>
    </LabelPlacement>
    <Halo>
      <Radius>
        <ogc:Literal>2</ogc:Literal>
      </Radius>
      <Fill>
        <CssParameter name="fill">#FFFFFF</CssParameter>
        <CssParameter name="fill-opacity">0.6</CssParameter>  
      </Fill>
    </Halo>
    <Fill>
      <CssParameter name="fill">#000000</CssParameter>
    </Fill>
    <Priority>
      <ogc:PropertyName>population</ogc:PropertyName>
    </Priority>
    <VendorOption name="spaceAround">2</VendorOption>
    <VendorOption name="autoWrap">140</VendorOption>
<VendorOption name="maxDisplacement">10</VendorOption>
  </TextSymbolizer>
</Rule>
<Rule>
	<Name>Rule 1-2-3</Name>
	<ogc:Filter>
		<ogc:PropertyIsLessThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>4</ogc:Literal>
		</ogc:PropertyIsLessThan>
	</ogc:Filter>
	<MinScaleDenominator>50000</MinScaleDenominator>
	<MaxScaleDenominator>400000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">9</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<AnchorPoint>
					<AnchorPointX>0.5</AnchorPointX>
					<AnchorPointY>0.5</AnchorPointY>
				</AnchorPoint>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius>
				<ogc:Literal>2</ogc:Literal>
			</Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill>
			<CssParameter name="fill">#000000</CssParameter>
		</Fill>
		<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
		</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
</Rule>

<!-- Level 50k 
______________________________________________________ -->

<Rule>
	<Name>Rule Big Town</Name>
	<ogc:Filter>
		<ogc:PropertyIsGreaterThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>3</ogc:Literal>
		</ogc:PropertyIsGreaterThan>
	</ogc:Filter>
	<MaxScaleDenominator>50000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">12</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<AnchorPoint>
					<AnchorPointX>0.5</AnchorPointX>
					<AnchorPointY>0.5</AnchorPointY>
				</AnchorPoint>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius>
				<ogc:Literal>2</ogc:Literal>
			</Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill>
			<CssParameter name="fill">#000000</CssParameter>
		</Fill>
		<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
		</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
</Rule>
<Rule>
	<Name>Rule Small Town</Name>
	<ogc:Filter>
		<ogc:PropertyIsLessThan>
			<ogc:PropertyName>scale_imp</ogc:PropertyName>
			<ogc:Literal>4</ogc:Literal>
		</ogc:PropertyIsLessThan>
	</ogc:Filter>
	<MaxScaleDenominator>50000</MaxScaleDenominator>
	<TextSymbolizer>
		<Label>
			<ogc:PropertyName>name</ogc:PropertyName>
		</Label>
		<Font>
			<CssParameter name="font-family">Free Sans</CssParameter>
			<CssParameter name="font-style">Normal</CssParameter>
			<CssParameter name="font-size">11</CssParameter>
			<CssParameter name="font-weight">bold</CssParameter>
		</Font>
		<LabelPlacement>
			<PointPlacement>
				<AnchorPoint>
					<AnchorPointX>0.5</AnchorPointX>
					<AnchorPointY>0.5</AnchorPointY>
				</AnchorPoint>
			</PointPlacement>
		</LabelPlacement>
		<Halo>
			<Radius>
				<ogc:Literal>2</ogc:Literal>
			</Radius>
			<Fill>
				<CssParameter name="fill">#FFFFFF</CssParameter>
				<CssParameter name="fill-opacity">0.6</CssParameter>  
			</Fill>
		</Halo>
		<Fill>
			<CssParameter name="fill">#000000</CssParameter>
		</Fill>
		<Priority>
			<ogc:PropertyName>population</ogc:PropertyName>
		</Priority>
		<VendorOption name="spaceAround">2</VendorOption>
		<VendorOption name="autoWrap">140</VendorOption>
		<VendorOption name="maxDisplacement">10</VendorOption>
	</TextSymbolizer>
</Rule>



</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>