{
 "layers": [
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 0,
   "name": "Xarxa viària PPIF",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPolyline",
   "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": -100000,
    "mUnits": 10000
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       170,
       170,
       170,
       255
      ],
      "width": 3
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483834.76999999955,
    "ymin": 4644782.800000001,
    "xmax": 491404.73000000045,
    "ymax": 4652422.109999999,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "COMENTARI",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "COMENTARI",
     "type": "esriFieldTypeString",
     "alias": "Comentari",
     "length": 100,
     "domain": null
    },
    {
     "name": "CAT_ACTUAL",
     "type": "esriFieldTypeString",
     "alias": "Cat actual",
     "length": 50,
     "domain": null
    },
    {
     "name": "CAT_PLANIF",
     "type": "esriFieldTypeString",
     "alias": "Cat planificat",
     "length": 50,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 100,
     "domain": null
    },
    {
     "name": "DESCRIPCIO",
     "type": "esriFieldTypeString",
     "alias": "Descripció",
     "length": 200,
     "domain": null
    },
    {
     "name": "PRIOR_EXEC",
     "type": "esriFieldTypeString",
     "alias": "Prioritat exec",
     "length": 50,
     "domain": null
    },
    {
     "name": "CONNEXIO",
     "type": "esriFieldTypeString",
     "alias": "Connexió",
     "length": 100,
     "domain": null
    },
    {
     "name": "FUNCIO",
     "type": "esriFieldTypeString",
     "alias": "Funció",
     "length": 200,
     "domain": null
    },
    {
     "name": "LONGITUD",
     "type": "esriFieldTypeSingle",
     "alias": "Longitud",
     "domain": null
    },
    {
     "name": "FRANJA",
     "type": "esriFieldTypeString",
     "alias": "Franja",
     "length": 50,
     "domain": null
    },
    {
     "name": "ANY_ACTUA",
     "type": "esriFieldTypeString",
     "alias": "Any actualització",
     "length": 50,
     "domain": null
    },
    {
     "name": "ACTUA_PPI",
     "type": "esriFieldTypeString",
     "alias": "Actualització PPIF",
     "length": 100,
     "domain": null
    },
    {
     "name": "AJUNT",
     "type": "esriFieldTypeString",
     "alias": "Ajuntament",
     "length": 100,
     "domain": null
    },
    {
     "name": "GENE",
     "type": "esriFieldTypeString",
     "alias": "Generalitat",
     "length": 100,
     "domain": null
    },
    {
     "name": "CODI_VIAL",
     "type": "esriFieldTypeString",
     "alias": "Codi vial",
     "length": 50,
     "domain": null
    },
    {
     "name": "FRANJACTUA",
     "type": "esriFieldTypeString",
     "alias": "Franja actuació",
     "length": 50,
     "domain": null
    },
    {
     "name": "FUNC_SEGUR",
     "type": "esriFieldTypeString",
     "alias": "Func segur",
     "length": 10,
     "domain": null
    },
    {
     "name": "FUNC_ANCOR",
     "type": "esriFieldTypeString",
     "alias": "Func ancor",
     "length": 10,
     "domain": null
    },
    {
     "name": "FUNC_ESTRA",
     "type": "esriFieldTypeString",
     "alias": "Func estra",
     "length": 10,
     "domain": null
    },
    {
     "name": "FUNC_CONN",
     "type": "esriFieldTypeString",
     "alias": "Func conn",
     "length": 10,
     "domain": null
    },
    {
     "name": "CODIVIAADF",
     "type": "esriFieldTypeString",
     "alias": "Codi Via ADF",
     "length": 20,
     "domain": null
    },
    {
     "name": "ACTUA",
     "type": "esriFieldTypeString",
     "alias": "Actuacions",
     "length": 60,
     "domain": null
    },
    {
     "name": "CODI22",
     "type": "esriFieldTypeString",
     "alias": "Codi22",
     "length": 5,
     "domain": null
    },
    {
     "name": "CATEG22",
     "type": "esriFieldTypeString",
     "alias": "Categ22",
     "length": 20,
     "domain": null
    },
    {
     "name": "LONG_",
     "type": "esriFieldTypeDouble",
     "alias": "Longitud",
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "hasZ": true,
   "hasM": 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": {
    "shapeLengthFieldName": "SHAPE_Length",
    "units": "esriMeters",
    "mapUnits": {"uwkid": 9001}
   },
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 1,
   "name": "Punts crítics associats a la xarxa viària",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "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": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "35906974d3d36c47e5ff6cfe58505439",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA40lEQVQokbXRsSuEYRwH8M/lzWZyq2y6shpuuzqEDGxS4oYb/AFGySgxWG6QIqXOZmCwYLpOhutKnXJXt5H8CUSvXinlfbnLt37L83w/Pc/TE+giwX/iNJ47xbPY+zM+JL/DzCi3m1R/hd9IlbgcIFfACJOvHG1TSMS7rI6RG0ITWYJBFlpcnXDwE86E3VPmelGJJir0PLIY9eqofcd34WSZWGI4hRdfd72gUo05+SP9rJWZnqfvc61M45z9xDcvc7/CeJv1Gpk2N8dsPNFKxGG2uMYUih39c5SHuM0kfNYNjs07yUkxjoiYsiAAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 11,
      "height": 11,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 486250.6299999999,
    "ymin": 4646253.550000001,
    "xmax": 489543.11000000034,
    "ymax": 4650312.7006,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CONCEPTE",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CONCEPTE",
     "type": "esriFieldTypeString",
     "alias": "Concepte",
     "length": 20,
     "domain": null
    },
    {
     "name": "ACTUACIO",
     "type": "esriFieldTypeString",
     "alias": "Actuació",
     "length": 30,
     "domain": null
    },
    {
     "name": "CODIVIAL",
     "type": "esriFieldTypeString",
     "alias": "Codi Vial",
     "length": 10,
     "domain": null
    },
    {
     "name": "UTM_X",
     "type": "esriFieldTypeInteger",
     "alias": "UTM_X",
     "domain": null
    },
    {
     "name": "UTM_Y",
     "type": "esriFieldTypeInteger",
     "alias": "UTM_Y",
     "domain": null
    },
    {
     "name": "CODI22",
     "type": "esriFieldTypeString",
     "alias": "Codi 22",
     "length": 4,
     "domain": null
    },
    {
     "name": "CODIVIAL22",
     "type": "esriFieldTypeString",
     "alias": "Codi vial 22",
     "length": 5,
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 2,
   "name": "Punts d'aigua",
   "type": "Feature Layer",
   "description": "",
   "geometryType": "esriGeometryPoint",
   "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": "uniqueValue",
     "field1": "TIPUS",
     "defaultSymbol": {
      "type": "esriPMS",
      "url": "c233fc3fbcb79fc89595e7801bab614f",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAK0lEQVRIie3QIQEAAAjAMAT9M1NgFvcFuPjOoy0ubaG2UFuoLdQWagu9bjmZegBdoQprrAAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 17,
      "height": 17,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 0
     },
     "defaultLabel": "",
     "uniqueValueGroups": [
      {
       "heading": "Tipus",
       "classes": [
        {
         "label": "Bassa",
         "description": "Bassa",
         "symbol": {
          "type": "esriPMS",
          "url": "f0140315f47f51aedb51dd1bff82203c",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAXElEQVQokWNhIBOwUKzxhfpFpx/c/wXwKeZ/9/+c4APDByga96dLlp8JFHXDpzG06k42wwOGadRxKqmAhWQdI1Gj0IPvr/W2v7uETzHTH8a3GBrdJ8nHkGUjqQAA1LwYrCeSlc4AAAAASUVORK5CYII=",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Bassa"
          ]
         ]
        },
        {
         "label": "Dipòsit xapa",
         "description": "Dipòsit xapa",
         "symbol": {
          "type": "esriPMS",
          "url": "34404e345a8cea4104a7f7e6c7b7b562",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABO0lEQVQokWNhIBOwUFXjf4aDim+UuLU43v35xvOB5SQjg8k3vBo/8xwSvRgk09eZIOH8WpFTkunv/79ae9+du7X46hK1I9qTsGr8z/CfcUvO0+kH0qWDYWL/mBmZr7gJm94z49e6VnSNWWu/Vj+GxrP+t5KPJKoEYHP6NwEW7hPR4sn/95+ZCXM2XOMDM37HP2xMzLgC47qDoPYd86euDCcZNqJo/M3OxI9LEwj8Y2Zk+CrMJgTmIGvkfvfrKQMeIPLwx2/u1z9OYWgUe/h9ovz5z6EPDXkFsWk03PTmuOppg6sYGi2Wql7bJvm47j8DQ9sjQ15euIJf/0CaLorf+xKPbBBKPHr1yE7ZlXX/iMy1r1VfBFkVmf/9/yb04PuRU7yytREbxP/h1AgCbtMULzAwMITh8y9WjcQCAHCscIJtQHShAAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 10,
          "height": 10,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Dipòsit xapa"
          ]
         ]
        },
        {
         "label": "Hidrant",
         "description": "Hidrant",
         "symbol": {
          "type": "esriPMS",
          "url": "ad88b928fa2aa02d20883624a3709a85",
          "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABBUlEQVQokWNhoACw0FKzCAMDwxtyNQcwMDDMIV2z2yInhosT/Rmkna8wnOs6QaTm/4wMjtP2M/DJ2jNoJTAwiJl4MPz/u5ThfG8CYc3Os2oYZFzsGQTVGBg+3GFgkLRgYeCTj2H4dPcAw90NC3Bp1mBgYLBguL8lnIGZjYHh+TEIZgIrYWb4+iIOqu4iAwPDeXTNN8BYwsKdQStem4GBkYHh3x8GsNNB4PG+YwwvTuC0GSoiXMdwc4U3g3okL1zs1orrDPd2zifs50MZtxmMS1wZPj1oYHh9XoPh04PTDDdXdjD8fHWXsGYQONtzkoGBwZOBgSGFvHiGgOf4JAlp3kqJZrwAADRlSTxeFwsVAAAAAElFTkSuQmCC",
          "contentType": "image/png",
          "width": 11,
          "height": 11,
          "angle": 0,
          "xoffset": 0,
          "yoffset": 0
         },
         "values": [
          [
           "Hidrant"
          ]
         ]
        }
       ]
      }
     ],
     "uniqueValueInfos": [
      {
       "symbol": {
        "type": "esriPMS",
        "url": "f0140315f47f51aedb51dd1bff82203c",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAXElEQVQokWNhIBOwUKzxhfpFpx/c/wXwKeZ/9/+c4APDByga96dLlp8JFHXDpzG06k42wwOGadRxKqmAhWQdI1Gj0IPvr/W2v7uETzHTH8a3GBrdJ8nHkGUjqQAA1LwYrCeSlc4AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Bassa",
       "label": "Bassa"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "34404e345a8cea4104a7f7e6c7b7b562",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABO0lEQVQokWNhIBOwUFXjf4aDim+UuLU43v35xvOB5SQjg8k3vBo/8xwSvRgk09eZIOH8WpFTkunv/79ae9+du7X46hK1I9qTsGr8z/CfcUvO0+kH0qWDYWL/mBmZr7gJm94z49e6VnSNWWu/Vj+GxrP+t5KPJKoEYHP6NwEW7hPR4sn/95+ZCXM2XOMDM37HP2xMzLgC47qDoPYd86euDCcZNqJo/M3OxI9LEwj8Y2Zk+CrMJgTmIGvkfvfrKQMeIPLwx2/u1z9OYWgUe/h9ovz5z6EPDXkFsWk03PTmuOppg6sYGi2Wql7bJvm47j8DQ9sjQ15euIJf/0CaLorf+xKPbBBKPHr1yE7ZlXX/iMy1r1VfBFkVmf/9/yb04PuRU7yytREbxP/h1AgCbtMULzAwMITh8y9WjcQCAHCscIJtQHShAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 10,
        "height": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Dipòsit xapa",
       "label": "Dipòsit xapa"
      },
      {
       "symbol": {
        "type": "esriPMS",
        "url": "ad88b928fa2aa02d20883624a3709a85",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABBUlEQVQokWNhoACw0FKzCAMDwxtyNQcwMDDMIV2z2yInhosT/Rmkna8wnOs6QaTm/4wMjtP2M/DJ2jNoJTAwiJl4MPz/u5ThfG8CYc3Os2oYZFzsGQTVGBg+3GFgkLRgYeCTj2H4dPcAw90NC3Bp1mBgYLBguL8lnIGZjYHh+TEIZgIrYWb4+iIOqu4iAwPDeXTNN8BYwsKdQStem4GBkYHh3x8GsNNB4PG+YwwvTuC0GSoiXMdwc4U3g3okL1zs1orrDPd2zifs50MZtxmMS1wZPj1oYHh9XoPh04PTDDdXdjD8fHWXsGYQONtzkoGBwZOBgSGFvHiGgOf4JAlp3kqJZrwAADRlSTxeFwsVAAAAAElFTkSuQmCC",
        "contentType": "image/png",
        "width": 11,
        "height": 11,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0
       },
       "value": "Hidrant",
       "label": "Hidrant"
      }
     ],
     "fieldDelimiter": ",",
     "authoringInfo": {
      "colorRamp": {
       "type": "multipart",
       "colorRamps": [
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          196,
          108,
          152,
          255
         ],
         "toColor": [
          196,
          108,
          152,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          109,
          242,
          99,
          255
         ],
         "toColor": [
          109,
          242,
          99,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          81,
          208,
          219,
          255
         ],
         "toColor": [
          81,
          208,
          219,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          91,
          111,
          245,
          255
         ],
         "toColor": [
          91,
          111,
          245,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          148,
          133,
          56,
          255
         ],
         "toColor": [
          148,
          133,
          56,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          88,
          105,
          138,
          255
         ],
         "toColor": [
          88,
          105,
          138,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          228,
          105,
          250,
          255
         ],
         "toColor": [
          228,
          105,
          250,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          238,
          245,
          137,
          255
         ],
         "toColor": [
          238,
          245,
          137,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          74,
          140,
          97,
          255
         ],
         "toColor": [
          74,
          140,
          97,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          247,
          134,
          99,
          255
         ],
         "toColor": [
          247,
          134,
          99,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          104,
          247,
          185,
          255
         ],
         "toColor": [
          104,
          247,
          185,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          115,
          52,
          140,
          255
         ],
         "toColor": [
          115,
          52,
          140,
          255
         ]
        },
        {
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm",
         "fromColor": [
          128,
          78,
          60,
          255
         ],
         "toColor": [
          128,
          78,
          60,
          255
         ]
        }
       ]
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 484091.28089999966,
    "ymin": 4642938.1417,
    "xmax": 494429.98319999967,
    "ymax": 4653615.171700001,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NOM",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NUMERO",
     "type": "esriFieldTypeDouble",
     "alias": "Número",
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 254,
     "domain": null
    },
    {
     "name": "MUNICIPI",
     "type": "esriFieldTypeString",
     "alias": "Municipi",
     "length": 254,
     "domain": null
    },
    {
     "name": "PARC_RESPO",
     "type": "esriFieldTypeString",
     "alias": "Parc responsable",
     "length": 254,
     "domain": null
    },
    {
     "name": "TIPUS",
     "type": "esriFieldTypeString",
     "alias": "Tipus",
     "length": 254,
     "domain": null
    },
    {
     "name": "ANY_EXECUC",
     "type": "esriFieldTypeDouble",
     "alias": "Any execució",
     "domain": null
    },
    {
     "name": "CAPACITAT_",
     "type": "esriFieldTypeDouble",
     "alias": "Capacitat",
     "domain": null
    },
    {
     "name": "PRIOR_",
     "type": "esriFieldTypeDouble",
     "alias": "Prioritat",
     "domain": null
    },
    {
     "name": "AUTO",
     "type": "esriFieldTypeString",
     "alias": "Auto",
     "length": 254,
     "domain": null
    },
    {
     "name": "PROPIETAT",
     "type": "esriFieldTypeString",
     "alias": "Propietat",
     "length": 254,
     "domain": null
    },
    {
     "name": "F13",
     "type": "esriFieldTypeString",
     "alias": "F13",
     "length": 254,
     "domain": null
    },
    {
     "name": "OPERATIU",
     "type": "esriFieldTypeString",
     "alias": "OPERATIU",
     "length": 50,
     "domain": null
    },
    {
     "name": "X",
     "type": "esriFieldTypeInteger",
     "alias": "UTM X",
     "domain": null
    },
    {
     "name": "Y",
     "type": "esriFieldTypeInteger",
     "alias": "UTM Y",
     "domain": null
    },
    {
     "name": "CODI22",
     "type": "esriFieldTypeString",
     "alias": "Codi 22",
     "length": 4,
     "domain": null
    },
    {
     "name": "XARXA22",
     "type": "esriFieldTypeString",
     "alias": "Xarxa 22",
     "length": 15,
     "domain": null
    },
    {
     "name": "ACCES_HC",
     "type": "esriFieldTypeString",
     "alias": "Accés HC",
     "length": 2,
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 3,
   "name": "Àrea de baixa càrrega de combustible (ABC)",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 487116.38320000004,
    "ymin": 4646181.800000001,
    "xmax": 491535.4000000004,
    "ymax": 4650656.1,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CODI",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeString",
     "alias": "Codi",
     "length": 10,
     "domain": null
    },
    {
     "name": "TIP_ACTUAL",
     "type": "esriFieldTypeString",
     "alias": "Tipus actuació",
     "length": 3,
     "domain": null
    },
    {
     "name": "TIP_PLANIF",
     "type": "esriFieldTypeString",
     "alias": "Tipus planificació",
     "length": 3,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 50,
     "domain": null
    },
    {
     "name": "PRIOR_",
     "type": "esriFieldTypeInteger",
     "alias": "Prioritat",
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "Estat",
     "length": 2,
     "domain": null
    },
    {
     "name": "ANY_ACT",
     "type": "esriFieldTypeInteger",
     "alias": "Any actuació",
     "domain": null
    },
    {
     "name": "SUPERF_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície Ha",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície m2",
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 4,
   "name": "Àrea complementària (AC)",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       230,
       230,
       0,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 486920.44269999955,
    "ymin": 4646184.3762,
    "xmax": 488380.3008000003,
    "ymax": 4652015.0835,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NOM",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ANY_PLANIF",
     "type": "esriFieldTypeDouble",
     "alias": "Any planificació",
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 50,
     "domain": null
    },
    {
     "name": "TIP_ACTUAL",
     "type": "esriFieldTypeString",
     "alias": "Tipus actual",
     "length": 3,
     "domain": null
    },
    {
     "name": "TIP_PLANIF",
     "type": "esriFieldTypeString",
     "alias": "Tipus planificació",
     "length": 3,
     "domain": null
    },
    {
     "name": "PRIOR_",
     "type": "esriFieldTypeInteger",
     "alias": "Prioritat",
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "Estat",
     "length": 2,
     "domain": null
    },
    {
     "name": "ANY_ACTUAC",
     "type": "esriFieldTypeInteger",
     "alias": "Any actuació",
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeString",
     "alias": "Codi",
     "length": 10,
     "domain": null
    },
    {
     "name": "SUPERF_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície Ha",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície  m2",
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 5,
   "name": "Àrea segura (AS)",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       163,
       255,
       115,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 487253.4324000003,
    "ymin": 4647281.25,
    "xmax": 489664.91199999955,
    "ymax": 4650357.215,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CODI",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeString",
     "alias": "Codi",
     "length": 10,
     "domain": null
    },
    {
     "name": "TIP_ACTUAL",
     "type": "esriFieldTypeString",
     "alias": "Tipus actual",
     "length": 3,
     "domain": null
    },
    {
     "name": "TIP_PLANIF",
     "type": "esriFieldTypeString",
     "alias": "Tipus planificació",
     "length": 3,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 50,
     "domain": null
    },
    {
     "name": "PRIOR_",
     "type": "esriFieldTypeInteger",
     "alias": "Prioritat",
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "Estat",
     "length": 2,
     "domain": null
    },
    {
     "name": "ANY_ACT",
     "type": "esriFieldTypeInteger",
     "alias": "Any actuació",
     "domain": null
    },
    {
     "name": "SUPERF_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície Ha",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície  àrea",
     "domain": null
    }
   ],
   "geometryField": {},
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 6,
   "name": "Zona de foment de la gestió (ZFG)",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       223,
       115,
       255,
       255
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        110,
        110,
        110,
        255
       ],
       "width": 0.4
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483629.4940999998,
    "ymin": 4649670.252900001,
    "xmax": 484368.38630000036,
    "ymax": 4650245.699999999,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CODI",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeString",
     "alias": "Codi",
     "length": 10,
     "domain": null
    },
    {
     "name": "TIP_ACTUAL",
     "type": "esriFieldTypeString",
     "alias": "Tipus actual",
     "length": 3,
     "domain": null
    },
    {
     "name": "TIP_PLANIF",
     "type": "esriFieldTypeString",
     "alias": "Tipus planificació",
     "length": 3,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 50,
     "domain": null
    },
    {
     "name": "PRIOR_",
     "type": "esriFieldTypeInteger",
     "alias": "Prioritat",
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "Estat",
     "length": 2,
     "domain": null
    },
    {
     "name": "ANY_ACT",
     "type": "esriFieldTypeInteger",
     "alias": "Any actualització",
     "domain": null
    },
    {
     "name": "SUPERF_HA",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície Ha",
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "SHAPE_Area",
     "type": "esriFieldTypeDouble",
     "alias": "Superfície m2",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 7,
   "name": "Límit municipal",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSSolid",
       "color": [
        78,
        78,
        78,
        255
       ],
       "width": 2
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 482002,
    "ymin": 4643046.1,
    "xmax": 491535.4000000004,
    "ymax": 4653103.4575,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "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": "LIMITMUNI_",
     "type": "esriFieldTypeInteger",
     "alias": "LIMITMUNI_",
     "domain": null
    },
    {
     "name": "LIMITMUNI_ID",
     "type": "esriFieldTypeInteger",
     "alias": "LIMITMUNI_ID",
     "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",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 8,
   "name": "Límit PEIN",
   "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": "simple",
     "symbol": {
      "type": "esriSFS",
      "style": "esriSFSSolid",
      "color": [
       0,
       0,
       0,
       0
      ],
      "outline": {
       "type": "esriSLS",
       "style": "esriSLSDash",
       "color": [
        112,
        168,
        0,
        255
       ],
       "width": 3
      }
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 260294.75289999973,
    "ymin": 4486196.6796,
    "xmax": 527493.8910999997,
    "ymax": 4748124.755999999,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 0.001,
     "zTolerance": 0.001,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": -100000,
     "zUnits": 10000,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "CODIPEIN",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "ID_GRAFIC",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ID_GRAFIC",
     "domain": null
    },
    {
     "name": "CODIPEIN",
     "type": "esriFieldTypeString",
     "alias": "CODIPEIN",
     "length": 3,
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "NOM",
     "length": 70,
     "domain": null
    },
    {
     "name": "NOMOF",
     "type": "esriFieldTypeString",
     "alias": "NOMOF",
     "length": 70,
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeInteger",
     "alias": "CODI",
     "domain": null
    },
    {
     "name": "DELIMITACI",
     "type": "esriFieldTypeString",
     "alias": "DELIMITACI",
     "length": 100,
     "domain": null
    },
    {
     "name": "DISPOSI_LE",
     "type": "esriFieldTypeString",
     "alias": "DISPOSI_LE",
     "length": 140,
     "domain": null
    },
    {
     "name": "PLANIFICAC",
     "type": "esriFieldTypeString",
     "alias": "PLANIFICAC",
     "length": 110,
     "domain": null
    },
    {
     "name": "DATA_DOCG",
     "type": "esriFieldTypeString",
     "alias": "DATA_DOCG",
     "length": 10,
     "domain": null
    },
    {
     "name": "NUMERO_DOG",
     "type": "esriFieldTypeInteger",
     "alias": "NUMERO_DOG",
     "domain": null
    },
    {
     "name": "AMBIT",
     "type": "esriFieldTypeString",
     "alias": "AMBIT",
     "length": 16,
     "domain": null
    },
    {
     "name": "AREA_EIN_T",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_EIN_T",
     "domain": null
    },
    {
     "name": "AREA_EIN_M",
     "type": "esriFieldTypeDouble",
     "alias": "AREA_EIN_M",
     "domain": null
    },
    {
     "name": "FLAG",
     "type": "esriFieldTypeSmallInteger",
     "alias": "FLAG",
     "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",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "FDO_SHAPE",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": false,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Map,Query,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": "7aad783851844c52aa3f2757c7eb08f9"
  }
 ],
 "tables": []
}