< MapGenerator class="mycompany.map.MapGeneratorExtension" >
    < Description >Die aktuellen Messdaten für PM10 in Hamburg als stündlich gleitende 24-Stunden-Mittelwerte< /Description >
	< !-- http://www.hamburger-luft.de/index.jsp -- >
	< Matrixes rows="448" columns="488" cellSize="89" >
    	< CartesianGeoPosition id="leftBottomCorner" x='3545700' y='5917500'/ >
    	
    	< ComputedMatrix id="pollution" >
			< DataValues class="idea.map.data.DataValuesFromXmlFile" fileName="./inputdata/hamburg_pm10.xml"/ >
			< Interpolator class="idea.map.interpolator.NoopInterpolator" stations="12" beta="2" maximumDistance="10000" timeout="60"/ >
		< /ComputedMatrix >
    	
    < /Matrixes >

    < Renderer class="idea.map.renderer.GeoImageMapRenderer" matrix="pollution" renderBackground="false" >
        < ColorScale class="idea.map.colorscale.StandardListColorScale" text="Concentration" unit="µg/m³" >
            < ColorForValueRange name="Good" color="#00EE00" valueFrom="0" valueTo="15" seq="1" / >
            < ColorForValueRange name="Fair" color="#03BD03" valueFrom="15" valueTo="30" seq="2"/ >
            < ColorForValueRange name="Moderate" color="#FFE721" valueFrom="30" valueTo="50" seq="3"/ >
            < ColorForValueRange name="Wrong" color="#FA7600" valueFrom="50" valueTo="70" seq="4"/ >
            < ColorForValueRange name="Poor" color="#FF0000" valueFrom="70" valueTo="150" seq="5"/ >
            < ColorForValueRange name="Very poor" color="#FF00FF" valueFrom="150" seq="6"/ >
        < /ColorScale >
        
        < GeographicMap scale="89.74" >
            < CartesianGeoPosition id="leftBottomCorner" x='3545700' y='5917500'/ >
            < CartesianDimension id="dimension" width="488" height="448"/ >
            
            < HtmlImageMap name="tooltipMap" >
            	< HtmlImageMapItems class="idea.graphics.map.HtmlImageMapItemsFromInputDataValues" matrix="pollution" type="square" size="6"/ >
            < /HtmlImageMap >
            
            < Shape class="idea.graphics.shapes.simple.Image" fileName="./geodata/hamburg_map.jpg" rendered="false" >
				< CartesianPosition id="position" x="0" y="0"/ >
			< /Shape >
            
            < Shape class="mycompany.graphics.shapes.complex.Hamburg" drawColor="#000000" rendered="true"/ >
                         
            < Shape class="idea.graphics.shapes.simple.Rectangle" drawColor="#FFFFFF" fillColor="#FFFFFF" lineWidth="0" rendered="true" >
				< CartesianPosition id="position" x="280" y="0"/ >
				< CartesianDimension id="dimension" width="208" height="100"/ >
			< /Shape >             
                         
            < Shape class="idea.graphics.shapes.complex.ListColorScaleLegend" frame="false" mainLabelFont="Lucida Sans Unicode-BOLD-13" itemLabelsFont="Monospaced-PLAIN-12" >
                < CartesianGeoPosition id="position" x="3571156" y="5957200"/ >
                < CartesianGeoDimension id="dimension" width="120000" height="80000"/ >
                < CartesianDimension id="itemRectangleDimension" width="20" height="10"/ >
                < CartesianOffset id="labelOffset" x="3" y="15"/ >
                < CartesianOffset id="itemsOffset" x="3" y="20"/ >
                < CartesianOffset id="itemRangesOffset" x="22" y="10"/ >
                < CartesianOffset id="itemNamesOffset" x="130" y="10"/ >
            < /Shape >
            
            < Shape class="idea.graphics.shapes.simple.Text" drawColor="#000000" text="Feinstaub-PM10" font="Lucida Sans Unicode-BOLD-18" >
				< CartesianPosition id="position" x="5" y="20"/ >
			< /Shape >
			< Shape class="idea.graphics.shapes.simple.Text" drawColor="#000000" text="24-h-Wert" font="Lucida Sans Unicode-BOLD-18" >
				< CartesianPosition id="position" x="5" y="40"/ >
			< /Shape >
			< Shape class="idea.graphics.shapes.simple.Text" drawColor="#000000" text="29.01.2008	" font="Lucida Sans Unicode-BOLD-18" >
				< CartesianPosition id="position" x="5" y="60"/ >
			< /Shape >

                                    
            < Shape class="idea.graphics.shapes.simple.Text" drawColor="#0000FF" text="Map Generator, © IDEA-ENVI s.r.o." font="Lucida Sans Unicode-PLAIN-12"  >
            	< CartesianGeoPosition id="position" x='3520000' y='5376000'/ >
            < /Shape >
            
                
            < Shape class="idea.graphics.shapes.complex.Stations" rendered="true" matrix="pollution" type="square" stationNames="true"/ >
			
			< Shape class="idea.graphics.shapes.simple.Text" drawColor="#7FF0F000" text="S A M P L E" font="Lucida Sans Unicode-BOLD-80" >
            	< CartesianPosition id="position" x='20' y='330'/ >
            < /Shape > 
        < /GeographicMap >
        
    < /Renderer >

	< MapWriters >
		< MapWriter class="idea.map.writer.MapWriterToFile" path="output" fileName="hamburg_pm10.png"/ >
    	< MapWriter class="idea.map.writer.MapWriterToHtmlFile" wzTooltipFileName="wz_tooltip.js" path="output" fileName="hamburg_pm10.html" imageFileName="hamburg_pm10.png"/ >
    	< MapWriter class="idea.map.writer.ImageMapWriterToCanvas"/ >
    < /MapWriters >
    
< /MapGenerator >