AW: [mapserver-users] Mapserver Projection Errors
Eichner, Andreas - SID-NLKM
Andreas.Eichner at sid.sachsen.de
Fri Oct 21 05:46:06 PDT 2011
The error is caused by the msOWSPrintBoundingBox() function during the
GetCapabilities request because there's no {ows,wms}_srs metadata set.
The used function msOWSGetEPSGProj() tries to fall back to the
projections "init=" parameter but isn't available here.
It seems the whole thing is used to support bounding boxes for multiple
coordinate systems in the GetCapabilities document. This might only have
an effect if using WMS v1.3.0, {ows,wms}_bbox_extended metadata set to
"true" and {ows,wms}_srs projection list with more than one entry. In
such a case the original layer extent must be reprojected in the listed
SRS which might fail. In your case this might have no negativ impact
beside the error message.
To get rid off the message you need to set a {ows,wms}_srs metadata at
layer level. It seems to be used to advertise the layer's CRS and build
the multi BBOX feature only. Altough it might not harm you it might
cause trouble in the future....
> LAYER
> NAME "test_image"
> EXTENT 51.44325 35.71925 51.64125 35.87325
> METADATA
> "wms_title" "test_image"
> "wms_extent" "51.44325 35.71925 51.64125 35.87325"
> END
> PROCESSING "SCALE=AUTO"
> PROCESSING "SCALE_BUCKETS=256"
> TYPE RASTER
> DATA "/data/geodata/yongbyon/test_image.vrt"
> PROJECTION
> "+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs"
> END
> END
More information about the MapServer-users
mailing list