[OpenLayers-Users] Mapserver projection problem
kobben at itc.nl
Tue Mar 13 08:30:50 EDT 2012
Since OSM can only be delivered in its native projection (spherical or
"google" mercator, EPSG:900913 or preferably EPSG:3857), all the other
data should be requested in that SRS too, including the BBOX that should
therefore be in meters...
E.g. something like this is the maximum extents of the spherical mercator :
-20037508, -20037508, 20037508, 20037508
Senior Lecturer, ITC - University of Twente,
Faculty of Geo-Information Science and Earth Observation
PO Box 217, 7500AE Enschede (The Netherlands)
+31-(0)53 4874 253
On 13-03-12 00:56, "jterstriep" <jterstriep at gmail.com> wrote:
>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
>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.
>The BBOX looks suspicious but I'm not sure.
>My mapfile starts with the following:
> "wms_title" "mymap"
> "wms_srs" "EPSG:900913 EPSG:4326"
> NAME "VectorMap"
> SIZE 600 400
> EXTENT -91.384426 37.96600 -89.104200 39.285340
> UNITS dd
> IMAGETYPE png
>Any advice would be appreciated.
>View this message in context:
>Sent from the OpenLayers Users mailing list archive at Nabble.com.
>Users mailing list
>Users at lists.osgeo.org
Faculty of Geo-Information Science and Earth Observation (ITC)
University of Twente
Chamber of Commerce: 501305360000
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.
More information about the Users