I am trying to set up a wms server using point data in a postgis (v 1.5.1, pgsql v 8.4) database and mapserver (v 1.5.1) (I know these are not the most current versions of anything, but my server is running debian stable, if neccesary, I'll upgrade them).

The data is a global data set, so the points are stored in lat/lon as postgis geography data type. I manage to display the data (using either arcmap 10 or Qgis 1.8 or directly in a web server) in lat,lon, but I would like to be able to serve the data in other projections as well. I have tried to set up LAEA north pole (EPSG 3408) as well. In the GetCapabilities, I get a part like this:

    <BoundingBox CRS="EPSG:4326" minx="-50" miny="-50" maxx="90" maxy="90" /> 

I.e my two projections are listed, but I only get the bounding box for the original projection. SHould I also get the other one?

As far as I can see from the instructions I can find, I just need to list the projections I want to use in wms_srs in the METADATA section - in the layer, in the MAP or both places (I've put it both places, but I've also tried it in just the layer or MAP, with the same result)

  • What specific mapserver product are you trying to configure? This doesn't look like a mapfile from the OSGEO MapServer project.
    – DavidF
    Oct 12, 2012 at 2:30
  • What is shown is a part of what is returned from a GetCapabilities query - not the mapfile... Oct 23, 2012 at 8:29
  • It is still not clear to me what 'MapServer' product you are using. I am assuming that you have a typo above and that you are running MapServer 6.x, not 1.5.1. Correct?
    – DavidF
    Oct 23, 2012 at 17:17
  • I am using the OSgeo mapserver (mapserver.org) and, of cource the version number was a typo, sorry for that. I am using v 5.6.7 Oct 24, 2012 at 7:16

1 Answer 1


According to the OGC WMS Spec, which I won't quote directly for fear of violating the license agreement...

In a WMS getCapabilities: - each shall have at least one - if a layer supports on-the-fly transormation to multiple CRS, the server implementation does not need to provide a element for CRS beyond the CRS of the original. I don't know if you can configure MapServer to explicitly advertise all potential .


You state that you want to serve the data in multiple CRS, but you don't say if it works or not. According to the WMS Spec, there is nothing wrong with your getCapabilities. Have you tried a getMap request to see what the data looks like? That would be the real test.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.