{
 "layers": [
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 0,
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "53776b00df7efa7cc09aec2a98cd588e",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAfCAYAAADupU20AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABRklEQVQ4je2VsU7DMBCGz663IDJWFHWga2EKA2JmQWLnDcJi3RugwivYmfIaDOUJUgY8hZmRB6hgQnXQlTiKmlq1FLGg/tLJkZ3/8905cgT0lPgzgJRyxDm/AQCjlDJBAERMAWAEAGRMWBS7eRpMHXkbKFrmBxbFMzaZAjuIgZ1MgQ3Hv4tfS7Dvb4ktiwQ+lykiEuSuASBiyobj2eDiGgjQUXQI/OxyHQT7zu8JQqXlLoOUT063mz0wWxZUbu4ACaUcqhqQrEuQUlLT1nWHyr1LXgE9JfYA2PcA/kUPsiz7oBtntZjD4Oo2yGTLggZDXlHPnduyeKWHXRD78kybmaqqHpsSlFIGEXdC2mat9VMDCIFsM3eaqDwQn7kD2IS4m8dn9h6jqiGrxZwy8Zq9AAeRUh5zzo+01mF/pk3ROQMAhVe9v8Qf0m22GDACdgQAAAAASUVORK5CYII=",
      "contentType": "image/png",
      "width": 12,
      "height": 23,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 9.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483587.6945,
    "ymin": 4645139.5906,
    "xmax": 487100.0409,
    "ymax": 4649261.1858,
    "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": "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": 20,
     "domain": null
    },
    {
     "name": "OBSERVACIONS",
     "type": "esriFieldTypeString",
     "alias": "Observacions",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R914_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A893_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Query,Map,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,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "81f958bae6a74ca0a9f102a4cffc923a"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 1,
   "name": "Punts de llum",
   "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": 0,
    "zUnits": 1,
    "falseM": 0,
    "mUnits": 1
   },
   "copyrightText": "",
   "parentLayer": null,
   "subLayers": [],
   "minScale": 0,
   "maxScale": 0,
   "referenceScale": 0.0,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriPMS",
      "url": "e84ecbacc618c076caf58602fffd371a",
      "imageData": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAfCAYAAADupU20AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABP0lEQVQ4je2VsWrDMBBAD6EtEM9N8dA52lww5A8C3fMBBXcR9wch7S9ImfwbHZypo6BQbd6zdcho8OxyxjLGiYjAdAk5EGdkv2fdycgcJgb/N4GUcsEYewEAq5SyQQJEzABgAQAEJlFUu3lKthv5UMgH8HsU1bvl8ggEUo7jU3uvqmZQlk+JMSKpqlmGiCR56wWImMXxabdef7fgOObzGlarsh0k225fSUKl5W4FmRDHi7BPZoygcnMnSEJgF50gaUuQUlLT2rpDwz1LLIeJwe8CuPcAbqIH+/3+l06cokhhs/kKgowRlCyxvJt7Nkb80MU1yeGQ0sts0zQffQlKKYuIVyVDWGv92QtCJJfgsyYqj8QHnwnGEnfy+GDvNqpOUhQprcQLewVOIqV8ZIw9aK3D/kzjoH0GABremPwl/gGDo7rneiIeLgAAAABJRU5ErkJggg==",
      "contentType": "image/png",
      "width": 12,
      "height": 23,
      "angle": 0,
      "xoffset": 0,
      "yoffset": 9.25
     }
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483565.1633,
    "ymin": 4645101.8764,
    "xmax": 487085.4824,
    "ymax": 4651177.9345,
    "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": true,
   "attachmentProperties": [
    {
     "name": "id",
     "fieldName": "ATTACHMENTID",
     "isEnabled": true
    },
    {
     "name": "globalid",
     "fieldName": "GLOBALID",
     "isEnabled": false
    },
    {
     "name": "keywords",
     "fieldName": "KEYWORDS",
     "isEnabled": false
    },
    {
     "name": "name",
     "fieldName": "ATT_NAME",
     "isEnabled": true
    },
    {
     "name": "contentType",
     "fieldName": "CONTENT_TYPE",
     "isEnabled": true
    },
    {
     "name": "size",
     "fieldName": "DATA_SIZE",
     "isEnabled": true
    },
    {
     "name": "exifInfo",
     "fieldName": "EXIFINFO",
     "isEnabled": false
    }
   ],
   "attachmentFields": [
    {
     "name": "ATTACHMENTID",
     "type": "esriFieldTypeOID",
     "alias": "ATTACHMENTID",
     "editable": false,
     "nullable": false,
     "length": 4,
     "domain": null
    },
    {
     "name": "ATT_NAME",
     "type": "esriFieldTypeString",
     "alias": "ATT_NAME",
     "editable": true,
     "nullable": false,
     "length": 250,
     "domain": null
    },
    {
     "name": "CONTENT_TYPE",
     "type": "esriFieldTypeString",
     "alias": "CONTENT_TYPE",
     "editable": true,
     "nullable": false,
     "length": 150,
     "domain": null
    },
    {
     "name": "DATA_SIZE",
     "type": "esriFieldTypeInteger",
     "alias": "DATA_SIZE",
     "editable": true,
     "nullable": false,
     "length": 4,
     "domain": null
    }
   ],
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "NOM",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "OBJECTID",
     "type": "esriFieldTypeOID",
     "alias": "OBJECTID",
     "domain": null
    },
    {
     "name": "NOM",
     "type": "esriFieldTypeString",
     "alias": "Nom",
     "length": 20,
     "domain": null
    },
    {
     "name": "TIPUS",
     "type": "esriFieldTypeString",
     "alias": "Tipus de punt",
     "length": 20,
     "domain": null
    },
    {
     "name": "CODI",
     "type": "esriFieldTypeString",
     "alias": "Codi",
     "length": 50,
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "Estat",
     "length": 50,
     "domain": null
    },
    {
     "name": "TIPUS_SUB",
     "type": "esriFieldTypeString",
     "alias": "Tipus de subministrament",
     "length": 50,
     "domain": null
    },
    {
     "name": "MAX_SUB_KW",
     "type": "esriFieldTypeString",
     "alias": "Subministrament màxim de kw",
     "length": 50,
     "domain": null
    },
    {
     "name": "UBICACIO_PUNT",
     "type": "esriFieldTypeString",
     "alias": "Ubicació del punt",
     "length": 100,
     "domain": null
    },
    {
     "name": "BARRI",
     "type": "esriFieldTypeString",
     "alias": "Barri",
     "length": 50,
     "domain": null
    },
    {
     "name": "SECTOR",
     "type": "esriFieldTypeString",
     "alias": "Sector",
     "length": 50,
     "domain": null
    },
    {
     "name": "OBSER_PUNT",
     "type": "esriFieldTypeString",
     "alias": "Observacions del punt",
     "length": 250,
     "domain": null
    },
    {
     "name": "N_COMP",
     "type": "esriFieldTypeString",
     "alias": "Número de comptador",
     "length": 100,
     "domain": null
    },
    {
     "name": "TIPUS_COMP",
     "type": "esriFieldTypeString",
     "alias": "Tipus de comptador",
     "length": 50,
     "domain": null
    },
    {
     "name": "MARCA_COMP",
     "type": "esriFieldTypeString",
     "alias": "Marca comptador",
     "length": 50,
     "domain": null
    },
    {
     "name": "MODEL_COMP",
     "type": "esriFieldTypeString",
     "alias": "Model comptador",
     "length": 50,
     "domain": null
    },
    {
     "name": "C_COMP",
     "type": "esriFieldTypeString",
     "alias": "Codi comptador",
     "length": 50,
     "domain": null
    },
    {
     "name": "OBSER_COMP",
     "type": "esriFieldTypeString",
     "alias": "Observacions comptador",
     "length": 250,
     "domain": null
    },
    {
     "name": "UBICACIO_COMP",
     "type": "esriFieldTypeString",
     "alias": "Ubicacio del comptador",
     "length": 200,
     "domain": null
    },
    {
     "name": "LINK_FOTO",
     "type": "esriFieldTypeString",
     "alias": "Foto",
     "length": 50,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": [
    {
     "name": "R992_SDE_ROWID_UK",
     "fields": "OBJECTID",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    },
    {
     "name": "A966_IX1",
     "fields": "SHAPE",
     "isAscending": true,
     "isUnique": true,
     "description": ""
    }
   ],
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": false,
   "capabilities": "Query,Map,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,
    "supportsQueryAttachments": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryAnalytic": true,
    "supportsCurrentUserQueries": true
   },
   "supportsDatumTransformation": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsLinearRegression": true,
    "supportsAsync": false,
    "supportsPercentileAnalytic": true
   },
   "dateFieldsTimeReference": null,
   "preferredTimeReference": null,
   "datesInUnknownTimezone": false,
   "hasMetadata": true,
   "isDataArchived": false,
   "archivingInfo": {
    "supportsQueryWithHistoricMoment": false,
    "startArchivingMoment": -1
   },
   "supportsCoordinatesQuantization": true,
   "supportsDynamicLegends": true,
   "serviceItemId": "81f958bae6a74ca0a9f102a4cffc923a"
  }
 ],
 "tables": []
}