RE: [mapserver-users] ArcGIS Server layer

2011-01-12 Thread Fawcett, David (MPCA)
For Option #2, you need to have a MapServer instance that is built with SDE 
support.  SDE support isn't there 'by default', so if you want to make direct 
SDE connections, you will want to take this into account when you are 
installing MapServer.

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Robert Sanson
Sent: Tuesday, January 11, 2011 7:56 PM
To: qazi iqbal; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] ArcGIS Server layer

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 6
  MINSCALE 1

  METADATA
   # OGC:WMS specific tags
   ows_titleNZ 1:50k scale NZTM
   ows_abstractThis layer came from the LINZ Topo50 series maps in NZTM
   WMS_FORMAT image/png
   wms_server_version 1.1.1
   wms_opaque1
   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:,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_titleFarm
   ows_abstractThis shows land parcels linked to a given farm_id in NZTM
   ows_keywordlistAgriBase,LINZ,farm_id,PARCELS
   wms_opaque1
   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.iq...@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 herehttps://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.comhttp://www.websense.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ArcGIS Server layer

2011-01-11 Thread Robert Sanson
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 6
  MINSCALE 1
  
  METADATA
   # OGC:WMS specific tags
   ows_titleNZ 1:50k scale NZTM
   ows_abstractThis layer came from the LINZ Topo50 series maps in NZTM
   WMS_FORMAT image/png
   wms_server_version 1.1.1
   wms_opaque1
   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:,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_titleFarm
   ows_abstractThis shows land parcels linked to a given farm_id in NZTM
   ows_keywordlistAgriBase,LINZ,farm_id,PARCELS
   wms_opaque1
   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.iq...@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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users