Hi Jess,

On 13-09-2012 05:21, mapserver-users-requ...@lists.osgeo.org wrote:
Date: Thu, 13 Sep 2012 16:53:42 +1000
From: "Jessica Clarke"<jessica.cla...@forestrytas.com.au>
To:<mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] mapserver as a wms server for arcgis client
Message-ID:<50520f96020000dd00017...@mail2.forestrytas.com.au>
Content-Type: text/plain; charset="us-ascii"

Hi,
I'm hoping someone can help me identify why my wms layers in arcgis are coming 
up blank.

Here is my mapfile:
MAP
  NAME "WMSQuick"
  STATUS ON
  EXTENT 227154 5165779 627108 5614539
  UNITS DD
You can change from DD to meters, that is the projection units for EPSG 28355,
and let us know if this solves the problem of blank layer
  SHAPEPATH "c:/images"
  SIZE 800 600
  PROJECTION
   "init=epsg:28355"
  END
  OUTPUTFORMAT
   NAME 'AGG/PNG'
   DRIVER AGG/PNG
  END
  WEB
   IMAGEPATH "C:/images/"
   IMAGEURL "/images/"
   METADATA
     "wms_title"     "WMS Demo"  ##required
     
"wms_onlineresource""http://test/cgi-bin/mapserv.exe?map=E:\mapfiles\wmstest4.map&";
     "wms_enable_request" "*"   ##necessary
     "wms_server_version" "1.1.1"
     "wms_extent" "227154 5165779 627108 5614539"
   END
  END
  LAYER
   NAME "AdminCountries"
   STATUS ON
   TYPE POLYGON
   DATA "img_index.shp"
   CLASS
    STYLE
     COLOR 246 241 223
     OUTLINECOLOR 0 0 0
    END
   END
   METADATA
    "wms_title" "admin_countries"
    "wms_name" "admincountries"
    "wms_server_version" "1.1.1"
    #"wms_extent" "227154 5165779 627108 5614539"
    
"wms_onlineresource""http://test/cgi-bin/mapserv.exe?map=E:\mapfiles\wmstest4.map&";
    "wms_format" "image/tif"
   END
   PROJECTION
   "init=epsg:28355"
  END
  END
  LEGEND
   KEYSIZE 12 12
   STATUS EMBED
   POSITION lr
   IMAGECOLOR 125 125 125
   LABEL
    COLOR 255 255 255
    FONT "verdana"
    TYPE TRUETYPE
    POSITION AUTO
    PARTIALS FALSE
    SIZE 8
    BUFFER 1
   END
  END
END
Humberto Cereser Ibanez
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to