[OpenLayers-Users] Switching between a Google/Bing base layer to WMS base layer...

David Fawcett david.fawcett at gmail.com
Wed Aug 18 10:08:14 EDT 2010


Paul,

I don't think that it matters for this case, but I think that you want
to drop the '+' sign from your MAP level projection block.

Do you have a projection block for your layer?  That is definitely required.

David.

On Wed, Aug 18, 2010 at 9:00 AM, Paul james <pauljame at gmail.com> wrote:
> Yes, My proj.4 has EPSG:900913...
>
> My mapfile:
>
> MAP
> ...
>   PROJECTION
>          "+init=epsg:4326"
>   END
>
>   WEB
>         IMAGEPATH '...'
>         IMAGEURL '...'
>
>         METADATA
>             "wms_title"     "WMS Server"
>             "wms_onlineresource" "..."
>             "wms_srs"       "EPSG:4326  EPSG:900913 EPSG:3857"
>             "wms_feature_info_mime_type" "text/html"
>             "labelcache_map_edge_buffer"    "-10"
>         END
>     END
> ...
>
> LAYER
>         NAME TestBase
>         METADATA
>             "wms_srs"       "EPSG:900913"
>             "wms_title"    "TestBase"
>             "wms_feature_info_mime_type" "text/html"
>         END
>
>
> Thanks
>
> Paul
>
>



More information about the Users mailing list