GetMap and browse

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Thu May 12 09:16:31 EDT 2005


What is your exact mode=browse request? Are you using layers=...... ?

Only layers with STATUS DEFAULT appear in the image when you don't specify them as a layer in the layers parameter.

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Vincent Da-Col <vincedacol at FREE.FR> 05/12/05 02:43pm >>>
Hello,

I have applie a Getmap request on a Map file. All is OK, my map appear on the
sceen.
But when I try to post on the screen this same map with a simple "browse" mode,
nothing appear.

The Getcapabilities work fine, with no warning.

In copy, my mapfile:

MAP

  NAME              Europe_France_WGS84
  EXTENT            -34.5523788 26.2114230 72.2516881 83.340374
  #EXTENT            -180 -180 180 180
  #EXTENT            -760555 -1058700 4505870 3245049
  #EXTENT                       -5140.02940964483 1562890.02666348 1250740.05344726 2734710.03129094
  IMAGETYPE         gif
  SIZE              800 600
  SHAPEPATH         "./data"
  IMAGECOLOR        200 255 255

  PROJECTION
    "init=epsg:4326"
  END

  DEBUG ON

  OUTPUTFORMAT
    NAME gif
    MIMETYPE "image/gif"
    DRIVER "GD/GIF"
    EXTENSION "gif"
    IMAGEMODE PC256
    TRANSPARENT FALSE
  END



#######
##WEB##
#######


  WEB
    log "/tmp/Europe_WGS84.log"
    IMAGEPATH "./tmp/"
    TEMPLATE  'Donnees_test_WMS_WFS_template.html'
    IMAGEURL "http://10.133.110.29/WMS/Europe_WGS84/tmp/"
    METADATA
        "wms_title"                 "Europe_France_WGS84"
        "wms_onlineresource"
"http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/WMS/Europe_WGS84/test3.map&"
        #"wms_srs"                  "epsg:4326"
    END

  END






##########
##Europe##
##########



  LAYER
    NAME "Europe_WGS84"
    DATA "Europe_region"
    STATUS ON
    TYPE POLYGON

    METADATA
        "wms_title"                 "Europe_WGS84"
        #"wms_srs"                   "epsg:4326"
    END

    CLASS
        COLOR 241 231 193
        OUTLINECOLOR 32 32 32
    END

    PROJECTION
        #"init=epsg:4326"
        #"init=epsg:2383"
    END

  END





##########
##France##
##########


  LAYER
    NAME "France_WGS84"
    DATA "France_region"
    STATUS ON
    TYPE POLYGON

      METADATA
        "wms_title"                  "France_WGS84"
        #"wms_srs"                    "epsg:4326"
      END

    CLASS
        COLOR 241 0 193
    END

    PROJECTION
        #"init=epsg:4326"
    END


  END

END






Thanks for the help,

Vincent Da-Col



More information about the mapserver-users mailing list