[mapserver-users] mapserver as a wms server for arcgis client
Humberto Cereser Ibanez
humberto at pastoraldacrianca.org.br
Thu Sep 13 06:00:29 PDT 2012
Hi Jess,
On 13-09-2012 05:21, mapserver-users-request at lists.osgeo.org wrote:
> Date: Thu, 13 Sep 2012 16:53:42 +1000
> From: "Jessica Clarke"<Jessica.Clarke at forestrytas.com.au>
> To:<mapserver-users at lists.osgeo.org>
> Subject: [mapserver-users] mapserver as a wms server for arcgis client
> Message-ID:<50520F96020000DD00017E62 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120913/8fa923b3/attachment.htm>
More information about the MapServer-users
mailing list