Feature service can only add points

405
2
02-22-2023 09:35 PM
novruzjaf
New Contributor II

Hi, I am using ArcGIS SDK android and ArcGIS map. I want to add polylines and polygons to the feature service but only points added feature service successfully. Others called the applyEdits method but FeatureTableEditResult is empty. Please help me. Thanks a lot.

 

aaaaa.pngbbbbbb.png

0 Kudos
2 Replies
MobiusSnake
MVP

You can't mix geometry types in a layer, nothing to do with the SDK, you just can't do that.

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi

@MobiusSnake is correct, the data model in ArcGIS is based on each feature table containing a single geometry type (point, polyline, polygon, multi-point, etc). For more info see getGeometryType() on FeatureTable (ArcGIS Runtime SDK for Android 100.15.1).

0 Kudos