how to give Geometry Type: esriGeometryPolygon as input in Geo processing service/

02-13-2013 04:21 AM
New Contributor III
I am learning how to use the Geo processing service from the  browser. I developed a very basic model using model builder.(please see the attached).  My map consisted of just three layers all having attribute tables. I used select tool to select the data from the table. I wish that from my my map when i click any point than i could retrieve the data with in certain buffer radius.  I h have looked the example given  on
it is more or less what i want. So i develop a basic model. I n model developer the select tool require a feature set. i selected my table and made the model . the model run good i published it as service. which is give here. however my question is that my input is taken as GP string not as esriGeometryPolygon. so how can i give the input parameter as  feature set as used in Get_population example model. Any advice is appreciated as i think i am stucked here 🙂

Task: Model13feb2k13
Display Name: Model13feb2k13


Help URL: http://localhost:6080/arcgis/rest/directories/arcgisoutput/Model13feb2k13_GPServer/Model13feb2k13/Mo...

Execution Type: esriExecutionTypeAsynchronous


    Parameter: OSWTS_Catchment_Wx
        Data Type: GPString
        Display Name OSWTS_Catchment_Wx
        Direction: esriGPParameterDirectionInput
        Default Value: OSWTS_Catchment_Wx
        Parameter Type: esriGPParameterTypeRequired
        Choice List: [ OSWTS_Catchment_Wx_Select_output, UWWT_OSWTS_SpatialJoin, OSWTS_Catchment_Wx, XY_UWWT_OSWTS_SpatialJoin_Cl ]
    Parameter: OSWTS_Catchment_Wx_Select
        Data Type: GPFeatureRecordSetLayer
        Display Name OSWTS_Catchment_Wx_Select
        Direction: esriGPParameterDirectionOutput
        Default Value:
            Geometry Type: esriGeometryPolygon
            HasZ: false
            HasM: false
            Spatial Reference: 29900  (29902)

                OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID )
                COUNTY ( type: esriFieldTypeString , alias: COUNTY , length: 15 )
                NAME ( type: esriFieldTypeString , alias: NAME , length: 40 )
                AREA_REF ( type: esriFieldTypeString , alias: AREA_REF , length: 40 )
                AREA_HECT ( type: esriFieldTypeDouble , alias: AREA_HECT )
                SOURCE ( type: esriFieldTypeString , alias: SOURCE , length: 40 )
                AUDIT_NAME ( type: esriFieldTypeString , alias: AUDIT_NAME , length: 20 )
                AUDIT_DATE ( type: esriFieldTypeDate , alias: AUDIT_DATE , length: 8 )
                COMMENTS ( type: esriFieldTypeString , alias: COMMENTS , length: 254 )
                Shape_Length ( type: esriFieldTypeDouble , alias: Shape_Length )
                Shape_Area ( type: esriFieldTypeDouble , alias: Shape_Area )
            Features: None.

        Parameter Type: esriGPParameterTypeRequired
0 Kudos
0 Replies