{
 "layers": [
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 0,
   "name": "Àrees Bàsiques de Salut",
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       220,
       186,
       252,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        38,
        115,
        0,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {
       "expression": "$feature.ABS",
       "title": "Custom"
      },
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelLargest",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Class 1",
      "priority": -1,
      "symbol": {
       "type": "esriTS",
       "color": [
        56,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Tahoma",
        "size": 10,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "PERIMETER",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER",
     "domain": null
    },
    {
     "name": "ABS_",
     "type": "esriFieldTypeInteger",
     "alias": "ABS_",
     "domain": null
    },
    {
     "name": "ABS_ID",
     "type": "esriFieldTypeInteger",
     "alias": "ABS_ID",
     "domain": null
    },
    {
     "name": "ABS",
     "type": "esriFieldTypeString",
     "alias": "ABS",
     "length": 25,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SHAPE.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R622_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A601_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "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": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.AREA",
    "shapeLengthFieldName": "SHAPE.LEN",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "8b188d535e9548d0b45a9c3fe29bb3ea"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 1,
   "name": "Serveis Atenció social",
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       186,
       219,
       252,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        255,
        0,
        0,
        255
       ],
       "width": 1
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {
       "expression": "$feature.SSOCIALS",
       "title": "Custom"
      },
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelLargest",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "allowOverlapOfFeatureInterior": "avoid",
      "allowOverlapOfFeatureBoundary": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 0,
      "name": "Class 1",
      "priority": -1,
      "symbol": {
       "type": "esriTS",
       "color": [
        78,
        78,
        78,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "baseline",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Corbel",
        "size": 11,
        "style": "italic",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NOM_ZONA",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODI_ZONA",
     "type": "esriFieldTypeInteger",
     "alias": "CODI_ZONA",
     "domain": null
    },
    {
     "name": "NOM_ZONA",
     "type": "esriFieldTypeString",
     "alias": "NOM_ZONA",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R641_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A620_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "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": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.AREA",
    "shapeLengthFieldName": "SHAPE.LEN",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "8b188d535e9548d0b45a9c3fe29bb3ea"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 2,
   "name": "Codis Postals",
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "CPOSTAL",
     "defaultSymbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       130,
       130,
       130,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.7
      }
     },
     "defaultLabel": "<all other values>",
     "uniqueValueGroups": [
      {
       "heading": "",
       "classes": [
        {
         "label": "17001",
         "description": "17001",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           237,
           81,
           81,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17001"
          ]
         ]
        },
        {
         "label": "17002",
         "description": "17002",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           20,
           158,
           206,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17002"
          ]
         ]
        },
        {
         "label": "17003",
         "description": "17003",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17003"
          ]
         ]
        },
        {
         "label": "17004",
         "description": "17004",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           158,
           85,
           156,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17004"
          ]
         ]
        },
        {
         "label": "17005",
         "description": "17005",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           252,
           146,
           31,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17005"
          ]
         ]
        },
        {
         "label": "17006",
         "description": "17006",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17006"
          ]
         ]
        },
        {
         "label": "17007",
         "description": "17007",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           247,
           137,
           216,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17007"
          ]
         ]
        },
        {
         "label": "17461",
         "description": "17461",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           183,
           129,
           74,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            110,
            110,
            110,
            255
           ],
           "width": 0.7
          }
         },
         "values": [
          [
           "17461"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         237,
         81,
         81,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17001",
       "label": "17001"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         20,
         158,
         206,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17002",
       "label": "17002"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17003",
       "label": "17003"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         158,
         85,
         156,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17004",
       "label": "17004"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         252,
         146,
         31,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17005",
       "label": "17005"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17006",
       "label": "17006"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         247,
         137,
         216,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17007",
       "label": "17007"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         183,
         129,
         74,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          110,
          110,
          110,
          255
         ],
         "width": 0.7
        }
       },
       "value": "17461",
       "label": "17461"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          237,
          81,
          81,
          255
         ],
         "toColor": [
          237,
          81,
          81,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          21,
          160,
          207,
          255
         ],
         "toColor": [
          21,
          160,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          167,
          199,
          54,
          255
         ],
         "toColor": [
          167,
          199,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          158,
          85,
          156,
          255
         ],
         "toColor": [
          158,
          85,
          156,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          145,
          30,
          255
         ],
         "toColor": [
          252,
          145,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          255,
          223,
          61,
          255
         ],
         "toColor": [
          255,
          223,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          136,
          216,
          255
         ],
         "toColor": [
          247,
          136,
          216,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          129,
          73,
          255
         ],
         "toColor": [
          184,
          129,
          73,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          60,
          176,
          155,
          255
         ],
         "toColor": [
          60,
          176,
          155,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          107,
          107,
          214,
          255
         ],
         "toColor": [
          107,
          107,
          214,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {
       "expression": "$feature.CPOSTAL",
       "title": "Custom"
      },
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelLargest",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "allowOverlapOfFeatureInterior": "avoid",
      "allowOverlapOfFeatureBoundary": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Class 1",
      "priority": -1,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 1,
       "font": {
        "family": "Tahoma",
        "size": 10,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 482001.9853,
    "ymin": 4643046.0917,
    "xmax": 491535.3986,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "PERIMETER",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "PERIMETER",
     "type": "esriFieldTypeDouble",
     "alias": "PERIMETER",
     "domain": null
    },
    {
     "name": "CPOSTALS_",
     "type": "esriFieldTypeInteger",
     "alias": "CPOSTALS_",
     "domain": null
    },
    {
     "name": "CPOSTALS_ID",
     "type": "esriFieldTypeInteger",
     "alias": "CPOSTALS_ID",
     "domain": null
    },
    {
     "name": "CPOSTAL",
     "type": "esriFieldTypeString",
     "alias": "CPOSTAL",
     "length": 5,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SHAPE.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R637_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A616_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "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": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.AREA",
    "shapeLengthFieldName": "SHAPE.LEN",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "8b188d535e9548d0b45a9c3fe29bb3ea"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 3,
   "name": "Regidores de barri",
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "uniqueValue",
     "field1": "FIRST_REGI",
     "uniqueValueGroups": [
      {
       "heading": "NOM_REGIDORIA",
       "classes": [
        {
         "label": "Avellaneda, Palau-sacosta i Mas Xirgu",
         "description": "Avellaneda, Palau-sacosta i Mas Xirgu",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           237,
           81,
           81,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Avellaneda, Palau-sacosta i Mas Xirgu"
          ]
         ]
        },
        {
         "label": "Barri Vell, Figuerola-Bonastruc i Mercadal",
         "description": "Barri Vell, Figuerola-Bonastruc i Mercadal",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           20,
           158,
           206,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Barri Vell, Figuerola-Bonastruc i Mercadal"
          ]
         ]
        },
        {
         "label": "Can Gibert del Pla",
         "description": "Can Gibert del Pla",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Can Gibert del Pla"
          ]
         ]
        },
        {
         "label": "Carme-Vista Alegre",
         "description": "Carme-Vista Alegre",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           158,
           85,
           156,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Carme-Vista Alegre"
          ]
         ]
        },
        {
         "label": "Devesa - Güell i Torre Gironella",
         "description": "Devesa - Güell i Torre Gironella",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           252,
           146,
           31,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Devesa - Güell i Torre Gironella"
          ]
         ]
        },
        {
         "label": "Domeny - Taialà",
         "description": "Domeny - Taialà",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Domeny - Taialà"
          ]
         ]
        },
        {
         "label": "Eixample",
         "description": "Eixample",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           247,
           137,
           216,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Eixample"
          ]
         ]
        },
        {
         "label": "Fontajau i Sant Ponç",
         "description": "Fontajau i Sant Ponç",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           183,
           129,
           74,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Fontajau i Sant Ponç"
          ]
         ]
        },
        {
         "label": "Montilivi-La Creueta, Gns. Sàbat, Torres de Taialà",
         "description": "Montilivi-La Creueta, Gns. Sàbat, Torres de Taialà",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           60,
           175,
           153,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Montilivi-La Creueta, Gns. Sàbat, Torres de Taialà"
          ]
         ]
        },
        {
         "label": "Montjuïc",
         "description": "Montjuïc",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           107,
           107,
           214,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Montjuïc"
          ]
         ]
        },
        {
         "label": "Pedreres-Fora Muralla i Sector Est",
         "description": "Pedreres-Fora Muralla i Sector Est",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           237,
           81,
           81,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Pedreres-Fora Muralla i Sector Est"
          ]
         ]
        },
        {
         "label": "Pedret, Vall de Sant Daniel i Pujada a la Torrassa",
         "description": "Pedret, Vall de Sant Daniel i Pujada a la Torrassa",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           20,
           158,
           206,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Pedret, Vall de Sant Daniel i Pujada a la Torrassa"
          ]
         ]
        },
        {
         "label": "Pla de Palau-Sant Pau",
         "description": "Pla de Palau-Sant Pau",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           167,
           198,
           54,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Pla de Palau-Sant Pau"
          ]
         ]
        },
        {
         "label": "Pont Major i Campdorà - Gavarres",
         "description": "Pont Major i Campdorà - Gavarres",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           158,
           85,
           156,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Pont Major i Campdorà - Gavarres"
          ]
         ]
        },
        {
         "label": "Sant Narcís",
         "description": "Sant Narcís",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           252,
           146,
           31,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Sant Narcís"
          ]
         ]
        },
        {
         "label": "Santa Eugènia de Ter",
         "description": "Santa Eugènia de Ter",
         "symbol": {
          "type": "esriSFS",
          "style": "esriSFSSolid",
          "color": [
           255,
           222,
           62,
           255
          ],
          "outline": {
           "type": "esriSLS",
           "style": "esriSLSSolid",
           "color": [
            255,
            255,
            255,
            255
           ],
           "width": 2
          }
         },
         "values": [
          [
           "Santa Eugènia de Ter"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         237,
         81,
         81,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Avellaneda, Palau-sacosta i Mas Xirgu",
       "label": "Avellaneda, Palau-sacosta i Mas Xirgu"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         20,
         158,
         206,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Barri Vell, Figuerola-Bonastruc i Mercadal",
       "label": "Barri Vell, Figuerola-Bonastruc i Mercadal"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Can Gibert del Pla",
       "label": "Can Gibert del Pla"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         158,
         85,
         156,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Carme-Vista Alegre",
       "label": "Carme-Vista Alegre"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         252,
         146,
         31,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Devesa - Güell i Torre Gironella",
       "label": "Devesa - Güell i Torre Gironella"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Domeny - Taialà",
       "label": "Domeny - Taialà"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         247,
         137,
         216,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Eixample",
       "label": "Eixample"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         183,
         129,
         74,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Fontajau i Sant Ponç",
       "label": "Fontajau i Sant Ponç"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         60,
         175,
         153,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Montilivi-La Creueta, Gns. Sàbat, Torres de Taialà",
       "label": "Montilivi-La Creueta, Gns. Sàbat, Torres de Taialà"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         107,
         107,
         214,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Montjuïc",
       "label": "Montjuïc"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         237,
         81,
         81,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Pedreres-Fora Muralla i Sector Est",
       "label": "Pedreres-Fora Muralla i Sector Est"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         20,
         158,
         206,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Pedret, Vall de Sant Daniel i Pujada a la Torrassa",
       "label": "Pedret, Vall de Sant Daniel i Pujada a la Torrassa"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         167,
         198,
         54,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Pla de Palau-Sant Pau",
       "label": "Pla de Palau-Sant Pau"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         158,
         85,
         156,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Pont Major i Campdorà - Gavarres",
       "label": "Pont Major i Campdorà - Gavarres"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         252,
         146,
         31,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Sant Narcís",
       "label": "Sant Narcís"
      },
      {
       "symbol": {
        "type": "esriSFS",
        "style": "esriSFSSolid",
        "color": [
         255,
         222,
         62,
         255
        ],
        "outline": {
         "type": "esriSLS",
         "style": "esriSLSSolid",
         "color": [
          255,
          255,
          255,
          255
         ],
         "width": 2
        }
       },
       "value": "Santa Eugènia de Ter",
       "label": "Santa Eugènia de Ter"
      }
     ],
     "fieldDelimiter": ";",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          237,
          81,
          81,
          255
         ],
         "toColor": [
          237,
          81,
          81,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          21,
          160,
          207,
          255
         ],
         "toColor": [
          21,
          160,
          207,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          167,
          199,
          54,
          255
         ],
         "toColor": [
          167,
          199,
          54,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          158,
          85,
          156,
          255
         ],
         "toColor": [
          158,
          85,
          156,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          252,
          145,
          30,
          255
         ],
         "toColor": [
          252,
          145,
          30,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          255,
          223,
          61,
          255
         ],
         "toColor": [
          255,
          223,
          61,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          136,
          216,
          255
         ],
         "toColor": [
          247,
          136,
          216,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          184,
          129,
          73,
          255
         ],
         "toColor": [
          184,
          129,
          73,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          60,
          176,
          155,
          255
         ],
         "toColor": [
          60,
          176,
          155,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          107,
          107,
          214,
          255
         ],
         "toColor": [
          107,
          107,
          214,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpressionInfo": {
       "expression": "$feature.FIRST_REGI",
       "title": "Custom"
      },
      "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal",
      "multiPart": "labelLargest",
      "allowOverrun": true,
      "deconflictionStrategy": "dynamic",
      "repeatLabel": false,
      "useClippedGeometry": false,
      "allowOverlapOfFeatureInterior": "avoid",
      "allowOverlapOfFeatureBoundary": "avoid",
      "stackLabel": true,
      "stackAlignment": "dynamic",
      "removeDuplicates": "none",
      "stackRowLength": 24,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 50000,
      "name": "Class 1",
      "priority": -1,
      "symbol": {
       "type": "esriTS",
       "color": [
        0,
        0,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "left",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": null,
       "haloSize": null,
       "font": {
        "family": "Tahoma",
        "size": 10,
        "style": "normal",
        "weight": "normal",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482001.957,
    "ymin": 4643046.1,
    "xmax": 491535.4,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 10000,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ID_REGIDOR",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID_REGIDOR",
     "type": "esriFieldTypeInteger",
     "alias": "ID_REGIDOR",
     "domain": null
    },
    {
     "name": "FIRST_REGI",
     "type": "esriFieldTypeString",
     "alias": "NOM_REGIDORIA",
     "length": 50,
     "domain": null
    },
    {
     "name": "FIRST_RE_1",
     "type": "esriFieldTypeString",
     "alias": "REGIDOR",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "Shape",
     "domain": null
    },
    {
     "name": "SHAPE.AREA",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.AREA",
     "domain": null
    },
    {
     "name": "SHAPE.LEN",
     "type": "esriFieldTypeDouble",
     "alias": "SHAPE.LEN",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "Shape"
   },
   "indexes": [
    {
     "name": "R646_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A625_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": true,
   "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": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasGeometryProperties": true,
   "geometryProperties": {
    "shapeAreaFieldName": "SHAPE.AREA",
    "shapeLengthFieldName": "SHAPE.LEN",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "8b188d535e9548d0b45a9c3fe29bb3ea"
  }
 ],
 "tables": []
}