<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jess,<br>
<br>
On 13-09-2012 05:21, <a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-request@lists.osgeo.org">mapserver-users-request@lists.osgeo.org</a> wrote:
<blockquote
cite="mid:mailman.19210.1347524514.7597.mapserver-users@lists.osgeo.org"
type="cite">
<pre wrap="">Date: Thu, 13 Sep 2012 16:53:42 +1000
From: "Jessica Clarke" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:Jessica.Clarke@forestrytas.com.au"><Jessica.Clarke@forestrytas.com.au></a>
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a>
Subject: [mapserver-users] mapserver as a wms server for arcgis client
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:50520F96020000DD00017E62@mail2.forestrytas.com.au"><50520F96020000DD00017E62@mail2.forestrytas.com.au></a>
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</pre>
</blockquote>
You can change from DD to meters, that is the projection units for
EPSG 28355,<br>
and let us know if this solves the problem of blank layer<br>
<blockquote
cite="mid:mailman.19210.1347524514.7597.mapserver-users@lists.osgeo.org"
type="cite">
<pre wrap="">
SHAPEPATH "c:/images"
SIZE 800 600
PROJECTION
"init=epsg:28355"
END
OUTPUTFORMAT
NAME 'AGG/PNG'
DRIVER AGG/PNG
END
WEB
IMAGEPATH "C:<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>images<span class="moz-txt-tag">/</span></i>"
IMAGEURL "<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>images<span class="moz-txt-tag">/</span></i>"
METADATA
"wms_title" "WMS Demo" ##required
"wms_onlineresource" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://test/cgi-bin/mapserv.exe?map=E:%5Cmapfiles%5Cwmstest4.map&">"http://test/cgi-bin/mapserv.exe?map=E:\mapfiles\wmstest4.map&"</a>
"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" <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://test/cgi-bin/mapserv.exe?map=E:%5Cmapfiles%5Cwmstest4.map&">"http://test/cgi-bin/mapserv.exe?map=E:\mapfiles\wmstest4.map&"</a>
"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
</pre>
</blockquote>
Humberto Cereser Ibanez<br>
</body>
</html>