<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>From my General
Questions Thread....</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>> How are your tiles generated now? If you can
generate them</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial>> according to TMS</FONT> </FONT></DIV>
<DIV><FONT face=Arial size=2>> </FONT><A
href="http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification"><U><FONT
color=#0000ff size=2><FONT
face=Arial>http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification</FONT></U></FONT></A></DIV>
<DIV><FONT face=Arial size=2>> you can use the TMS layer with OL
2.3.</FONT></DIV>
<DIV><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>Using this, I
created the XML document vmap0 as follows...</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2><?xml
version="1.0" encoding="UTF-8" ?> <BR> <TileMap
version="1.0.0" tilemapservice="<A
href="http://localhost/Avalon/Map">http://localhost/Avalon/Map</A>"><BR>
<Title>VMAP0 Avalon World Map</Title><BR>
<Abstract>A map of the Metaphaze Avalon World</Abstract><BR> |
<KeywordList></KeywordList><BR> | <Metadata type="TC211"
mime-type="text/xml" href="<A href="http://www.org">http://www.org</A>"
/><BR> | <Attribution><BR> | <Title>A
Castlewrks Production</Title><BR> | <Logo width="10"
height="10" href="<A
href="http://localhost/Avalon/images/castlewrks.gif">http://localhost/Avalon/images/castlewrks.gif</A>"
mime-type="image/gif" /><BR> | </Attribution><BR> |
<WebMapContext href="<A href="http://wms.org">http://wms.org</A>"
/><BR> | <Face>0</Face><BR>
<SRS>EPSG:4326</SRS><BR> <BoundingBox minx="-180"
miny="-90" maxx="180" maxy="90" /><BR> <Origin x="-180"
y="-180" /> <BR> <TileFormat width="256" height="256"
mime-type="image/jpeg" extension="jpg" /><BR> <TileSets
profile=global-geodetic"><BR> <TileSet href="<A
href="http://localhost/Avalon/Map/vmap0/0">http://localhost/Avalon/Map/vmap0/0</A>"
units-per-pixel="0.703125" order="0" /><BR>
<TileSet href="<A
href="http://localhost/Avalon/Map/vmap0/1">http://localhost/Avalon/Map/vmap0/1</A>"
units-per-pixel="0.3515625" order="1" /><BR>
<TileSet href="<A
href="http://localhost/Avalon/Map/vmap0/2">http://localhost/Avalon/Map/vmap0/2</A>"
units-per-pixel="0.17578125" order="2" /><BR>
<TileSet href="<A
href="http://localhost/Avalon/Map/vmap0/3">http://localhost/Avalon/Map/vmap0/3</A>"
units-per-pixel="0.08789063" order="3" /><BR>
</TileSets><BR> </TileMap></FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>My layer definition
in the map html is:</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><PRE id=line1> var tlayer = new OpenLayers.Layer.TMS( "OpenLayers TMS",
"http://localhost/Avalon/Map/vmap0", {layers: 'basic'});
</SPAN></PRE></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>The directory
structure where the graphics are:</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2>/Avalon/Map/vmap01.0.0/levelzero/0/0/0.jpg</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2>/Avalon/Map/vmap01.0.0/levelzero/0/0/1.jpg</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>What is interesting
is when I open this layer in my document, I get one tile of a no-graphic. The no
graphic has properties for the following...</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2><A
href="http://localhost/Avalon/Map/vmap01.0.0/undefined/0/0/0.undefined">http://localhost/Avalon/Map/vmap01.0.0/undefined/0/0/0.undefined</A></FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>Zooming one level
gives two tiles with property of...</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2><A
href="http://localhost/Avalon/Map/vmap01.0.0/undefined/1/0/0.undefined">http://localhost/Avalon/Map/vmap01.0.0/undefined/1/0/0.undefined</A></FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2><A
href="http://localhost/Avalon/Map/vmap01.0.0/undefined/1/1/0.undefined">http://localhost/Avalon/Map/vmap01.0.0/undefined/1/1/0.undefined</A></FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial
size=2>Questions:</FONT></SPAN></DIV>
<DIV><SPAN class=625260301-23022007><FONT face=Arial size=2>How do I eliminate
the "undefined" from the tile paths? I.e. How do I get this to work?
All the tile setups that I can find on the web are not using this directory
structure.</FONT></SPAN></DIV></BODY></HTML>