[OpenLayers-Users] Mapserver projection problem

jterstriep jterstriep at gmail.com
Mon Mar 12 19:56:24 EDT 2012


I'm having problems overlaying a mapserver layer (currently using a WMS
layer) on an OSM base layer.  I finally got the both maps to display but the
overlay can only be seen at the max extents (of course it's very small at
the scale) but then as soon as I zoom in the image disappears. 

This is the request being generated for the overlay image. 

cgi-bin/mapserv?MAP=transportation%2Fte-2010-loaded_new%2Fleam.s_TEroads.map&TRANSPARENT=true&FORMAT=image%2Fpng&LAYERS=final4&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=-10018934.17,-90,-179.99999999627,10018664.17&WIDTH=256&HEIGHT=256

The BBOX looks suspicious but I'm not sure.

My mapfile starts with the following:
 MAP
    web
       metadata
         "wms_title" "mymap"
         "wms_srs" "EPSG:900913 EPSG:4326"
       end
    end

      NAME "VectorMap"
        SIZE 600 400
        EXTENT -91.384426 37.96600 -89.104200 39.285340
        UNITS  dd
        IMAGETYPE png
        PROJECTION
        "init=epsg:4326"
        END

Any advice would be appreciated.

Jeff


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Mapserver-projection-problem-tp4572286p4572286.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list