geometryEngine.geodesicBuffer gives error "not implemented" when creating buffer for a layer

281
2
03-10-2021 04:47 AM
MichaelLev
Occasional Contributor III

in my code I do:

var buffers = geometryEngine.geodesicBuffer(
          geometries, // geometries
        [bufferDistance], // distance
        "meters", // unit
         true // unionResults into SINGLE polygon
);

But suddenly, for new layers, I get error msg "Not Implemented".

What in the layer(s) can cause such an error?

0 Kudos
2 Replies
MichaelLev
Occasional Contributor III

Dear Robert

can you help please?

0 Kudos
MichaelLev
Occasional Contributor III

From my trials I understand that

if the layer spatial reference is 102100 (that is 3857 WGS 1984 Web Mercator) then from its geometries then I can create a buffer, by the code above,

but

if the layer spatial reference is wkid:2039 (Israel TM Grid) then when I try to create a buffer from its geometries by the code above, I get the error mentioned above.

So, what should I do? I need to create a buffer, and I need  spatial reference = wkid:2039 (Israel TM Grid) in order that the automatic computed area for polygons will be correct.

Help will be gereatly appreciated!

Michael 

 

0 Kudos