Hi All,
I m trying to add a feature on a feature layer using REST API Services with the following JSON Structure :
[
{
"geometry":{
"paths":[
[
[
449755.72396260122,
3968188.4863326112
],
[
449687.787692063,
3968085.3687791158
],
[
449607.719944643,
3967986.4972425289
],
[
449503.38924345933,
3967884.5928367218
]
]
]
}
}
]
The error given is shown below:
{
"error": {
"code": 400,
"message": "Unable to complete operation.",
"details": [
"The geometry is not Z-aware"
]
}
}
What can the problem be please?
Any help would be much appreciated.
Thanks
Brian
Have you tried adding Z coordinates?
[ { "geometry": { "paths": [ [ [ 449755.7239626012, 3968188.486332611, 0 ], [ 449687.787692063, 3968085.368779116, 0 ], [ 449607.719944643, 3967986.497242529, 0 ], [ 449503.3892434593, 3967884.592836722, 0 ] ] ] } } ]