Strange LatLonBoundingBoxes and missing BoundingBoxes in GetCapabilities

Björn Platzen bjoern.platzen at MOMATEC.DE
Tue Nov 2 08:10:36 PST 2004


Hello List,

I'm using Mapserver 4.2.3 on a SuSE Linux machine and I get strange
LatLonBoundingBoxes in the GetCapabilites-Request. The SRS BoundingBoxes
don't even appear in the GML. It seems to be right for the map-instance,
but not for the layers (I checked it with owsview ->
http://cgdi-dev.geoconnections.org/prototypes/owsview/index.html) The
Projection should be correct as well. The data is in Gauss-Krueger Zone
3 which should be EPSG 31467.

So here's a part of my mapfile (with just one Layergroup...):


NAME geovip
STATUS ON
SIZE 1000 800
SYMBOLSET symbols/symbols.sym
FONTSET "/srv/www/htdocs/web7/html/font/font.list"
EXTENT 3385300 5458000 3632300 5665500 # RMV
UNITS METERS
SHAPEPATH "mapdata"
#IMAGECOLOR 254 254 254
TRANSPARENT on
IMAGETYPE png
RESOLUTION 92


#---------------------------------------------------------------#
# Set the projection to Gauss-Kruger 3                          #
#---------------------------------------------------------------#

PROJECTION
  "init=EPSG:31467"
END

#---------------------------------------------------------------#
# Start of web interface and WMS definitions                    #
#---------------------------------------------------------------#

WEB
  TEMPLATE rahmen.html
  MINSCALE 1000
  MAXSCALE 200000
  IMAGEPATH "/srv/www/htdocs/web7/html/tmp/"
  IMAGEURL "tmp/"
  LOG "/srv/www/htdocs/web7/html/geovip.log"
  METADATA
    "wms_title" "GeoVip Mapserver"
    "wms_onlineresource"
"http://wms.essen123.server4you.de/gevisWMS.py?"
    "wms_srs" "EPSG:31467 EPSG:32623"
    "wms_feature_mime_type" "application/vnd.ogs.gml"
  END
END

QUERYMAP
  SIZE 1000 800
  STATUS ON
  STYLE NORMAL
  COLOR 210 210 210
END

LAYER
  NAME "OePNVStrassenBahnSchiene"
  GROUP "OePNVStrassenBahn"
  METADATA
    "wms_title" "OePNVStrassenBahnSchiene"
    "wms_group_title" "OePNVStrassenBahn"
    "wms_srs" "EPSG:31467 EPSG:32623"
  END
  TYPE Line
  CONNECTIONTYPE OGR
  CONNECTION "mapdata/Strassenbahn.TAB"
  DATA "Strassenbahn"
  STATUS ON
  MAXSCALE 25000
  MINSCALE 1000
  PROJECTION
    "init=EPSG:31467"
  END
  CLASS
    MINSCALE 7500
    SYMBOL 1
    COLOR 255 0 0
    SIZE 2
  END
  CLASS
    MAXSCALE 7499
    SYMBOL 1
    COLOR 255 0 0
    SIZE 4
  END
END
LAYER
  NAME "OePNVBus"
  GROUP "OePNVStrassenBahn"
  METADATA
    "wms_title" "OePNVBus"
    "wms_group_title" "OePNVStrassenBahn"
    "wms_srs" "EPSG:31467 EPSG:32623"
  END
  TYPE Line
  CONNECTIONTYPE OGR
  CONNECTION "mapdata/Buslinie.TAB"
  DATA "Buslinie"
  STATUS ON
  MAXSCALE 25000
  MINSCALE 1000
  PROJECTION
    "init=EPSG:31467"
  END
  CLASS
    MINSCALE 7500
    SYMBOL 1
    COLOR 255 0 0
    SIZE 2
  END
  CLASS
    MAXSCALE 7499
    SYMBOL 1
    COLOR 255 0 0
    SIZE 4
  END
END
END

The WMS can be called under
http://wms.essen123.server4you.de/gevisWMS.py?
On a GetCapabilities or GetMap Requeast, the python script only calls
the mapserver CGI to generate the GML/image, so the error does not take
place in the script.

I hope someone can help me...

Thanks in advance,

Bjoern Platzen

--
momatec GmbH
www.momatec.de



More information about the MapServer-users mailing list