Hi,
 
I took some lines of a working mapfile for cascading WMS. These extents are 
covering the whole Finland. If you make a request with pure &mode=map map level 
extents are used as bounding box.  By setting also the bounding box in request 
you will have much better control on what is happening.
 
I would be nice to hear about what solution you will find for basic 
authentication.  I should be using the same WMS service as you.
 
-Jukka-
 
 EXTENT 3009960.000 6630040.000 3749960.000 7850040.000 
 
WEB
    IMAGEPATH "d:/ms4w/apps/data"
    METADATA
      "wms_title"    "WMS-server"
      "wms_onlineresource"    "http://localhost/cgi-bin/mapserv.exe 
<http://localhost/cgi-bin/mapserv.exe> ?"
      "wms_srs"    "EPSG:2393"
    END
  END
 
LAYER
    NAME "WMS-orthophotos"
    STATUS ON
    TYPE RASTER
    CONNECTIONTYPE WMS
    CONNECTION "http:// 
<http://map.genimap.com/GenimapWMS/v1/GenimapWMS?cid=mmm&pwd=eaad3e01047aeb4ca8a4a4d53a747e&lang=fi>
 ....."
    UNITS METERS
    SIZEUNITS PIXELS
    MAXSCALE 12000
    TOLERANCEUNITS PIXELS
    METADATA
      "wms_srs"    "EPSG:2393"
      "wms_name"    "orthos"
      "wms_format"    "image/jpeg"
      "wms_server_version"    "1.1.1"
    END
  END

 
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to