{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 5152981.6435,
    "xmin": 310047.4026999995,
    "ymax": 5163140.545599997,
    "xmax": 317039.7961000018,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 3857,
     "zTolerance": 0.001,
     "wkid": 102100,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "definitionQuery": "TOTAL <> 0",
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "2.6.0",
   "isDataArchived": false,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Illes censals 2021",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "seccio_": null,
       "total": null,
       "districte_": null,
       "codiine_": null,
       "es": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid_12",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "Illes censals 2021",
   "allowTrueCurvesUpdates": false,
   "displayField": "es",
   "supportsCalculate": true,
   "fields": [
    {
     "modelName": "OBJECTID_12",
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "domain": null,
     "name": "objectid_12",
     "alias": "OBJECTID_12",
     "type": "esriFieldTypeOID"
    },
    {
     "modelName": "seccio_",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "seccio_",
     "alias": "Secció",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "codiine_",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "codiine_",
     "alias": "Codi INE",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "districte_",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "districte_",
     "alias": "Districte",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "es",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "es",
     "length": 2,
     "alias": "ES",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "total",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "total",
     "alias": "Població",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "Nombre d'habitants per illa censal a 01/01/2021",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "a316_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "5f685561b2b94cb99bebb0b65e674551",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": false,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "minValue": 1,
     "field": "total",
     "authoringInfo": {
      "colorRamp": {
       "colorRamps": [
        {
         "toColor": [
          240,
          179,
          58,
          255
         ],
         "fromColor": [
          244,
          252,
          146,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          125,
          0,
          0,
          255
         ],
         "fromColor": [
          240,
          179,
          58,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        }
       ],
       "type": "multipart"
      },
      "type": "classedColor",
      "classificationMethod": "esriClassifyManual"
     },
     "legendOptions": {"order": "ascendingValues"},
     "classBreakInfos": [
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         255,
         255,
         190,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 50,
       "label": "1 - 50"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          104,
          104,
          104,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         250,
         209,
         85,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 250,
       "label": "51 - 250"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         242,
         167,
         46,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 500,
       "label": "251 - 500"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         173,
         83,
         19,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 750,
       "label": "501 - 750"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         115,
         76,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 1500,
       "label": "> 750"
      }
     ],
     "type": "classBreaks",
     "classificationMethod": "esriClassifyManual"
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "UMAT. Ajuntament de Girona",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  },
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 5151882.526500002,
    "xmin": 309772.42550000176,
    "ymax": 5165453.0978000015,
    "xmax": 322583.51509999856,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 3857,
     "zTolerance": 0.001,
     "wkid": 102100,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "2.6.0",
   "isDataArchived": false,
   "id": 1,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Seccions censals 2021",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "dones": null,
       "població": null,
       "homes": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "Seccions censals 2021",
   "allowTrueCurvesUpdates": false,
   "displayField": "població",
   "supportsCalculate": true,
   "fields": [
    {
     "modelName": "OBJECTID",
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID",
     "type": "esriFieldTypeOID"
    },
    {
     "modelName": "POBLACIÓ",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "població",
     "alias": "Població",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "HOMES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "homes",
     "alias": "Homes",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "DONES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "dones",
     "alias": "Dones",
     "type": "esriFieldTypeInteger"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "Població per seccions censals a 01/01/2021",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "a315_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "5f685561b2b94cb99bebb0b65e674551",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "minValue": 0,
     "field": "població",
     "authoringInfo": {
      "colorRamp": {
       "colorRamps": [
        {
         "toColor": [
          240,
          179,
          58,
          255
         ],
         "fromColor": [
          244,
          252,
          146,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          125,
          0,
          0,
          255
         ],
         "fromColor": [
          240,
          179,
          58,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        }
       ],
       "type": "multipart"
      },
      "type": "classedColor",
      "classificationMethod": "esriClassifyManual"
     },
     "legendOptions": {"order": "ascendingValues"},
     "classBreakInfos": [
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         255,
         255,
         190,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 250,
       "label": "0 - 250"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         250,
         209,
         85,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 750,
       "label": "251 - 750"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         242,
         167,
         46,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 1500,
       "label": "751 - 1500"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         176,
         115,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 2500,
       "label": "1501 - 2500"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         115,
         75,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 3600,
       "label": "2501 - 3600"
      }
     ],
     "type": "classBreaks",
     "classificationMethod": "esriClassifyManual"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "UMAT. Ajuntament de Girona",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  },
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 5151882.526500002,
    "xmin": 309772.42550000176,
    "ymax": 5165453.0978000015,
    "xmax": 322583.51509999856,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 3857,
     "zTolerance": 0.001,
     "wkid": 102100,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "2.6.0",
   "isDataArchived": false,
   "id": 2,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Sectors 2021",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "densitat": null,
       "població": null,
       "dones": null,
       "homes": null,
       "area_km2": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "Sectors 2021",
   "allowTrueCurvesUpdates": false,
   "displayField": "població",
   "supportsCalculate": true,
   "fields": [
    {
     "modelName": "OBJECTID",
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID",
     "type": "esriFieldTypeOID"
    },
    {
     "modelName": "POBLACIÓ",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "població",
     "alias": "Població",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "DONES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "dones",
     "alias": "Dones",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "HOMES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "homes",
     "alias": "Homes",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "AREA_KM2",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "area_km2",
     "alias": "AREA_KM2",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "DENSITAT",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "densitat",
     "alias": "Densitat",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "Població per sectors a 01/01/2021",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "a318_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "5f685561b2b94cb99bebb0b65e674551",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": false,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "minValue": 7,
     "field": "població",
     "authoringInfo": {
      "colorRamp": {
       "colorRamps": [
        {
         "toColor": [
          240,
          179,
          58,
          255
         ],
         "fromColor": [
          244,
          252,
          146,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          125,
          0,
          0,
          255
         ],
         "fromColor": [
          240,
          179,
          58,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        }
       ],
       "type": "multipart"
      },
      "type": "classedColor",
      "classificationMethod": "esriClassifyManual"
     },
     "legendOptions": {"order": "ascendingValues"},
     "classBreakInfos": [
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         255,
         255,
         190,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 1000,
       "label": "7 - 1000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         250,
         209,
         85,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 5000,
       "label": "1001 - 5000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         242,
         167,
         46,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 10000,
       "label": "5001 - 10000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         176,
         115,
         19,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 20000,
       "label": "10001 - 20000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.01,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         115,
         75,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 22423,
       "label": "20001 - 22423"
      }
     ],
     "type": "classBreaks",
     "classificationMethod": "esriClassifyManual"
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "UMAT. Ajuntament de Girona",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  },
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 5151882.526500002,
    "xmin": 309772.42550000176,
    "ymax": 5165453.0978000015,
    "xmax": 322583.51509999856,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 3857,
     "zTolerance": 0.001,
     "wkid": 102100,
     "xyUnits": 10000,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "falseZ": -100000
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "2.6.0",
   "isDataArchived": false,
   "id": 3,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "Barris 2021",
     "description": "",
     "drawingTool": "esriFeatureEditToolPolygon",
     "prototype": {
      "attributes": {
       "densitat": null,
       "població": null,
       "dones": null,
       "homes": null,
       "superfície": null
      }
     }
    }
   ],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "Barris 2021",
   "allowTrueCurvesUpdates": false,
   "displayField": "població",
   "supportsCalculate": true,
   "fields": [
    {
     "modelName": "OBJECTID",
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID",
     "type": "esriFieldTypeOID"
    },
    {
     "modelName": "POBLACIÓ",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "població",
     "alias": "Població",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "DONES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "dones",
     "alias": "Dones",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "HOMES",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "homes",
     "alias": "Homes",
     "type": "esriFieldTypeInteger"
    },
    {
     "modelName": "SUPERFÍCIE",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "superfície",
     "alias": "Superfície",
     "type": "esriFieldTypeDouble"
    },
    {
     "modelName": "DENSITAT",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "densitat",
     "alias": "Densitat",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Area",
     "alias": "SHAPE__Area",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "Població per barris a 01/01/2021",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE__Area",
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "a317_ix1",
     "isUnique": true,
     "description": "",
     "fields": "shape",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": true,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "5f685561b2b94cb99bebb0b65e674551",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": false,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "tileMaxRecordCount": 2000,
   "typeIdField": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "minValue": 17,
     "field": "població",
     "authoringInfo": {
      "colorRamp": {
       "colorRamps": [
        {
         "toColor": [
          240,
          179,
          58,
          255
         ],
         "fromColor": [
          244,
          252,
          146,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          125,
          0,
          0,
          255
         ],
         "fromColor": [
          240,
          179,
          58,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        }
       ],
       "type": "multipart"
      },
      "type": "classedColor",
      "classificationMethod": "esriClassifyManual"
     },
     "legendOptions": {"order": "ascendingValues"},
     "classBreakInfos": [
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         255,
         255,
         190,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 1000,
       "label": "17 - 1000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         250,
         209,
         85,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 5000,
       "label": "1001 - 5000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         242,
         167,
         46,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 10000,
       "label": "5001 - 10000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         176,
         116,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 20000,
       "label": "10001 - 20000"
      },
      {
       "symbol": {
        "outline": {
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.1,
         "style": "esriSLSSolid",
         "type": "esriSLS"
        },
        "color": [
         115,
         75,
         0,
         255
        ],
        "style": "esriSFSSolid",
        "type": "esriSFS"
       },
       "classMaxValue": 44830,
       "label": "20001 - 44830"
      }
     ],
     "type": "classBreaks",
     "classificationMethod": "esriClassifyManual"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "UMAT. Ajuntament de Girona",
   "zDefault": 0,
   "geometryType": "esriGeometryPolygon",
   "supportsLayerOverrides": true
  }
 ]
}