[mapserver-users] ArcGIS Server layer
Robert Sanson
Robert.Sanson at asurequality.com
Tue Jan 11 17:55:38 PST 2011
Yes - two ways:
1. Connect to a WMS service on ArcGIS Server:
LAYER
NAME nz50ktm
GROUP "Toposcans"
TYPE RASTER
STATUS ON
CONNECTION "http://myserver/arcgis/services/mapservice_topography_raster/MapServer/WMSServer?"
CONNECTIONTYPE WMS
MAXSCALE 60000
MINSCALE 10000
METADATA
# OGC:WMS specific tags
"ows_title" "NZ 1:50k scale NZTM"
"ows_abstract" "This layer came from the LINZ Topo50 series maps in NZTM"
"WMS_FORMAT" "image/png"
"wms_server_version" "1.1.1"
"wms_opaque" "1"
"wms_group_title" "Toposcans"
"wms_resx" "4.233"
"wms_resy" "4.233"
"ows_extent" "1083997.88 4722000.45 2092003.23 6234002.12"
"wms_srs" "EPSG:2193"
"WMS_NAME" "3"
"wms_exceptions_format" "application/vnd.ogc.se_xml"
END
END
2. Direct connection to the underlying ArcSDE database:
LAYER
NAME farm
GROUP "CRS"
TYPE POLYGON
STATUS ON
# actual data pointer
CONNECTIONTYPE SDE
CONNECTIONTYPE PLUGIN
CONNECTION "server,port:nnnn,cadastre,user,passwd"
DATA "CADASTRE.SDEADMIN.VW_FARM_PARCEL_SP,SHAPE"
PLUGIN "c:/ms4w/apache/specialplugins/msplugin_sde_92.dll"
CLASS
NAME "Farm"
STYLE
WIDTH 3
OUTLINECOLOR 255 0 0
COLOR 255 140 0
END
END #CLASS
METADATA
"ows_title" "Farm"
"ows_abstract" "This shows land parcels linked to a given farm_id in NZTM"
"ows_keywordlist" "AgriBase,LINZ,farm_id,PARCELS"
"wms_opaque" "1"
"wms_group_title" "CRS"
"ows_extent" "773500 4615000 2602100 6324500"
"wms_srs" "EPSG:2193"
"wms_exceptions_format" "application/vnd.ogc.se_xml"
END
END
Regards,
Robert S
>>> qazi iqbal <qazi.iqbal at gmail.com> 12/01/2011 2:13 p.m. >>>
I want to know if there is any way to add ArcGIS server layer to mapserver mapfile?
Click here ( https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== ) to report this email as spam.
This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.
This message has been scanned for Malware and Viruses by Websense Hosted Security.
www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110112/eb10e603/attachment.htm>
More information about the MapServer-users
mailing list