Select to view content in your preferred language

Uploading shape files fails in editor widget (4.23)

76
0
3 weeks ago
RossRhone
New Contributor

 

I previously was using arcGIS Online 4.22 javascript to upload a shape files. With the upgrade to 4.23 the same shape file now fails after the editor widget renders it on the map This error also occurs on the latest version of 4.31. The shapefile will be seen on the arcGIS Online map, but the application itself breaks after the error message is thrown. The error causes the map to break. The error message throw is "Error: div had a div child added, but there is now more than one. You must add unique key properties to make them distinguishable." If I remove the editor widget out of the code the error isn't displayed. Therefore I believe there is something internal to the editor widget's SDK that is causing the error.

at u (4.23/:2344:303)
at h (4.23/:2351:382)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)
at h (4.23/:2351:82)

The error message is only thrown when there is more than one shape file uploaded. If there is only a single shape file uploaded nothing breaks. After the second layer is added the error message occurs.

 

Here are snippets of the code I am using.

 

 

 

 function setupEditor(view) {
            // Initialize the Editor widget
            const editor = new Editor({
              view: view
              // If the webmap already contains layers with templates,
              // Editor will pick them up automatically.
            });
}

            function addShapefileToMap(featureCollection) {
              let sourceGraphics = [];
              const layers = featureCollection.layers.map((layer) => {
                const graphics = layer.featureSet.features.map((feature) => {
                  return Graphic.fromJSON(feature);
                });
                sourceGraphics = sourceGraphics.concat(graphics);
                const featureLayer = new FeatureLayer({
                  objectIdField: "FID",
                  source: graphics,
                  fields: layer.layerDefinition.fields.map((field) => {
                    return Field.fromJSON(field);
                  })
                });
                featureLayer.userUploaded = true;
                return featureLayer;
              });

webmap.addMany(layers);

 

 

 

 I have provided the simple shapefile example that I have used.

featureCollection:

 

 

 

 

{
    "layers": [
        {
            "layerDefinition": {
                "currentVersion": 11.2,
                "id": 0,
                "name": "PolygonFootballFID",
                "type": "Feature Layer",
                "displayField": "",
                "description": "",
                "copyrightText": "",
                "defaultVisibility": true,
                "relationships": [],
                "isDataVersioned": false,
                "supportsAppend": true,
                "supportsCalculate": true,
                "supportsASyncCalculate": true,
                "supportsTruncate": false,
                "supportsAttachmentsByUploadId": true,
                "supportsAttachmentsResizing": true,
                "supportsRollbackOnFailureParameter": true,
                "supportsStatistics": true,
                "supportsExceedsLimitStatistics": true,
                "supportsAdvancedQueries": true,
                "supportsValidateSql": true,
                "supportsCoordinatesQuantization": true,
                "supportsLayerOverrides": true,
                "supportsTilesAndBasicQueriesMode": true,
                "supportsFieldDescriptionProperty": true,
                "supportsQuantizationEditMode": true,
                "supportsApplyEditsWithGlobalIds": false,
                "supportsMultiScaleGeometry": true,
                "supportsReturningQueryGeometry": true,
                "advancedQueryCapabilities": {
                    "supportsPagination": true,
                    "supportsQueryAttachmentsCountOnly": true,
                    "supportsPaginationOnAggregatedQueries": true,
                    "supportsQueryRelatedPagination": true,
                    "supportsQueryWithDistance": true,
                    "supportsReturningQueryExtent": true,
                    "supportsStatistics": true,
                    "supportsOrderBy": true,
                    "supportsDistinct": true,
                    "supportsQueryWithResultType": true,
                    "supportsSqlExpression": true,
                    "supportsTimeRelation": true,
                    "supportsAdvancedQueryRelated": true,
                    "supportsCountDistinct": true,
                    "supportsPercentileStatistics": true,
                    "supportsApproxPercentileStatistics": true,
                    "supportsSpatialAggregationStatistics": true,
                    "supportsTrueCurve": true,
                    "supportedSpatialAggregationStatistics": [
                        "EnvelopeAggregate",
                        "CentroidAggregate",
                        "ConvexHullAggregate"
                    ],
                    "supportsReturningGeometryCentroid": true,
                    "supportsReturningGeometryEnvelope": true,
                    "supportsReturningGeometryProperties": true,
                    "supportsQueryWithDatumTransformation": true,
                    "supportsCurrentUserQueries": true,
                    "supportsHavingClause": true,
                    "supportsOutFieldSQLExpression": true,
                    "supportsMaxRecordCountFactor": true,
                    "supportsTopFeaturesQuery": true,
                    "supportsDisjointSpatialRel": true,
                    "supportsQueryWithCacheHint": true,
                    "supportedOperationsWithCacheHint": [
                        "query",
                        "queryTopFilter",
                        "queryAnalytics",
                        "queryAttachments",
                        "queryRelated",
                        "queryBins"
                    ],
                    "supportsQueryAnalytic": true,
                    "supportsDefaultSR": true,
                    "supportsFullTextSearch": true,
                    "supportsFullTextAccentSensitivity": true,
                    "supportsFullTextStopWords": true
                },
                "advancedQueryAnalyticCapabilities": {
                    "supportsLinearRegression": true,
                    "supportsAsync": true,
                    "supportsPercentileAnalytic": true
                },
                "advancedEditingCapabilities": {
                    "supportedSqlFormatsInCalculate": [
                        "standard"
                    ],
                    "supportsAsyncApplyEdits": true,
                    "supportsReturnEditResults": true,
                    "supportsApplyEditsbyUploadID": true,
                    "supportedApplyEditsUploadIDFormats": "JSON"
                },
                "infoInEstimates": [
                    "extent",
                    "count"
                ],
                "useStandardizedQueries": false,
                "geometryType": "esriGeometryPolygon",
                "minScale": 0,
                "maxScale": 0,
                "extent": {
                    "xmin": -13511597.50077992,
                    "ymin": 6066247.558067595,
                    "xmax": -13510807.236089986,
                    "ymax": 6067610.137463532,
                    "spatialReference": {
                        "wkid": 102100,
                        "latestWkid": 3857
                    }
                },
                "drawingInfo": {
                    "renderer": {
                        "type": "simple",
                        "symbol": {
                            "type": "esriSFS",
                            "style": "esriSFSSolid",
                            "color": [
                                76,
                                129,
                                205,
                                191
                            ],
                            "outline": {
                                "type": "esriSLS",
                                "style": "esriSLSSolid",
                                "color": [
                                    0,
                                    0,
                                    0,
                                    255
                                ],
                                "width": 0.75
                            }
                        }
                    },
                    "transparency": 0,
                    "labelingInfo": null
                },
                "allowGeometryUpdates": true,
                "supportedCurveTypes": [
                    "esriGeometryCircularArc"
                ],
                "allowTrueCurvesUpdates": false,
                "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
                "hasAttachments": false,
                "htmlPopupType": "",
                "hasM": false,
                "hasZ": false,
                "objectIdField": "FID",
                "globalIdField": "",
                "typeIdField": "",
                "fields": [
                    {
                        "name": "FID",
                        "type": "esriFieldTypeOID",
                        "alias": "FID",
                        "sqlType": "sqlTypeOther",
                        "nullable": false,
                        "editable": false,
                        "domain": null,
                        "defaultValue": null
                    },
                    {
                        "name": "FID_1",
                        "type": "esriFieldTypeSmallInteger",
                        "alias": "FID_1",
                        "sqlType": "sqlTypeOther",
                        "nullable": true,
                        "editable": true,
                        "domain": null,
                        "defaultValue": null
                    },
                    {
                        "name": "Name",
                        "type": "esriFieldTypeString",
                        "alias": "Name",
                        "sqlType": "sqlTypeOther",
                        "length": 14,
                        "nullable": true,
                        "editable": true,
                        "domain": null,
                        "defaultValue": null
                    }
                ],
                "indexes": [],
                "dateFieldsTimeReference": {
                    "timeZone": "UTC",
                    "respectsDaylightSaving": false
                },
                "preferredTimeReference": null,
                "types": [],
                "templates": [
                    {
                        "name": "New Feature",
                        "description": "",
                        "drawingTool": "esriFeatureEditToolPolygon",
                        "prototype": {
                            "attributes": {
                                "FID_1": null,
                                "Name": null
                            }
                        }
                    }
                ],
                "supportedQueryFormats": "JSON, geoJSON, PBF",
                "supportedAppendFormats": "sqlite,geoPackage,shapefile,filegdb,featureCollection,geojson,csv,excel,jsonl,featureService,pbf",
                "supportedAppendSourceFilterFormats": "sqlite,geoPackage,shapefile,filegdb,featureService",
                "supportedExportFormats": "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,kml,excel",
                "supportedConvertFileFormats": "JSON,PBF",
                "supportedConvertContentFormats": "LayerEditCollection,FeatureCollection",
                "supportedSpatialRelationships": [
                    "esriSpatialRelIntersects",
                    "esriSpatialRelContains",
                    "esriSpatialRelCrosses",
                    "esriSpatialRelEnvelopeIntersects",
                    "esriSpatialRelIndexIntersects",
                    "esriSpatialRelOverlaps",
                    "esriSpatialRelTouches",
                    "esriSpatialRelWithin",
                    "esriSpatialRelDisjoint",
                    "esriSpatialRelRelation"
                ],
                "supportedContingentValuesFormats": "JSON, PBF",
                "supportedSyncDataOptions": 260,
                "hasStaticData": false,
                "maxRecordCount": -1,
                "standardMaxRecordCount": 4000,
                "standardMaxRecordCountNoGeometry": 32000,
                "tileMaxRecordCount": 4000,
                "maxRecordCountFactor": 1,
                "capabilities": "Create,Delete,Query,Update,Editing"
            },
            "featureSet": {
                "features": [
                    {
                        "attributes": {
                            "FID": 0,
                            "FID_1": 3,
                            "Name": "FootballField1"
                        },
                        "geometry": {
                            "spatialReference": {
                                "wkid": 102100,
                                "latestWkid": 3857
                            },
                            "rings": [
                                [
                                    [
                                        -13511597.5007799,
                                        6067597.59357956
                                    ],
                                    [
                                        -13511401.5025929,
                                        6067610.13746353
                                    ],
                                    [
                                        -13511401.5025929,
                                        6067610.13746353
                                    ],
                                    [
                                        -13511409.3425204,
                                        6067605.43350704
                                    ],
                                    [
                                        -13511385.822738,
                                        6067522.33027576
                                    ],
                                    [
                                        -13511586.5248814,
                                        6067500.37847882
                                    ],
                                    [
                                        -13511597.5007799,
                                        6067597.59357956
                                    ]
                                ]
                            ]
                        }
                    },
                    {
                        "attributes": {
                            "FID": 1,
                            "FID_1": 4,
                            "Name": "FootballField2"
                        },
                        "geometry": {
                            "spatialReference": {
                                "wkid": 102100,
                                "latestWkid": 3857
                            },
                            "rings": [
                                [
                                    [
                                        -13511023.6180884,
                                        6066413.76453016
                                    ],
                                    [
                                        -13510858.9796114,
                                        6066434.14834161
                                    ],
                                    [
                                        -13510807.23609,
                                        6066283.621734
                                    ],
                                    [
                                        -13510998.5303205,
                                        6066247.55806759
                                    ],
                                    [
                                        -13511023.6180884,
                                        6066413.76453016
                                    ]
                                ]
                            ]
                        }
                    }
                ],
                "geometryType": "esriGeometryPolygon"
            }
        },
        {
            "layerDefinition": {
                "currentVersion": 11.2,
                "id": 1,
                "name": "PolygonParksFID",
                "type": "Feature Layer",
                "displayField": "",
                "description": "",
                "copyrightText": "",
                "defaultVisibility": true,
                "relationships": [],
                "isDataVersioned": false,
                "supportsAppend": true,
                "supportsCalculate": true,
                "supportsASyncCalculate": true,
                "supportsTruncate": false,
                "supportsAttachmentsByUploadId": true,
                "supportsAttachmentsResizing": true,
                "supportsRollbackOnFailureParameter": true,
                "supportsStatistics": true,
                "supportsExceedsLimitStatistics": true,
                "supportsAdvancedQueries": true,
                "supportsValidateSql": true,
                "supportsCoordinatesQuantization": true,
                "supportsLayerOverrides": true,
                "supportsTilesAndBasicQueriesMode": true,
                "supportsFieldDescriptionProperty": true,
                "supportsQuantizationEditMode": true,
                "supportsApplyEditsWithGlobalIds": false,
                "supportsMultiScaleGeometry": true,
                "supportsReturningQueryGeometry": true,
                "advancedQueryCapabilities": {
                    "supportsPagination": true,
                    "supportsQueryAttachmentsCountOnly": true,
                    "supportsPaginationOnAggregatedQueries": true,
                    "supportsQueryRelatedPagination": true,
                    "supportsQueryWithDistance": true,
                    "supportsReturningQueryExtent": true,
                    "supportsStatistics": true,
                    "supportsOrderBy": true,
                    "supportsDistinct": true,
                    "supportsQueryWithResultType": true,
                    "supportsSqlExpression": true,
                    "supportsTimeRelation": true,
                    "supportsAdvancedQueryRelated": true,
                    "supportsCountDistinct": true,
                    "supportsPercentileStatistics": true,
                    "supportsApproxPercentileStatistics": true,
                    "supportsSpatialAggregationStatistics": true,
                    "supportsTrueCurve": true,
                    "supportedSpatialAggregationStatistics": [
                        "EnvelopeAggregate",
                        "CentroidAggregate",
                        "ConvexHullAggregate"
                    ],
                    "supportsReturningGeometryCentroid": true,
                    "supportsReturningGeometryEnvelope": true,
                    "supportsReturningGeometryProperties": true,
                    "supportsQueryWithDatumTransformation": true,
                    "supportsCurrentUserQueries": true,
                    "supportsHavingClause": true,
                    "supportsOutFieldSQLExpression": true,
                    "supportsMaxRecordCountFactor": true,
                    "supportsTopFeaturesQuery": true,
                    "supportsDisjointSpatialRel": true,
                    "supportsQueryWithCacheHint": true,
                    "supportedOperationsWithCacheHint": [
                        "query",
                        "queryTopFilter",
                        "queryAnalytics",
                        "queryAttachments",
                        "queryRelated",
                        "queryBins"
                    ],
                    "supportsQueryAnalytic": true,
                    "supportsDefaultSR": true,
                    "supportsFullTextSearch": true,
                    "supportsFullTextAccentSensitivity": true,
                    "supportsFullTextStopWords": true
                },
                "advancedQueryAnalyticCapabilities": {
                    "supportsLinearRegression": true,
                    "supportsAsync": true,
                    "supportsPercentileAnalytic": true
                },
                "advancedEditingCapabilities": {
                    "supportedSqlFormatsInCalculate": [
                        "standard"
                    ],
                    "supportsAsyncApplyEdits": true,
                    "supportsReturnEditResults": true,
                    "supportsApplyEditsbyUploadID": true,
                    "supportedApplyEditsUploadIDFormats": "JSON"
                },
                "infoInEstimates": [
                    "extent",
                    "count"
                ],
                "useStandardizedQueries": false,
                "geometryType": "esriGeometryPolygon",
                "minScale": 0,
                "maxScale": 0,
                "extent": {
                    "xmin": -13512034.96873328,
                    "ymin": 6065179.759944892,
                    "xmax": -13509958.955936708,
                    "ymax": 6067904.918736763,
                    "spatialReference": {
                        "wkid": 102100,
                        "latestWkid": 3857
                    }
                },
                "drawingInfo": {
                    "renderer": {
                        "type": "simple",
                        "symbol": {
                            "type": "esriSFS",
                            "style": "esriSFSSolid",
                            "color": [
                                252,
                                225,
                                56,
                                191
                            ],
                            "outline": {
                                "type": "esriSLS",
                                "style": "esriSLSSolid",
                                "color": [
                                    0,
                                    0,
                                    0,
                                    255
                                ],
                                "width": 0.75
                            }
                        }
                    },
                    "transparency": 0,
                    "labelingInfo": null
                },
                "allowGeometryUpdates": true,
                "supportedCurveTypes": [
                    "esriGeometryCircularArc"
                ],
                "allowTrueCurvesUpdates": false,
                "onlyAllowTrueCurveUpdatesByTrueCurveClients": false,
                "hasAttachments": false,
                "htmlPopupType": "",
                "hasM": false,
                "hasZ": false,
                "objectIdField": "FID",
                "globalIdField": "",
                "typeIdField": "",
                "fields": [
                    {
                        "name": "FID",
                        "type": "esriFieldTypeOID",
                        "alias": "FID",
                        "sqlType": "sqlTypeOther",
                        "nullable": false,
                        "editable": false,
                        "domain": null,
                        "defaultValue": null
                    },
                    {
                        "name": "FID_1",
                        "type": "esriFieldTypeInteger",
                        "alias": "FID_1",
                        "sqlType": "sqlTypeOther",
                        "nullable": true,
                        "editable": true,
                        "domain": null,
                        "defaultValue": null
                    },
                    {
                        "name": "Name",
                        "type": "esriFieldTypeString",
                        "alias": "Name",
                        "sqlType": "sqlTypeOther",
                        "length": 80,
                        "nullable": true,
                        "editable": true,
                        "domain": null,
                        "defaultValue": null
                    }
                ],
                "indexes": [],
                "dateFieldsTimeReference": {
                    "timeZone": "UTC",
                    "respectsDaylightSaving": false
                },
                "preferredTimeReference": null,
                "types": [],
                "templates": [
                    {
                        "name": "New Feature",
                        "description": "",
                        "drawingTool": "esriFeatureEditToolPolygon",
                        "prototype": {
                            "attributes": {
                                "FID_1": null,
                                "Name": null
                            }
                        }
                    }
                ],
                "supportedQueryFormats": "JSON, geoJSON, PBF",
                "supportedAppendFormats": "sqlite,geoPackage,shapefile,filegdb,featureCollection,geojson,csv,excel,jsonl,featureService,pbf",
                "supportedAppendSourceFilterFormats": "sqlite,geoPackage,shapefile,filegdb,featureService",
                "supportedExportFormats": "csv,shapefile,sqlite,geoPackage,filegdb,featureCollection,geojson,kml,excel",
                "supportedConvertFileFormats": "JSON,PBF",
                "supportedConvertContentFormats": "LayerEditCollection,FeatureCollection",
                "supportedSpatialRelationships": [
                    "esriSpatialRelIntersects",
                    "esriSpatialRelContains",
                    "esriSpatialRelCrosses",
                    "esriSpatialRelEnvelopeIntersects",
                    "esriSpatialRelIndexIntersects",
                    "esriSpatialRelOverlaps",
                    "esriSpatialRelTouches",
                    "esriSpatialRelWithin",
                    "esriSpatialRelDisjoint",
                    "esriSpatialRelRelation"
                ],
                "supportedContingentValuesFormats": "JSON, PBF",
                "supportedSyncDataOptions": 260,
                "hasStaticData": false,
                "maxRecordCount": -1,
                "standardMaxRecordCount": 4000,
                "standardMaxRecordCountNoGeometry": 32000,
                "tileMaxRecordCount": 4000,
                "maxRecordCountFactor": 1,
                "capabilities": "Create,Delete,Query,Update,Editing"
            },
            "featureSet": {
                "features": [
                    {
                        "attributes": {
                            "FID": 0,
                            "FID_1": 1,
                            "Name": "Park1"
                        },
                        "geometry": {
                            "spatialReference": {
                                "wkid": 102100,
                                "latestWkid": 3857
                            },
                            "rings": [
                                [
                                    [
                                        -13511357.598999,
                                        6065869.67356308
                                    ],
                                    [
                                        -13511138.0810296,
                                        6066609.76271715
                                    ],
                                    [
                                        -13511037.7299579,
                                        6066634.85048508
                                    ],
                                    [
                                        -13511044.0018999,
                                        6066641.12242707
                                    ],
                                    [
                                        -13511050.2738419,
                                        6066634.85048508
                                    ],
                                    [
                                        -13511050.2738419,
                                        6066634.85048508
                                    ],
                                    [
                                        -13509958.9559367,
                                        6066126.82318441
                                    ],
                                    [
                                        -13510837.0278144,
                                        6065179.75994489
                                    ],
                                    [
                                        -13511357.598999,
                                        6065869.67356308
                                    ]
                                ]
                            ]
                        }
                    },
                    {
                        "attributes": {
                            "FID": 1,
                            "FID_1": 2,
                            "Name": "Parks2"
                        },
                        "geometry": {
                            "spatialReference": {
                                "wkid": 102100,
                                "latestWkid": 3857
                            },
                            "rings": [
                                [
                                    [
                                        -13511818.5867348,
                                        6067559.96192767
                                    ],
                                    [
                                        -13512034.9687333,
                                        6067835.92737495
                                    ],
                                    [
                                        -13511661.7881853,
                                        6067864.15111387
                                    ],
                                    [
                                        -13511370.142883,
                                        6067904.91873676
                                    ],
                                    [
                                        -13511031.4580159,
                                        6067901.78276577
                                    ],
                                    [
                                        -13511210.2083624,
                                        6067892.3748528
                                    ],
                                    [
                                        -13511229.0241884,
                                        6067813.975578
                                    ],
                                    [
                                        -13510448.1674114,
                                        6067707.35256428
                                    ],
                                    [
                                        -13510178.4739061,
                                        6067431.387117
                                    ],
                                    [
                                        -13510303.9127458,
                                        6067089.5662789
                                    ],
                                    [
                                        -13511746.459402,
                                        6066882.59219344
                                    ],
                                    [
                                        -13511818.5867348,
                                        6067559.96192767
                                    ]
                                ]
                            ]
                        }
                    }
                ],
                "geometryType": "esriGeometryPolygon"
            }
        }
    ],
    "showLegend": true
}

 

 

 

 

Layers:

 

 

 

 

[
    {
        "id": "19484f1fc15-layer-38",
        "showLegend": true,
        "listMode": "show",
        "disablePopup": false,
        "title": "Layer",
        "visibility": true,
        "layerType": "ArcGISFeatureLayer",
        "refreshInterval": 0,
        "layerDefinition": {
            "minScale": 0,
            "maxScale": 0,
            "definitionExpression": null,
            "featureReduction": null
        },
        "timeAnimation": true,
        "showLabels": true,
        "screenSizePerspective": true
    },
    {
        "id": "19484f1fc17-layer-39",
        "showLegend": true,
        "listMode": "show",
        "disablePopup": false,
        "title": "Layer",
        "visibility": true,
        "layerType": "ArcGISFeatureLayer",
        "refreshInterval": 0,
        "layerDefinition": {
            "minScale": 0,
            "maxScale": 0,
            "definitionExpression": null,
            "featureReduction": null
        },
        "timeAnimation": true,
        "showLabels": true,
        "screenSizePerspective": true
    }
]

 

 

 

 

SourceGraphis:

 

 

 

 

[
    {
        "aggregateGeometries": null,
        "geometry": {
            "spatialReference": {
                "latestWkid": 3857,
                "wkid": 102100
            },
            "rings": [
                [
                    [
                        -13511597.5007799,
                        6067597.59357956
                    ],
                    [
                        -13511401.5025929,
                        6067610.13746353
                    ],
                    [
                        -13511401.5025929,
                        6067610.13746353
                    ],
                    [
                        -13511409.3425204,
                        6067605.43350704
                    ],
                    [
                        -13511385.822738,
                        6067522.33027576
                    ],
                    [
                        -13511586.5248814,
                        6067500.37847882
                    ],
                    [
                        -13511597.5007799,
                        6067597.59357956
                    ]
                ]
            ]
        },
        "symbol": null,
        "attributes": {
            "FID": 0,
            "FID_1": 3,
            "Name": "FootballField1"
        },
        "popupTemplate": null
    },
    {
        "aggregateGeometries": null,
        "geometry": {
            "spatialReference": {
                "latestWkid": 3857,
                "wkid": 102100
            },
            "rings": [
                [
                    [
                        -13511023.6180884,
                        6066413.76453016
                    ],
                    [
                        -13510858.9796114,
                        6066434.14834161
                    ],
                    [
                        -13510807.23609,
                        6066283.621734
                    ],
                    [
                        -13510998.5303205,
                        6066247.55806759
                    ],
                    [
                        -13511023.6180884,
                        6066413.76453016
                    ]
                ]
            ]
        },
        "symbol": null,
        "attributes": {
            "FID": 1,
            "FID_1": 4,
            "Name": "FootballField2"
        },
        "popupTemplate": null
    },
    {
        "aggregateGeometries": null,
        "geometry": {
            "spatialReference": {
                "latestWkid": 3857,
                "wkid": 102100
            },
            "rings": [
                [
                    [
                        -13511357.598999,
                        6065869.67356308
                    ],
                    [
                        -13511138.0810296,
                        6066609.76271715
                    ],
                    [
                        -13511037.7299579,
                        6066634.85048508
                    ],
                    [
                        -13511044.0018999,
                        6066641.12242707
                    ],
                    [
                        -13511050.2738419,
                        6066634.85048508
                    ],
                    [
                        -13511050.2738419,
                        6066634.85048508
                    ],
                    [
                        -13509958.9559367,
                        6066126.82318441
                    ],
                    [
                        -13510837.0278144,
                        6065179.75994489
                    ],
                    [
                        -13511357.598999,
                        6065869.67356308
                    ]
                ]
            ]
        },
        "symbol": null,
        "attributes": {
            "FID": 0,
            "FID_1": 1,
            "Name": "Park1"
        },
        "popupTemplate": null
    },
    {
        "aggregateGeometries": null,
        "geometry": {
            "spatialReference": {
                "latestWkid": 3857,
                "wkid": 102100
            },
            "rings": [
                [
                    [
                        -13511818.5867348,
                        6067559.96192767
                    ],
                    [
                        -13512034.9687333,
                        6067835.92737495
                    ],
                    [
                        -13511661.7881853,
                        6067864.15111387
                    ],
                    [
                        -13511370.142883,
                        6067904.91873676
                    ],
                    [
                        -13511031.4580159,
                        6067901.78276577
                    ],
                    [
                        -13511210.2083624,
                        6067892.3748528
                    ],
                    [
                        -13511229.0241884,
                        6067813.975578
                    ],
                    [
                        -13510448.1674114,
                        6067707.35256428
                    ],
                    [
                        -13510178.4739061,
                        6067431.387117
                    ],
                    [
                        -13510303.9127458,
                        6067089.5662789
                    ],
                    [
                        -13511746.459402,
                        6066882.59219344
                    ],
                    [
                        -13511818.5867348,
                        6067559.96192767
                    ]
                ]
            ]
        },
        "symbol": null,
        "attributes": {
            "FID": 1,
            "FID_1": 2,
            "Name": "Parks2"
        },
        "popupTemplate": null
    }
]

 

 

 

 


Any help is appreciated!

0 Kudos
0 Replies