Our DEM source data is in FEET. On page 5 of the help document "How to setup the Profile geoprocessing service", it stated:

1. Populate the 'res' field of the DEM boundary feature class attribute table using a value in feet.

Does it mean to specify a DEM cell size in feet when running the Profile Util tool? Our DEM cell size is 2.5 feet, since the help document says to use an interget value for the DEM cell size, I just used 2 as the DEM cell size.

I did not get any error while running the profile script and publishing the geoprocessing service to our ArcGIS server. However, when using the profile service , the returned elevation in feet is 3 times more than what we would expect, I must have missed some part in the python script.Any help is appreciated.

Here is the python script I used:

""" Tool name: Profile

Source name: Profile Tool.pyt

Description: Return an elevation profile for an input polyline.

Author: Environmental Systems Research Institute Inc.

Last updated: Aug. 05, 2014

"""

import os

import time

import arcpy

class Toolbox(object):

def __init__(self):

"""Define the toolbox (the name of the toolbox is the name of the

.pyt file)."""

self.label = "Profile Tool"

self.alias = ""

# List of tool classes associated with this toolbox

self.tools = [Profile]

class Profile(object):

def __init__(self):

"""Define the tool (tool name is the name of the class)."""

self.label = "Profile"

self.description = "Return an elevation profile for an input polyline."

self.canRunInBackground = False

# custom properties

self.debug = True

self.outputToTable = False # set to True to direct the output to a table.