From Salmon Salvo

This demo shows a pre-generated pyramid of tiles overlayed on Microsoft Virtual Earth. The pyramid was generated by cumberland. It is comprised of 9,989 tiles from zoom level 1 to 12. The points represent septic tank locations as monitored by the Florida Department of Environmental Protection (FDEP) (data is from fgdl).

There are 691,826 sites in this data, and is a good example of when to use tiles as you would not want to load all these points into the browser via the map control API.

[edit] Map Xml

The following is the map xml used to render the tiles:

 
<?xml version="1.0" encoding="utf-8" ?>
<Map xmlns="http://salmonsalvo.net/cumberland">
  <Extents xmlns="">57969.26953125,62867.66796875,793737.0625,781514.6875</Extents>
  <Projection xmlns="">+init=epsg:3087</Projection>
  <Layers xmlns="">
    <Layer>
      <Projection>+init=epsg:3087</Projection>
      <Data sourceType="Cumberland.Data.IDatabaseFeatureSource"
            sourceInstance="Cumberland.Data.PostGIS.PostGISFeatureSource">
        <ConnectionString>Server=192.168.1.102;Port=5432;User Id=pguser;Password=pgpublic;Database=florida;</ConnectionString>
        <TableName>septic_jun07</TableName>
      </Data>
      <Styles>
        <Style>
          <Id>Default</Id>
          <PointSize>4</PointSize>
          <PointSymbolShape>Circle</PointSymbolShape>
          <FillColor>255,255,200,200</FillColor>
          <LineColor>255,255,0,0</LineColor>
        </Style>
      </Styles>
    </Layer>
  </Layers>
</Map>
 
Log in / create account
GNU Free Documentation License 1.2 Powered by MediaWiki

Salmon Salvo Home