[mapserver-users] MapServer calculates wrong WGS84BoundingBox for WCS request using EPSG:28992

Christian Braun christian.braun at tudor.lu
Wed May 14 01:30:47 PDT 2014


Dear list members,

I just discovered that my MapServer installation is calculating a wrong WGS84BoundingBox tag.

I know that were issues in the past with the definition of EPSG:28992 in which my data is stored. I was checking all epsg files on the system and als set the config flag for PROJ_LIB in the map file. But it seems that MapServer is still ignoring the correct settings for EPSG:28992 and takes the "old" definition without proper proj towgs flags.

The services are public and you can find below the links [1] to a DescribeCoverage for the WCS I am refering to. ro_dsm_mini is a small layer which I am using for testing. BBOX in 28992 is the correct one of the data source, the corresponding WGS84BoundingBox which is giving back is wrong.
I am using http://cs2cs.mygeodata.eu for checking.

I also paste the relevant part of the map file [2].


Any further help is appreciated.
Many thanks in advance,
Christian


[1]
http://maps.iguess.tudor.lu/cgi-bin/mapserv?map=/srv/mapserv/MapFiles/RO_localOWS_test.map&SERVICE=WCS&VERSION=1.1.0&REQUEST=DescribeCoverage&COVERAGEID=ro_dsm_mini


[2]
MAP
  NAME "TUDOR_RO_test-environment"
  EXTENT 65956 431299 93267 451459
  SIZE 800 600
  MAXSIZE 50000
  UNITS METERS
  SHAPEPATH "/srv/sampleData/"
  IMAGECOLOR 255 255 255

  PROJECTION
    #"+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.237,50.0087,465.658,-0.406857,0.350733,-1.87035,4.0812 +units=m +no_defs"
    "init=epsg:28992"
  END

  CONFIG PROJ_LIB "/usr/share/proj/"
 
  LAYER # -----------------------------------------------------------------
    NAME "ro_dsm_mini"
    TYPE RASTER
    STATUS ON
    DATA "ro_dsm_mini.tiff"
    
    #PROCESSING "SCALE=AUTO"
    
    PROJECTION
      "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.237,50.0087,465.658,-0.406857,0.350733,-1.87035,4.0812 +units=m +no_defs"  # the projection of the source data set
      #"init=epsg:28992"
    END

    METADATA
      "ows_title" "DSM subset"
      "ows_abstract" "This a test data set of Rotterdams DSM subset"

      "wms_include_items" "value_0"
      "wms_value_0_alias" "Height"

      "wcs_label"           "ro_dsm_mini"  ### required
      "wcs_rangeset_name"   "Range 1"  ### required to support DescribeCoverage request
      "wcs_rangeset_label"  "My Label" ### required to support DescribeCoverage request
      "wcs_formats" "img"
    END


------------------------------------------------------------
Christian Braun
R+D Engineer
Environmental Modelling, Geocomputation

Tel: +352- 425991-6608
Mobil: +49-179-6845896
Mail: christian.braun at tudor.lu

Resource Centre for Environmental Technologies,
Public Research Centre Henri Tudor,
6A, avenue des Hauts-Fourneaux,
L-4362 Esch-sur-Alzette, Luxembourg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140514/3729b00a/attachment.html>


More information about the mapserver-users mailing list