bindhu

Facing issue in buffering in ArcGIS application

Discussion created by bindhu on May 8, 2014
Latest reply on May 9, 2014 by jskinner-esristaff
I am new to ArcGIS. In the below code I am getting a buffer error; after
geometryService.buffer(params, function (bufferedGeometries) { 
it jumps to
 function (error)


I can't understand what exactly is causing this error. Can anyone help me with this? Thanks in advance.

var queryTask = new esri.tasks.QueryTask("http://10.xx.xx.xx/ArcGIS/rest/services/mpos/mpos/MapServer/3");
        var params = new esri.tasks.BufferParameters();
        params.geometries = [evt.mapPoint];
        var sr = new esri.SpatialReference(32633);
        // Buffer in linear units such as meters, km, miles etc. 
        params.distances = [60];
        params.unit = esri.tasks.BufferParameters.UNIT_METER;
        params.bufferSpatialReference = sr;
        params.outSpatialReference = sr;
        geometryService.buffer(params, function (bufferedGeometries) {

            ------
            ------
                }

            });
        },
         function (error) {
            alert(error);
            HideProgressIndicator();
}

Outcomes