<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hello!<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I’m trying to accomplish something and I was hoping someone
could assist me on this.  Basically I have created an isometric 3d render
of the floor plan of my company’s building. I would like to make a map
with multiple layers on which users can identify key points, like the big
conference rooms and bathrooms, etc.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I have this openlayers map set up here - <a
href="http://gtproductions.net/solidworks/TileCache-2.0/">http://gtproductions.net/solidworks/TileCache-2.0/</a><o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I would like to make it so that I can split the 4096 x 4096
png (rendered out from a 3d package) into small blocks so that the map
doesn’t have to load all the images at once.  <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I was reading here: <a
href="http://wiki.openstreetmap.org/index.php/Deploying_your_own_Slippy_Map">http://wiki.openstreetmap.org/index.php/Deploying_your_own_Slippy_Map</a>
that you can use mapnik to do this, but I’m having trouble doing it. I am
using Windows XP and have tried going through the <b>“Creating tiles
using Mapnik and generate_tiles.py” </b>section but am getting stuck.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I installed postgreSQL and PostGIS in windows using their
installers and have set up databases. I’m not sure if they’re
working because I can’t get a test started. One line says “When
everything works, use generate_tiles.py to create 1000s of tiles in a special
hierarchy of folders” but it is very vague and I keep getting errors in
my generate_tiles.py , for example this one: <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>C:\mapnik-0_5_1\demo\python>c:\Python25\python.exe
generate_tiles.py<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>Traceback
(most recent call last):<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> 
File "generate_tiles.py", line 108, in <module><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>   
home = os.environ['C:/map']<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'> 
File "C:\Python25\lib\os.py", line 435, in __getitem__<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>   
return self.data[key.upper()]<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>KeyError:
'C:/MAP'<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I have tried using C:\map and C:/map and there are basically
no tutorials on how to get this thing going in Windows.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I won’t lie, I’m an artist and not a programmer
at all, so this is all pretty daunting to me. I would like to just get this
thing up and running, but would like some advice on how to go about it. I have
looked into tilecache, openlayers, mapnik, and have gotten mapnik to build and
run on this windows machine here, but am stuck on how to make it split my image
up.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>If you can offer any assistance or hand-holding, I would
greatly appreciate it.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>-Alex<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>