Select to view content in your preferred language

Buffer Geometries (Geometry) returns null.Does anybody have a solution?

735
3
11-02-2011 10:26 PM
GaneshSreesakumar
New Contributor
I am using Ext 3.0 , google api and ArcGIS rest service.
i've included some part of the code below.
initialisation part :
            Geometry = new esri.arcgis.gmaps.Geometry("http:..................ArcGIS/rest/services/Geometry/GeometryServer");
                mapExtension = new esri.arcgis.gmaps.MapExtension(map);
These thing are included. Along with the following code

var params = {
   geometryType : "GLatLng",
   geometries : [longi,lati],
   inSR : 4326,
   outSR : 4326,
   bufferSR : 3857,
   distances : 1000,
   unionResults : true,
   unit : 9001,
   f : 'pjson'
   };
  com.bs.bsMap.queryParam = params;
  Geometry.buffer(params, self.resultOrganiser);

but in the callback function the result set is null when returned.


can anybody please help.........
0 Kudos
3 Replies
RaviNarayanan
Esri Contributor
Ganesh, Can you post the REST URL for this call? You can use the geometry service on sampleserver
0 Kudos
GaneshSreesakumar
New Contributor
Thank you Ravi , I am using the url which you have provided and still the problem exists..
Do you have any idea why this kind of error appears . I know definitely it is some sort of trouble with my code . The end result what i require is the boundary geometric points of a circle( in lat n lng) enclosing a center point (that i pass to the geometries). I think there is some problem with the parameters geometries and distances.

I cant figure out on what it is......
0 Kudos
RaviNarayanan
Esri Contributor
Ganesh,
Please share the REST URL. It will help determine if any of the parameters included in the request is incorrect. This URL can be captured when monitoring request/response from your application using fiddler or firebug.
0 Kudos