<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>Hi Benjamin</DIV>
<DIV>&nbsp;</DIV>
<DIV>You need to establish some coordinate reference system to use. Could be metres, starting with 0,0 in the south-west corner of your floor. The raster should haev a world file associated with it (with a .pgw extension) that establishes the location of the centre of the top left (north west) pixel.</DIV>
<DIV>&nbsp;</DIV>
<DIV>the Map file and OpenLayers will have to know the extents of your floor in your coordinate system.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert<BR><BR>&gt;&gt;&gt; "Benjamin V." &lt;ml@operation-damocles.net&gt; 21/03/2010 1:24 a.m. &gt;&gt;&gt;<BR>Hello there,<BR><BR>I'm currently involved in a project where I used the OpenLayers<BR>framework to display a set of wireless nodes (as features) on a google<BR>maps layer. What I'm trying to achieve now is to do the same for an<BR>indoor testbed where I only have a "map" of the floor as a raster image<BR>(png). I want to serve this through mapserver using an arbitrary extent<BR>(I don't care much about meaningful lon/lat-values) on a single layer<BR>which I then want to integrate using an OpenLayers.Layer.MapServer<BR>I've been looking through a lot of tutorials to get an idea of how to<BR>place a raster image somewhere on a layer but couldn't find any solution<BR>that does what I need. Basically, starting off with something like this<BR>in a map file - what would I have to add to achieve what I had in mind:<BR>MAP<BR>...<BR>&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME indoor<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA indoor_map.png<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS DEFAULT<BR>...<BR>&nbsp; END<BR>...<BR>END<BR><BR>Best regards,<BR><BR>Benjamin Vahl<BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>