[mapserver-users] Mapfile with different CRS

Rahkonen Jukka jukka.rahkonen at mmmtike.fi
Sun Mar 10 14:03:52 PDT 2013


Hi,

Server URL for GetCapabilities is http://geoposer.com:443/server/services/osm.xml?service=WMS=version=1.1.1&request=GetCapabilities

If you check the response you will see that the GetMap URL is
http://data1.geoposer.com:443/server/services/request.php?jname=/wms.img

Use that as your CONNECTION and you should be OK.
I see that you create your mapfiles with QGis Mapfile export plugin. It does not create totally valid mapfiles but this layer works for me.

-Jukka Rahkonen-

________________________________
ALT SHN wrote:

> Hello users,

> I have a this mapfile wich  under the "MAP" section has epsg:3763 has the general CRS.
> I'm trying to add a WMS server containing OSM data. This WMS delivers the data in WGS84. So, under >"Layers" section I added this:

   LAYER
    NAME 'Open Street Map'
    TYPE RASTER
    DUMP true
    TEMPLATE fooOnlyForWMSGetFeatureInfo
EXTENT -9.827190 38.978798 -8.728572 39.676104
    CONNECTIONTYPE WMS
    CONNECTION 'http://geoposer.com:443/server/services/osm.xml'
    METADATA
      'ows_name' 'osm'
      'wms_server_version' '1.1.1'
      'ows_srs' 'EPSG:4326'
      'wms_format' 'image/jpeg'
      'wms_style' ''
    END
    METADATA
      'ows_title' 'osm'
    END
    STATUS OFF
    TRANSPARENCY 100
    PROJECTION
"init=epsg:4326"
    END
  END

However, the layer simply does not shows. I'm kinda lost here. Any Idea Why this might be happening?

Thank you,


--
---------------------------------------------------------------
Associação Leonel Trindade
SOCIEDADE DE HISTÓRIA NATURAL

Apartado 25 2564-909 Torres Vedras Portugal
Sede e Biblioteca: rua Cavaleiros da Espora Dourada, 27A 2560 Torres Vedras

Laboratório de Paleontologia e Paleoecologia: Polígono Industrial do Alto do Ameal 2565-641 Ramalhal
http://alt-shn.blogspot.com
www.alt-shn.org<http://www.alt-shn.org>



More information about the MapServer-users mailing list