[Tilecache] KML SuperOverlays and Greenwich
Gabriel Landais
gabriel.landais at gmail.com
Tue Sep 9 18:01:02 EDT 2008
Hi,
I still have troubles with SuperOverlays. I just reinstalled
tilecache on a fresh Lenny with tilecache available package (thanks
Christofer for that one).
However, if I display
http://server/cgi-bin/tilecache.cgi/1.0.0/basic/0/0/0.kml I get the
following : http://picasaweb.google.com/gabriel.landais/Captures#5244144042479808338
And KML source code is attached. It looks like there's 180° of
longitude missing somewhere :)
I still don't know how to fix it :)
Cheers
Gabriel
On Thu, Aug 21, 2008 at 21:15, Gabriel Landais
<gabriel.landais at gmail.com> wrote:
> Hi,
> I'm Gabriel, a GIS fan and TileCache is a really cool tool for my
> purpose. When I tried KML I came across a problem that looks like a
> bug.
> My layer in tilecache.cfg :
>
> [SCAN25KML]
> type=WMS
> layers=SCAN25,SCAN250_IGN
> bbox=-1,47,5,48
> url=http://...
> extension=png
>
> The "tiles/SCAN25KML/0/0/0.kml" :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://earth.google.com/kml/2.1">
>
> <Document>
> <Region>
> <Lod>
> <minLodPixels>256</minLodPixels><maxLodPixels>512</maxLodPixels>
> </Lod>
> <LatLonAltBox>
> <north>48.0</north><south>47.0</south>
> <east>0.0</east><west>-1.0</west>
> </LatLonAltBox>
> </Region>
> [...]
>
> My region east is maxed to 0, the four tiles split well that region,
> but not up to lon 5° :(
> I've tried to understand where it could come from, without success in fact :)
>
> Cheers
> Gabriel
>
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
<Region>
<Lod>
<minLodPixels>200</minLodPixels><maxLodPixels>512</maxLodPixels>
</Lod>
<LatLonAltBox>
<north>90.0</north><south>-90.0</south>
<east>0.0</east><west>-180.0</west>
</LatLonAltBox>
</Region>
<GroundOverlay>
<drawOrder>0</drawOrder>
<Icon>
<href>http://server/cgi-bin/tilecache.cgi/1.0.0/basic/0/0/0</href>
</Icon>
<LatLonBox>
<north>90.0</north><south>-90.0</south>
<east>0.0</east><west>-180.0</west>
</LatLonBox>
</GroundOverlay>
<NetworkLink>
<name>tile</name>
<Region>
<Lod>
<minLodPixels>300</minLodPixels><maxLodPixels>-1</maxLodPixels>
</Lod>
<LatLonAltBox>
<north>0.0</north><south>-90.0</south>
<east>-90.0</east><west>-180.0</west>
</LatLonAltBox>
</Region>
<Link>
<href>http://server/cgi-bin/tilecache.cgi/1.0.0/basic/1/0/0.kml</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
</NetworkLink>
<NetworkLink>
<name>tile</name>
<Region>
<Lod>
<minLodPixels>300</minLodPixels><maxLodPixels>-1</maxLodPixels>
</Lod>
<LatLonAltBox>
<north>0.0</north><south>-90.0</south>
<east>0.0</east><west>-90.0</west>
</LatLonAltBox>
</Region>
<Link>
<href>http://server/cgi-bin/tilecache.cgi/1.0.0/basic/1/1/0.kml</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
</NetworkLink>
<NetworkLink>
<name>tile</name>
<Region>
<Lod>
<minLodPixels>300</minLodPixels><maxLodPixels>-1</maxLodPixels>
</Lod>
<LatLonAltBox>
<north>90.0</north><south>0.0</south>
<east>0.0</east><west>-90.0</west>
</LatLonAltBox>
</Region>
<Link>
<href>http://server/cgi-bin/tilecache.cgi/1.0.0/basic/1/1/1.kml</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
</NetworkLink>
<NetworkLink>
<name>tile</name>
<Region>
<Lod>
<minLodPixels>300</minLodPixels><maxLodPixels>-1</maxLodPixels>
</Lod>
<LatLonAltBox>
<north>90.0</north><south>0.0</south>
<east>-90.0</east><west>-180.0</west>
</LatLonAltBox>
</Region>
<Link>
<href>http://server/cgi-bin/tilecache.cgi/1.0.0/basic/1/0/1.kml</href>
<viewRefreshMode>onRegion</viewRefreshMode>
</Link>
</NetworkLink>
</Document></kml>
More information about the Tilecache
mailing list