{ "name": "FeatureToGPXorKML", "displayName": "Feature to GPX or KML", "description": "Exports a feature to a GPX or KML file", "category": "", "helpUrl": "https://services.wvgis.wvu.edu/arcgis/rest/directories/arcgisoutput/Applications/FeatureToGPXorKML_GPServer/Applications_FeatureToGPXorKML/FeatureToGPXorKML.htm", "executionType": "esriExecutionTypeSynchronous", "parameters": [ { "name": "Input_Feature", "dataType": "GPFeatureRecordSetLayer", "displayName": "Input Feature", "description": "input feature layer with one feature", "direction": "esriGPParameterDirectionInput", "defaultValue": { "displayFieldName": "", "hasZ": true, "hasM": true, "geometryType": "esriGeometryPolyline", "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID" }, { "name": "FID_Lines", "type": "esriFieldTypeInteger", "alias": "FID_Lines" }, { "name": "dataAgency", "type": "esriFieldTypeString", "alias": "dataAgency", "length": 50 }, { "name": "sourceDate", "type": "esriFieldTypeDate", "alias": "sourceDate", "length": 8 }, { "name": "updated", "type": "esriFieldTypeDate", "alias": "Date of Last Update", "length": 8 }, { "name": "sourceDataset", "type": "esriFieldTypeString", "alias": "sourceDataset", "length": 50 }, { "name": "trailName", "type": "esriFieldTypeString", "alias": "trailName", "length": 50 }, { "name": "trailNumber", "type": "esriFieldTypeString", "alias": "trailNumber", "length": 10 }, { "name": "trailSystem", "type": "esriFieldTypeString", "alias": "trailSystem", "length": 30 }, { "name": "trailLength", "type": "esriFieldTypeSingle", "alias": "trailLength" }, { "name": "trailSurface", "type": "esriFieldTypeString", "alias": "trailSurface", "length": 50 }, { "name": "manageOrg", "type": "esriFieldTypeString", "alias": "manageOrg", "length": 50 }, { "name": "cid1", "type": "esriFieldTypeSmallInteger", "alias": "cid1" }, { "name": "cid2", "type": "esriFieldTypeSmallInteger", "alias": "cid2" }, { "name": "municip", "type": "esriFieldTypeString", "alias": "municip", "length": 30 }, { "name": "county", "type": "esriFieldTypeString", "alias": "county", "length": 20 }, { "name": "state", "type": "esriFieldTypeString", "alias": "state", "length": 10 }, { "name": "mgmtArea", "type": "esriFieldTypeString", "alias": "mgmtArea", "length": 50 }, { "name": "hike", "type": "esriFieldTypeString", "alias": "hike", "length": 4 }, { "name": "backpack", "type": "esriFieldTypeString", "alias": "backpack", "length": 4 }, { "name": "bike", "type": "esriFieldTypeString", "alias": "bike", "length": 4 }, { "name": "horse", "type": "esriFieldTypeString", "alias": "horse", "length": 4 }, { "name": "xcski", "type": "esriFieldTypeString", "alias": "xcski", "length": 4 }, { "name": "interp", "type": "esriFieldTypeString", "alias": "interp", "length": 4 }, { "name": "fitness", "type": "esriFieldTypeString", "alias": "fitness", "length": 4 }, { "name": "water", "type": "esriFieldTypeString", "alias": "water", "length": 4 }, { "name": "motorized", "type": "esriFieldTypeString", "alias": "motorized", "length": 4 }, { "name": "atv", "type": "esriFieldTypeString", "alias": "atv", "length": 4 }, { "name": "ohv", "type": "esriFieldTypeString", "alias": "ohv", "length": 4 }, { "name": "dirtbike", "type": "esriFieldTypeString", "alias": "dirtbike", "length": 4 }, { "name": "railtrail", "type": "esriFieldTypeString", "alias": "railtrail", "length": 4 }, { "name": "nationalTrail", "type": "esriFieldTypeString", "alias": "nationalTrail", "length": 4 }, { "name": "ada", "type": "esriFieldTypeString", "alias": "ada", "length": 4 }, { "name": "trailStatus", "type": "esriFieldTypeString", "alias": "trailStatus", "length": 10 }, { "name": "Notes", "type": "esriFieldTypeString", "alias": "Notes", "length": 200 }, { "name": "sharedSegment1", "type": "esriFieldTypeString", "alias": "sharedSegment1", "length": 50 }, { "name": "sharedSegment2", "type": "esriFieldTypeString", "alias": "sharedSegment2", "length": 50 }, { "name": "multiSegment", "type": "esriFieldTypeSmallInteger", "alias": "multiSegment" }, { "name": "UTV", "type": "esriFieldTypeString", "alias": "UTV", "length": 3 }, { "name": "InLine_FID", "type": "esriFieldTypeInteger", "alias": "InLine_FID" }, { "name": "SimLnFlag", "type": "esriFieldTypeSmallInteger", "alias": "SimLnFlag" }, { "name": "MaxSimpTol", "type": "esriFieldTypeDouble", "alias": "MaxSimpTol" }, { "name": "MinSimpTol", "type": "esriFieldTypeDouble", "alias": "MinSimpTol" }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length" } ], "features": [], "exceededTransferLimit": false }, "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "File_Name", "dataType": "GPString", "displayName": "File Name", "description": "the name of the output file, no spaces or characters allowed", "direction": "esriGPParameterDirectionInput", "defaultValue": "test", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "GPX_or_KML", "dataType": "GPString", "displayName": "GPX or KML", "description": "choose to create GPX or KML", "direction": "esriGPParameterDirectionInput", "defaultValue": "GPX", "parameterType": "esriGPParameterTypeRequired", "category": "", "choiceList": [ "GPX", "KML" ] }, { "name": "output_1", "dataType": "GPDataFile", "displayName": "output 1", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": null, "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "output_2", "dataType": "GPString", "displayName": "output 2", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" }, { "name": "output_3", "dataType": "GPString", "displayName": "output 3", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }