Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

Consume GP service on ArcMap 10.0; how 2 send ArcMap extent ?

$
0
0
dear Readers,

I was looking for examples to do the following:

1. using arcmap 10.0 using geoprocessor function call a webservice in a GP server:

[h=2]DataExtract (GPServer)[/h] Service Description: Data extraction tool

Tasks: Execution Type: esriExecutionTypeAsynchronous

Result Map Server Name:

MaximumRecords: 1000




The Data Extract contains an input param of current extent:
Parameters:
  • Parameter: aoi
    • Data Type: GPFeatureRecordSetLayer
      Display Name aoi
      Description: aoi
      Direction: esriGPParameterDirectionInput
      Default Value:
      • Geometry Type: esriGeometryPolygon
        HasZ: false
        HasM: false
        Spatial Reference: 4326 (4326)

        Fields:
        • FID ( type: esriFieldTypeOID , alias: FID )
        • Id ( type: esriFieldTypeInteger , alias: Id )
        • Shape_Length ( type: esriFieldTypeDouble , alias: Shape_Length )
        • Shape_Area ( type: esriFieldTypeDouble , alias: Shape_Area )
        Features: None.

      Parameter Type: esriGPParameterTypeRequired
      Category:

      How do I get my current extent and send them as a feature recordset layer to this service

      the other input to this service is a table name as present in the feature service in the same arc gis server.

      sample code in .net for arcobjects arcmap 10.0 would be great; the gp service is on a 10.21 arc gis server.

      regards
      ravi.

Viewing all articles
Browse latest Browse all 1374

Trending Articles