[mapserver-users] Mapserver for indoor maps

Robert Sanson SansonR at asurequality.com
Tue Mar 23 19:55:07 EDT 2010


Hi Benjamin
 
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.
 
the Map file and OpenLayers will have to know the extents of your floor in your coordinate system.
 
regards,
 
Robert

>>> "Benjamin V." <ml at operation-damocles.net> 21/03/2010 1:24 a.m. >>>
Hello there,

I'm currently involved in a project where I used the OpenLayers
framework to display a set of wireless nodes (as features) on a google
maps layer. What I'm trying to achieve now is to do the same for an
indoor testbed where I only have a "map" of the floor as a raster image
(png). I want to serve this through mapserver using an arbitrary extent
(I don't care much about meaningful lon/lat-values) on a single layer
which I then want to integrate using an OpenLayers.Layer.MapServer
I've been looking through a lot of tutorials to get an idea of how to
place a raster image somewhere on a layer but couldn't find any solution
that does what I need. Basically, starting off with something like this
in a map file - what would I have to add to achieve what I had in mind:
MAP
...
  LAYER
        NAME indoor
        TYPE RASTER
        DATA indoor_map.png
        STATUS DEFAULT
...
  END
...
END

Best regards,

Benjamin Vahl
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapserver-users 

------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100324/c64fa2ed/attachment.html


More information about the mapserver-users mailing list