buffer 3d polygon

775
2
04-28-2017 07:54 AM
JamesEyre
New Contributor II

i am trying to buffer a polygon that has z values with the js api 4.3. The output geometry has all z values set to 0. 

I use the geometryEngineAsync | API Reference | ArcGIS API for JavaScript 4.3  method.

Is it not possible to buffer 3D objects?

Tags (2)
0 Kudos
2 Replies
ThomasSolow
Occasional Contributor III

If your polygon has uniform z values you could just edit the geometry engine's output like this: JS Bin - Collaborative JavaScript Debugging 

If your polygon has varying z values it's a harder problem.  I'm not really sure the right way to approach it, but the geometry engine doesn't appear to have a solution built in.  Convex hull looks like it respects z values, but it returns the smallest possible enclosing polygon rather than a buffer.

0 Kudos
JamesEyre
New Contributor II

My polygon does have varying z values. It is a box.

0 Kudos