{
 "layers": [
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 0,
   "name": "Terrasses vigents",
   "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,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       76,
       230,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NOM_COMERCIAL]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 5000,
      "name": "Default",
      "priority": 2,
      "symbol": {
       "type": "esriTS",
       "color": [
        56,
        168,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 8,
        "style": "normal",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": false,
   "extent": {
    "xmin": 483581.466,
    "ymin": 4645710.9231,
    "xmax": 485680.3499999996,
    "ymax": 4650912.4838,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 2,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ID_ACTIVITAT",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ID_ACTIVITAT",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT",
     "length": 10,
     "domain": null
    },
    {
     "name": "REFERENCIA",
     "type": "esriFieldTypeString",
     "alias": "REFERENCIA",
     "length": 20,
     "domain": null
    },
    {
     "name": "ID_UNIC_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_UNIC_TERRASSA",
     "length": 51,
     "domain": null
    },
    {
     "name": "ID_TERRASSA",
     "type": "esriFieldTypeInteger",
     "alias": "ID_TERRASSA",
     "domain": null
    },
    {
     "name": "DATA_DECRET",
     "type": "esriFieldTypeDate",
     "alias": "DATA_DECRET",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "OBJECTE_TRIBURARI",
     "type": "esriFieldTypeString",
     "alias": "OBJECTE_TRIBURARI",
     "length": 40,
     "domain": null
    },
    {
     "name": "DENEGAT",
     "type": "esriFieldTypeString",
     "alias": "DENEGAT",
     "length": 1,
     "domain": null
    },
    {
     "name": "ORDRE_OVP_TERRITORI",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDRE_OVP_TERRITORI",
     "domain": null
    },
    {
     "name": "QUANTITAT",
     "type": "esriFieldTypeDouble",
     "alias": "QUANTITAT",
     "domain": null
    },
    {
     "name": "TEMPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TEMPS",
     "domain": null
    },
    {
     "name": "DATA_INICI",
     "type": "esriFieldTypeDate",
     "alias": "DATA_INICI",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "DATA_FI",
     "type": "esriFieldTypeDate",
     "alias": "DATA_FI",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "AMPLADA",
     "type": "esriFieldTypeSingle",
     "alias": "AMPLADA",
     "domain": null
    },
    {
     "name": "LLARGADA",
     "type": "esriFieldTypeSingle",
     "alias": "LLARGADA",
     "domain": null
    },
    {
     "name": "HORARI",
     "type": "esriFieldTypeString",
     "alias": "HORARI",
     "length": 300,
     "domain": null
    },
    {
     "name": "ELEMENTS_AUTORITZATS",
     "type": "esriFieldTypeString",
     "alias": "ELEMENTS_AUTORITZATS",
     "length": 2000,
     "domain": null
    },
    {
     "name": "ID_ACTIVITAT_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT_TERRASSA",
     "length": 10,
     "domain": null
    },
    {
     "name": "NOM_COMERCIAL",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMERCIAL",
     "length": 100,
     "domain": null
    },
    {
     "name": "CODI_CARRER",
     "type": "esriFieldTypeString",
     "alias": "CODI_CARRER",
     "length": 5,
     "domain": null
    },
    {
     "name": "ID_EDIFICI",
     "type": "esriFieldTypeInteger",
     "alias": "ID_EDIFICI",
     "domain": null
    },
    {
     "name": "NOM_CARRER",
     "type": "esriFieldTypeString",
     "alias": "NOM_CARRER",
     "length": 50,
     "domain": null
    },
    {
     "name": "ORDRE_SIT_ACTIVITAT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDRE_SIT_ACTIVITAT",
     "domain": null
    },
    {
     "name": "PRINCIPAL",
     "type": "esriFieldTypeString",
     "alias": "PRINCIPAL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NOM_COMPLET",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMPLET",
     "length": 151,
     "domain": null
    },
    {
     "name": "ID_FACANA",
     "type": "esriFieldTypeString",
     "alias": "ID_FACANA",
     "length": 45,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    },
    {
     "name": "ESRI_OID",
     "type": "esriFieldTypeOID",
     "alias": "ESRI_OID",
     "length": 8,
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": "a573cadbd9324370a28998255964b789"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 1,
   "name": "Terrasses en trĂ mit",
   "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,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       170,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[NOM_COMERCIAL]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 5000,
      "name": "Default",
      "priority": 3,
      "symbol": {
       "type": "esriTS",
       "color": [
        230,
        152,
        0,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 7,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483703.40469999984,
    "ymin": 4646130.4047,
    "xmax": 485537.6637000004,
    "ymax": 4649352.730900001,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 2,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ID_ACTIVITAT",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ID_ACTIVITAT",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT",
     "length": 10,
     "domain": null
    },
    {
     "name": "REFERENCIA",
     "type": "esriFieldTypeString",
     "alias": "REFERENCIA",
     "length": 20,
     "domain": null
    },
    {
     "name": "ID_UNIC_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_UNIC_TERRASSA",
     "length": 51,
     "domain": null
    },
    {
     "name": "ID_TERRASSA",
     "type": "esriFieldTypeOID",
     "alias": "ID_TERRASSA",
     "domain": null
    },
    {
     "name": "ANY_ID",
     "type": "esriFieldTypeString",
     "alias": "ANY_ID",
     "length": 4,
     "domain": null
    },
    {
     "name": "DATA_ALTA",
     "type": "esriFieldTypeString",
     "alias": "DATA_ALTA",
     "length": 8,
     "domain": null
    },
    {
     "name": "ANY_ALTA",
     "type": "esriFieldTypeString",
     "alias": "ANY_ALTA",
     "length": 4,
     "domain": null
    },
    {
     "name": "ESTAT",
     "type": "esriFieldTypeString",
     "alias": "ESTAT",
     "length": 2,
     "domain": null
    },
    {
     "name": "DATA_INICI_LIQUIDACIONS",
     "type": "esriFieldTypeDate",
     "alias": "DATA_INICI_LIQUIDACIONS",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "DATA_DECRET",
     "type": "esriFieldTypeDate",
     "alias": "DATA_DECRET",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "LEN_DATA_DECRET",
     "type": "esriFieldTypeDouble",
     "alias": "LEN_DATA_DECRET",
     "domain": null
    },
    {
     "name": "OBJECTE_TRIBURARI",
     "type": "esriFieldTypeString",
     "alias": "OBJECTE_TRIBURARI",
     "length": 40,
     "domain": null
    },
    {
     "name": "DENEGAT",
     "type": "esriFieldTypeString",
     "alias": "DENEGAT",
     "length": 1,
     "domain": null
    },
    {
     "name": "ID_ACTIVITAT_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT_TERRASSA",
     "length": 10,
     "domain": null
    },
    {
     "name": "NOM_COMERCIAL",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMERCIAL",
     "length": 100,
     "domain": null
    },
    {
     "name": "CODI_CARRER",
     "type": "esriFieldTypeString",
     "alias": "CODI_CARRER",
     "length": 5,
     "domain": null
    },
    {
     "name": "ID_EDIFICI",
     "type": "esriFieldTypeInteger",
     "alias": "ID_EDIFICI",
     "domain": null
    },
    {
     "name": "ORDRE",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDRE",
     "domain": null
    },
    {
     "name": "PRINCIPAL",
     "type": "esriFieldTypeString",
     "alias": "PRINCIPAL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NOM_CARRER",
     "type": "esriFieldTypeString",
     "alias": "NOM_CARRER",
     "length": 50,
     "domain": null
    },
    {
     "name": "NOM_COMPLET",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMPLET",
     "length": 151,
     "domain": null
    },
    {
     "name": "ID_FACANA",
     "type": "esriFieldTypeString",
     "alias": "ID_FACANA",
     "length": 45,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": "a573cadbd9324370a28998255964b789"
  },
  {
   "currentVersion": 11.2,
   "cimVersion": "3.2.0",
   "id": 2,
   "name": "Terrasses caducades (6 mesos).",
   "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,
   "drawingInfo": {
    "renderer": {
     "type": "simple",
     "symbol": {
      "type": "esriSLS",
      "style": "esriSLSSolid",
      "color": [
       255,
       0,
       0,
       255
      ],
      "width": 2
     }
    },
    "scaleSymbols": false,
    "transparency": 0,
    "labelingInfo": [
     {
      "labelExpression": "[UMAT.TERRASSES_CADUCADES.NOM_COMERCIAL]",
      "labelPlacement": "esriServerLinePlacementAboveAlong",
      "textLayout": "straight",
      "deconflictionStrategy": "dynamic",
      "allowOverrun": false,
      "repeatLabel": false,
      "removeDuplicates": "all",
      "removeDuplicatesDistance": 0,
      "lineConnection": "minimizeLabels",
      "stackLabel": false,
      "useCodedValues": true,
      "maxScale": 0,
      "minScale": 5000,
      "name": "Default",
      "priority": 1,
      "symbol": {
       "type": "esriTS",
       "color": [
        130,
        130,
        130,
        255
       ],
       "backgroundColor": null,
       "borderLineColor": null,
       "borderLineSize": null,
       "verticalAlignment": "bottom",
       "horizontalAlignment": "center",
       "rightToLeft": false,
       "angle": 0,
       "xoffset": 0,
       "yoffset": 0,
       "kerning": true,
       "haloColor": [
        255,
        255,
        255,
        255
       ],
       "haloSize": 2,
       "font": {
        "family": "Arial",
        "size": 6,
        "style": "italic",
        "weight": "bold",
        "decoration": "none"
       }
      }
     }
    ]
   },
   "defaultVisibility": true,
   "extent": {
    "xmin": 483703.40469999984,
    "ymin": 4646130.4047,
    "xmax": 485537.6637000004,
    "ymax": 4649352.730900001,
    "spatialReference": {
     "wkid": 25831,
     "latestWkid": 25831,
     "xyTolerance": 2,
     "zTolerance": 2,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "xyUnits": 4.504455473910538E8,
     "falseZ": 0,
     "zUnits": 1,
     "falseM": -100000,
     "mUnits": 10000
    }
   },
   "hasAttachments": false,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "displayField": "ID_ACTIVITAT",
   "typeIdField": null,
   "subtypeFieldName": null,
   "subtypeField": null,
   "defaultSubtypeCode": null,
   "fields": [
    {
     "name": "ID_ACTIVITAT",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT",
     "length": 10,
     "domain": null
    },
    {
     "name": "REFERENCIA",
     "type": "esriFieldTypeString",
     "alias": "REFERENCIA",
     "length": 20,
     "domain": null
    },
    {
     "name": "ID_UNIC_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_UNIC_TERRASSA",
     "length": 51,
     "domain": null
    },
    {
     "name": "ID_TERRASSA",
     "type": "esriFieldTypeOID",
     "alias": "ID_TERRASSA",
     "domain": null
    },
    {
     "name": "DATA_DECRET",
     "type": "esriFieldTypeDate",
     "alias": "DATA_DECRET",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "OBJECTE_TRIBURARI",
     "type": "esriFieldTypeString",
     "alias": "OBJECTE_TRIBURARI",
     "length": 40,
     "domain": null
    },
    {
     "name": "DENEGAT",
     "type": "esriFieldTypeString",
     "alias": "DENEGAT",
     "length": 1,
     "domain": null
    },
    {
     "name": "ORDRE_OVP_TERRITORI",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDRE_OVP_TERRITORI",
     "domain": null
    },
    {
     "name": "QUANTITAT",
     "type": "esriFieldTypeDouble",
     "alias": "QUANTITAT",
     "domain": null
    },
    {
     "name": "TEMPS",
     "type": "esriFieldTypeSmallInteger",
     "alias": "TEMPS",
     "domain": null
    },
    {
     "name": "DATA_INICI",
     "type": "esriFieldTypeDate",
     "alias": "DATA_INICI",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "DATA_FI",
     "type": "esriFieldTypeDate",
     "alias": "DATA_FI",
     "length": 8,
     "precision": 1,
     "domain": null
    },
    {
     "name": "AMPLADA",
     "type": "esriFieldTypeSingle",
     "alias": "AMPLADA",
     "domain": null
    },
    {
     "name": "LLARGADA",
     "type": "esriFieldTypeSingle",
     "alias": "LLARGADA",
     "domain": null
    },
    {
     "name": "HORARI",
     "type": "esriFieldTypeString",
     "alias": "HORARI",
     "length": 300,
     "domain": null
    },
    {
     "name": "VIGENT",
     "type": "esriFieldTypeString",
     "alias": "VIGENT",
     "length": 1,
     "domain": null
    },
    {
     "name": "ELEMENTS_AUTORITZATS",
     "type": "esriFieldTypeString",
     "alias": "ELEMENTS_AUTORITZATS",
     "length": 2000,
     "domain": null
    },
    {
     "name": "ID_ACTIVITAT_TERRASSA",
     "type": "esriFieldTypeString",
     "alias": "ID_ACTIVITAT_TERRASSA",
     "length": 10,
     "domain": null
    },
    {
     "name": "NOM_COMERCIAL",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMERCIAL",
     "length": 100,
     "domain": null
    },
    {
     "name": "CODI_CARRER",
     "type": "esriFieldTypeString",
     "alias": "CODI_CARRER",
     "length": 5,
     "domain": null
    },
    {
     "name": "ID_EDIFICI",
     "type": "esriFieldTypeInteger",
     "alias": "ID_EDIFICI",
     "domain": null
    },
    {
     "name": "NOM_CARRER",
     "type": "esriFieldTypeString",
     "alias": "NOM_CARRER",
     "length": 50,
     "domain": null
    },
    {
     "name": "ORDRE_SIT_ACTIVITAT",
     "type": "esriFieldTypeSmallInteger",
     "alias": "ORDRE_SIT_ACTIVITAT",
     "domain": null
    },
    {
     "name": "PRINCIPAL",
     "type": "esriFieldTypeString",
     "alias": "PRINCIPAL",
     "length": 1,
     "domain": null
    },
    {
     "name": "NOM_COMPLET",
     "type": "esriFieldTypeString",
     "alias": "NOM_COMPLET",
     "length": 151,
     "domain": null
    },
    {
     "name": "ID_FACANA",
     "type": "esriFieldTypeString",
     "alias": "ID_FACANA",
     "length": 45,
     "domain": null
    },
    {
     "name": "SHAPE",
     "type": "esriFieldTypeGeometry",
     "alias": "SHAPE",
     "domain": null
    }
   ],
   "geometryField": {
    "name": "SHAPE",
    "type": "esriFieldTypeGeometry",
    "alias": "SHAPE"
   },
   "indexes": null,
   "subtypes": [],
   "relationships": [],
   "canModifyLayer": true,
   "canScaleSymbols": false,
   "hasLabels": true,
   "capabilities": "Query,Map,Data",
   "maxRecordCount": 2000,
   "supportsStatistics": true,
   "supportsExceedsLimitStatistics": true,
   "supportsAdvancedQueries": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "isDataVersioned": false,
   "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true},
   "useStandardizedQueries": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelIndexIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin",
    "esriSpatialRelRelation"
   ],
   "advancedQueryCapabilities": {
    "useStandardizedQueries": true,
    "supportsStatistics": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true,
    "supportsOrderBy": true,
    "supportsDistinct": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryRelatedPagination": true,
    "supportsPagination": true,
    "supportsLod": false,
    "supportsQueryWithLodSR": false,
    "supportsTrueCurve": true,
    "supportsQueryWithDatumTransformation": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryWithDistance": true,
    "supportsSqlExpression": true,
    "supportsTimeRelation": true,
    "supportsSqlFormat": false,
    "supportsQueryAnalytic": 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": "a573cadbd9324370a28998255964b789"
  }
 ],
 "tables": []
}