{
 "layers": [
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 0,
   "name": "Nombre d'habitatges per edifici",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 25831,
    "latestWkid": 25831,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 2500,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          34,
          10,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          23,
          255,
          255,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          23,
          255,
          255,
          255
         ],
         "toColor": [
          90,
          10,
          250,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "NUM_HABITA",
     "classificationMethod": "esriClassifyManual",
     "minValue": 0,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 5,
       "label": "1 - 5"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         200,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 25,
       "label": "6 - 25"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         182,
         255,
         143,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 50,
       "label": "26 - 50"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         51,
         194,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 100,
       "label": "51 - 100"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 150,
       "label": "101 - 150"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "[NUM_HABITA]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 1,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Calibri",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482265.0025000004,
    "ymin": 4643548.400599999,
    "xmax": 490870.97559999954,
    "ymax": 4652959.6171,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "LLOC",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeInteger",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODI_EDIFI",
     "type": "esriFieldTypeDouble",
     "alias": "Codi edifici",
     "domain": null
    },
    {
     "name": "LLOC",
     "type": "esriFieldTypeString",
     "alias": "Lloc",
     "length": 5,
     "domain": null
    },
    {
     "name": "TIPUS",
     "type": "esriFieldTypeString",
     "alias": "Tipus",
     "length": 15,
     "domain": null
    },
    {
     "name": "NUM_HABITA",
     "type": "esriFieldTypeDouble",
     "alias": "Habitatges",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Àrea",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "Longitud",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa019855eb6245599e0bf5dd5ff7b25c"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 1,
   "name": "Nombre d'habitatges per illa",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 25831,
    "latestWkid": 25831,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 10000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          34,
          10,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          23,
          255,
          255,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          23,
          255,
          255,
          255
         ],
         "toColor": [
          90,
          10,
          250,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "N_HABITATG",
     "classificationMethod": "esriClassifyManual",
     "minValue": 1,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 25,
       "label": "1 - 25"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         200,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 50,
       "label": "26 - 50"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         182,
         255,
         143,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 100,
       "label": "51 - 100"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         51,
         194,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 200,
       "label": "101 - 200"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 429,
       "label": "201 - 429"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "[N_HABITATG]",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": true,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 2,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Calibri",
        "size": 8,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482207.30979999993,
    "ymin": 4643861.6775,
    "xmax": 487407.8841000004,
    "ymax": 4651392.2554,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ES",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "FID_1",
     "type": "esriFieldTypeInteger",
     "alias": "FID",
     "domain": null
    },
    {
     "name": "ILLESCOV_",
     "type": "esriFieldTypeInteger",
     "alias": "Illes cov",
     "domain": null
    },
    {
     "name": "ILLESCOV_I",
     "type": "esriFieldTypeInteger",
     "alias": "Illes cov I",
     "domain": null
    },
    {
     "name": "FID_2",
     "type": "esriFieldTypeInteger",
     "alias": "Fid",
     "domain": null
    },
    {
     "name": "SECCIO_",
     "type": "esriFieldTypeDouble",
     "alias": "Secció",
     "domain": null
    },
    {
     "name": "CODIINE_",
     "type": "esriFieldTypeDouble",
     "alias": "Codi INE",
     "domain": null
    },
    {
     "name": "DISTRICTE_",
     "type": "esriFieldTypeDouble",
     "alias": "Districte",
     "domain": null
    },
    {
     "name": "ES",
     "type": "esriFieldTypeString",
     "alias": "ES",
     "length": 2,
     "domain": null
    },
    {
     "name": "NUC",
     "type": "esriFieldTypeString",
     "alias": "NUC",
     "length": 2,
     "domain": null
    },
    {
     "name": "DC",
     "type": "esriFieldTypeInteger",
     "alias": "DC",
     "domain": null
    },
    {
     "name": "DENOMINACI",
     "type": "esriFieldTypeString",
     "alias": "Denominació",
     "length": 20,
     "domain": null
    },
    {
     "name": "CATEGORIA",
     "type": "esriFieldTypeString",
     "alias": "Categoria",
     "length": 10,
     "domain": null
    },
    {
     "name": "SECCIO2",
     "type": "esriFieldTypeString",
     "alias": "Secció",
     "length": 2,
     "domain": null
    },
    {
     "name": "ILLA4",
     "type": "esriFieldTypeString",
     "alias": "Illa",
     "length": 4,
     "domain": null
    },
    {
     "name": "DSI",
     "type": "esriFieldTypeString",
     "alias": "DSI",
     "length": 7,
     "domain": null
    },
    {
     "name": "N_HABITATG",
     "type": "esriFieldTypeDouble",
     "alias": "Habitatges",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa019855eb6245599e0bf5dd5ff7b25c"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 2,
   "name": "Nombre d'habitatges per secció censal",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 25831,
    "latestWkid": 25831,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 24000,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          34,
          10,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          23,
          255,
          255,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          23,
          255,
          255,
          255
         ],
         "toColor": [
          90,
          10,
          250,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "NUM_HABITA",
     "classificationMethod": "esriClassifyManual",
     "minValue": 1,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 100,
       "label": "1 - 100"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         200,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 500,
       "label": "101 - 500"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         182,
         255,
         143,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 750,
       "label": "501 - 750"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         51,
         194,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 1000,
       "label": "751 - 1.000"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 1539,
       "label": "1.001 - 1.539"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "\"D\" CONCAT [DISTRICTE] CONCAT \" \" CONCAT \"S\" CONCAT [SECCIÓ] CONCAT  NEWLINE  CONCAT [NUM_HABITA] CONCAT \" \" CONCAT \"habitatges\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 3,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Calibri",
        "size": 12,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4000000004,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "SECCIÓ",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "DISTRICTE",
     "type": "esriFieldTypeInteger",
     "alias": "Districte",
     "domain": null
    },
    {
     "name": "SECCIÓ",
     "type": "esriFieldTypeString",
     "alias": "Secció",
     "length": 50,
     "domain": null
    },
    {
     "name": "ENTITAT",
     "type": "esriFieldTypeString",
     "alias": "Entitat",
     "length": 2,
     "domain": null
    },
    {
     "name": "NUCLI",
     "type": "esriFieldTypeString",
     "alias": "Nucli",
     "length": 2,
     "domain": null
    },
    {
     "name": "DC",
     "type": "esriFieldTypeString",
     "alias": "DC",
     "length": 1,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 50,
     "domain": null
    },
    {
     "name": "CATEGORIA",
     "type": "esriFieldTypeString",
     "alias": "Categoria",
     "length": 15,
     "domain": null
    },
    {
     "name": "DS",
     "type": "esriFieldTypeInteger",
     "alias": "DS",
     "domain": null
    },
    {
     "name": "ILLA_DISS",
     "type": "esriFieldTypeString",
     "alias": "Illa",
     "length": 50,
     "domain": null
    },
    {
     "name": "CODIAJUNT",
     "type": "esriFieldTypeString",
     "alias": "Codi ajuntament",
     "length": 4,
     "domain": null
    },
    {
     "name": "NOM_COMPLE",
     "type": "esriFieldTypeString",
     "alias": "Nom complet",
     "length": 70,
     "domain": null
    },
    {
     "name": "NUM_HABITA",
     "type": "esriFieldTypeDouble",
     "alias": "Habitatges",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa019855eb6245599e0bf5dd5ff7b25c"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 3,
   "name": "Densitat d'habitatges per hectàrea (hab/ha.)",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 25831,
    "latestWkid": 25831,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          34,
          10,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          23,
          255,
          255,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          23,
          255,
          255,
          255
         ],
         "toColor": [
          90,
          10,
          250,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "HABITG_HA",
     "classificationMethod": "esriClassifyManual",
     "minValue": 0.01699416,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 1,
       "label": "0,02 - 1,00"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         200,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 10,
       "label": "1,01 - 10,00"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         182,
         255,
         143,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 25,
       "label": "10,01 - 25,00"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         51,
         194,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 50,
       "label": "25,01 - 50,00"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 96.25,
       "label": "50,01 - 96,25"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "[SECTORS] CONCAT  NEWLINE  CONCAT ROUND([HABITG_HA],2) CONCAT \" \" CONCAT \"hab./ha.\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 4,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Calibri",
        "size": 12,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4000000004,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BARRIS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "PERIMETER",
     "type": "esriFieldTypeDouble",
     "alias": "Perímetre",
     "domain": null
    },
    {
     "name": "NB_",
     "type": "esriFieldTypeInteger",
     "alias": "NB",
     "domain": null
    },
    {
     "name": "NB_ID",
     "type": "esriFieldTypeInteger",
     "alias": "Codi NB",
     "domain": null
    },
    {
     "name": "BARRIS",
     "type": "esriFieldTypeString",
     "alias": "Barris",
     "length": 25,
     "domain": null
    },
    {
     "name": "SECTORS",
     "type": "esriFieldTypeString",
     "alias": "Sector",
     "length": 25,
     "domain": null
    },
    {
     "name": "ID_SECTOR",
     "type": "esriFieldTypeInteger",
     "alias": "Codi sector",
     "domain": null
    },
    {
     "name": "NOM_COMPLE",
     "type": "esriFieldTypeString",
     "alias": "Nom complet",
     "length": 100,
     "domain": null
    },
    {
     "name": "NOMBRE_D_H",
     "type": "esriFieldTypeDouble",
     "alias": "Nombre DH",
     "domain": null
    },
    {
     "name": "M2",
     "type": "esriFieldTypeDouble",
     "alias": "m2",
     "domain": null
    },
    {
     "name": "HECTAREES",
     "type": "esriFieldTypeDouble",
     "alias": "Hectàrees",
     "domain": null
    },
    {
     "name": "HABITG_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Habitatges/Hectàrea",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa019855eb6245599e0bf5dd5ff7b25c"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 4,
   "name": "Nombre d'habitatges per sector",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolygon",
   "sourceSpatialReference": {
    "wkid": 25831,
    "latestWkid": 25831,
    "xyTolerance": 0.001,
    "zTolerance": 0.001,
    "mTolerance": 0.001,
    "falseX": -5120900,
    "falseY": -9998100,
    "xyUnits": 10000,
    "falseZ": -100000,
    "zUnits": 10000,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "classBreaks",
     "authoringInfo": {
      "type": "classedColor",
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          34,
          10,
          255
         ],
         "toColor": [
          241,
          252,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          241,
          252,
          30,
          255
         ],
         "toColor": [
          23,
          255,
          255,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          23,
          255,
          255,
          255
         ],
         "toColor": [
          90,
          10,
          250,
          255
         ]
        }
       ]
      },
      "classificationMethod": "esriClassifyManual"
     },
     "field": "NOMBRE_D_H",
     "classificationMethod": "esriClassifyManual",
     "minValue": 5,
     "classBreakInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         255,
         190,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 250,
       "label": "5 - 250"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         200,
         0,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 1000,
       "label": "251 - 1.000"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         182,
         255,
         143,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 2000,
       "label": "1.001 - 2.000"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         51,
         194,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 5000,
       "label": "2.001 - 5.000"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         0,
         0,
         255,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.4
        }
       },
       "classMaxValue": 11698,
       "label": "5.001 - 11.698"
      }
     ],
     "legendOptions": {"order": "ascendingValues"}
    },
    "scaleSymbols": true,
    "transparency": 50,
    "labelingInfo": [
     {
      "labelExpression": "[SECTORS] CONCAT  NEWLINE  CONCAT [NOMBRE_D_H] CONCAT \" \" CONCAT \"habitatges\"",
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "removeDuplicates": "none",
      "multiPart": "labelPerPart",
      "deconflictionStrategy": "static",
      "repeatLabel": false,
      "allowOverrun": false,
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Default",
      "priority": 5,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Calibri",
        "size": 12,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4000000004,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "BARRIS",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID_1",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID_1",
     "domain": null
    },
    {
     "name": "PERIMETER",
     "type": "esriFieldTypeDouble",
     "alias": "Perímetre",
     "domain": null
    },
    {
     "name": "NB_",
     "type": "esriFieldTypeInteger",
     "alias": "NB",
     "domain": null
    },
    {
     "name": "NB_ID",
     "type": "esriFieldTypeInteger",
     "alias": "NB id",
     "domain": null
    },
    {
     "name": "BARRIS",
     "type": "esriFieldTypeString",
     "alias": "Barris",
     "length": 25,
     "domain": null
    },
    {
     "name": "SECTORS",
     "type": "esriFieldTypeString",
     "alias": "Sectors",
     "length": 25,
     "domain": null
    },
    {
     "name": "ID_SECTOR",
     "type": "esriFieldTypeInteger",
     "alias": "Codi sector",
     "domain": null
    },
    {
     "name": "NOM_COMPLE",
     "type": "esriFieldTypeString",
     "alias": "Nom complet",
     "length": 100,
     "domain": null
    },
    {
     "name": "NOMBRE_D_H",
     "type": "esriFieldTypeDouble",
     "alias": "Nombre DH",
     "domain": null
    },
    {
     "name": "M2",
     "type": "esriFieldTypeDouble",
     "alias": "m2",
     "domain": null
    },
    {
     "name": "HECTAREES",
     "type": "esriFieldTypeDouble",
     "alias": "Hectàrees",
     "domain": null
    },
    {
     "name": "HABITG_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Habitatges/Hectàrea",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE_Length",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_OBJECTID_1",
     "fields": "OBJECTID_1",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": false,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE_Area",
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "aa019855eb6245599e0bf5dd5ff7b25c"
  }
 ],
 "tables": []
}