{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 4642026.579500005,
    "xmin": 480120.3551000003,
    "ymax": 4652431.445200002,
    "xmax": 487229.32870000135,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 1,
     "latestWkid": 25831,
     "zTolerance": 2,
     "wkid": 25831,
     "xyUnits": 4.504455473910538E8,
     "mTolerance": 0.001,
     "falseX": -5120900,
     "falseY": -9998100,
     "falseZ": 0
    }
   },
   "isDataBranchVersioned": false,
   "supportedContingentValuesFormats": "JSON, PBF",
   "supportsApplyEditsWithGlobalIds": false,
   "maxRecordCount": 2000,
   "infoInEstimates": [
    "extent",
    "count"
   ],
   "datesInUnknownTimezone": false,
   "type": "Feature Layer",
   "onlyAllowTrueCurveUpdatesByTrueCurveClients": true,
   "supportsAttachmentsByUploadId": true,
   "relationships": [],
   "supportsAttachmentsResizing": true,
   "cimVersion": "3.1.0",
   "isDataArchived": false,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [],
   "hasGeometryProperties": true,
   "supportsAdvancedQueries": true,
   "parentLayer": null,
   "currentVersion": 11.2,
   "canScaleSymbols": false,
   "hasZ": false,
   "advancedEditingCapabilities": {
    "supportsAsyncApplyEdits": true,
    "supportsApplyEditsbyUploadID": true,
    "supportsReturnEditResults": true,
    "supportedSqlFormatsInCalculate": [
     "standard"
    ],
    "supportedApplyEditsUploadIDFormats": "JSON"
   },
   "objectIdField": "objectid",
   "supportsQuantizationEditMode": true,
   "hasContingentValuesDefinition": true,
   "name": "Línies",
   "allowTrueCurvesUpdates": false,
   "displayField": "linia",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 4,
     "type": "esriFieldTypeOID",
     "modelName": "OBJECTID",
     "domain": null,
     "name": "objectid",
     "alias": "OBJECTID"
    },
    {
     "modelName": "LINIA",
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "linia",
     "length": 16,
     "alias": "Línia",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "TIPUS",
     "nullable": false,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "tipus",
     "length": 10,
     "alias": "Tipus",
     "type": "esriFieldTypeString"
    },
    {
     "modelName": "NOM",
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "domain": null,
     "name": "nom",
     "length": 4,
     "alias": "Nom",
     "type": "esriFieldTypeString"
    },
    {
     "virtual": true,
     "nullable": true,
     "editable": false,
     "defaultValue": null,
     "domain": null,
     "name": "SHAPE__Length",
     "alias": "SHAPE__Length",
     "type": "esriFieldTypeDouble"
    }
   ],
   "maxRecordCountFactor": 1,
   "dateFieldsTimeReference": {
    "respectsDaylightSaving": false,
    "timeZone": "UTC"
   },
   "supportsFieldDescriptionProperty": true,
   "hasM": false,
   "allowGeometryUpdates": true,
   "useStandardizedQueries": true,
   "globalIdField": null,
   "description": "",
   "syncCanReturnChanges": true,
   "supportsAsyncDelete": true,
   "supportedSpatialRelationships": [
    "esriSpatialRelIntersects",
    "esriSpatialRelContains",
    "esriSpatialRelCrosses",
    "esriSpatialRelEnvelopeIntersects",
    "esriSpatialRelOverlaps",
    "esriSpatialRelTouches",
    "esriSpatialRelWithin"
   ],
   "geometryProperties": {
    "shapeLengthFieldName": "SHAPE__Length",
    "units": "esriMeters"
   },
   "supportsRollbackOnFailureParameter": true,
   "isDataReplicaTracked": false,
   "standardMaxRecordCountNoGeometry": 16000,
   "supportsTruncate": true,
   "indexes": [
    {
     "name": "a539_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "isAscending": true
    },
    {
     "name": "r865_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    }
   ],
   "editFieldsInfo": null,
   "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
   "minScale": 0,
   "hasAttachments": false,
   "advancedQueryCapabilities": {
    "supportsSqlExpression": true,
    "supportsQueryWithResultType": true,
    "supportsQueryRelatedPagination": true,
    "supportsQueryWithCacheHint": false,
    "supportsQueryWithDatumTransformation": true,
    "supportsQueryNumericBins": false,
    "supportsCurrentUserQueries": true,
    "supportsQueryAttachmentsWithReturnUrl": true,
    "supportsQueryDateBins": false,
    "supportsQueryWithLodSR": true,
    "supportsPaginationOnAggregatedQueries": true,
    "supportsPagination": true,
    "supportsMaxRecordCountFactor": true,
    "supportsStatistics": true,
    "supportsOrderBy": true,
    "supportsReturningGeometryProperties": true,
    "supportsQueryWithDistance": true,
    "supportsLod": true,
    "supportsCountDistinct": true,
    "supportsAdvancedQueryRelated": true,
    "supportsQueryAttachments": true,
    "supportsReturningQueryExtent": true,
    "supportsQueryAttachmentsCountOnly": true,
    "supportsOrderByOnlyOnLayerFields": false,
    "supportsOutFieldSqlExpression": true,
    "supportsTopFeaturesQuery": true,
    "supportsReturningGeometryEnvelope": false,
    "supportsDistinct": true,
    "supportsReturningGeometryCentroid": false,
    "supportsQueryAnalytic": true,
    "supportsPercentileStatistics": true,
    "supportsHavingClause": true
   },
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "76878e5f2e8b40ecaaa99de35c3a16f5",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [
    {
     "templates": [
      {
       "name": "Línia 1",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 1",
     "domains": {},
     "id": "Línia 1"
    },
    {
     "templates": [
      {
       "name": "Línia 2",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 2",
     "domains": {},
     "id": "Línia 2"
    },
    {
     "templates": [
      {
       "name": "Línia 3",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 3",
     "domains": {},
     "id": "Línia 3"
    },
    {
     "templates": [
      {
       "name": "Línia 4",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 4",
     "domains": {},
     "id": "Línia 4"
    },
    {
     "templates": [
      {
       "name": "Línia 5",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 5",
     "domains": {},
     "id": "Línia 5"
    },
    {
     "templates": [
      {
       "name": "Línia 6",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 6",
     "domains": {},
     "id": "Línia 6"
    },
    {
     "templates": [
      {
       "name": "Línia 7",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 7",
     "domains": {},
     "id": "Línia 7"
    },
    {
     "templates": [
      {
       "name": "Línia 8",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 8",
     "domains": {},
     "id": "Línia 8"
    },
    {
     "templates": [
      {
       "name": "Línia 9",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 9",
     "domains": {},
     "id": "Línia 9"
    },
    {
     "templates": [
      {
       "name": "Línia 10",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 10",
     "domains": {},
     "id": "Línia 10"
    },
    {
     "templates": [
      {
       "name": "Línia 11",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 11",
     "domains": {},
     "id": "Línia 11"
    },
    {
     "templates": [
      {
       "name": "Línia 12",
       "description": "",
       "drawingTool": "esriFeatureEditToolLine",
       "prototype": {
        "attributes": {
         "linia": " ",
         "nom": null,
         "tipus": " "
        }
       }
      }
     ],
     "name": "Línia 12",
     "domains": {},
     "id": "Línia 12"
    }
   ],
   "capabilities": "Query",
   "maxScale": 0,
   "supportsAppend": true,
   "supportsExceedsLimitStatistics": true,
   "defaultVisibility": true,
   "advancedQueryAnalyticCapabilities": {
    "supportsAsync": true,
    "supportsLinearRegression": true,
    "supportsPercentileAnalytic": false
   },
   "hasMetadata": true,
   "supportedAppendFormats": "shapefile,geojson,csv,featureCollection,excel,jsonl",
   "tileMaxRecordCount": 2000,
   "typeIdField": "linia",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "field1": "linia",
     "authoringInfo": {
      "colorRamp": {
       "colorRamps": [
        {
         "toColor": [
          46,
          140,
          112,
          255
         ],
         "fromColor": [
          46,
          140,
          112,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          35,
          41,
          166,
          255
         ],
         "fromColor": [
          35,
          41,
          166,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          148,
          31,
          31,
          255
         ],
         "fromColor": [
          148,
          31,
          31,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          176,
          157,
          48,
          255
         ],
         "fromColor": [
          176,
          157,
          48,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          173,
          54,
          132,
          255
         ],
         "fromColor": [
          173,
          54,
          132,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          53,
          93,
          135,
          255
         ],
         "fromColor": [
          53,
          93,
          135,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          67,
          168,
          49,
          255
         ],
         "fromColor": [
          67,
          168,
          49,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          133,
          100,
          54,
          255
         ],
         "fromColor": [
          133,
          100,
          54,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          140,
          58,
          70,
          255
         ],
         "fromColor": [
          140,
          58,
          70,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          105,
          44,
          138,
          255
         ],
         "fromColor": [
          105,
          44,
          138,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          108,
          133,
          65,
          255
         ],
         "fromColor": [
          108,
          133,
          65,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          42,
          141,
          163,
          255
         ],
         "fromColor": [
          42,
          141,
          163,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        },
        {
         "toColor": [
          38,
          66,
          148,
          255
         ],
         "fromColor": [
          38,
          66,
          148,
          255
         ],
         "type": "algorithmic",
         "algorithm": "esriCIELabAlgorithm"
        }
       ],
       "type": "multipart"
      }
     },
     "uniqueValueInfos": [
      {
       "symbol": {
        "color": [
         250,
         52,
         17,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 1",
       "value": "Línia 1"
      },
      {
       "symbol": {
        "color": [
         255,
         190,
         61,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 2",
       "value": "Línia 2"
      },
      {
       "symbol": {
        "color": [
         0,
         150,
         102,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 3",
       "value": "Línia 3"
      },
      {
       "symbol": {
        "color": [
         2,
         163,
         207,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 4",
       "value": "Línia 4"
      },
      {
       "symbol": {
        "color": [
         0,
         113,
         160,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 5",
       "value": "Línia 5"
      },
      {
       "symbol": {
        "color": [
         145,
         111,
         177,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 6",
       "value": "Línia 6"
      },
      {
       "symbol": {
        "color": [
         246,
         0,
         154,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 7",
       "value": "Línia 7"
      },
      {
       "symbol": {
        "color": [
         141,
         164,
         161,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 8",
       "value": "Línia 8"
      },
      {
       "symbol": {
        "color": [
         0,
         0,
         0,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 9",
       "value": "Línia 9"
      },
      {
       "symbol": {
        "color": [
         230,
         152,
         0,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 10",
       "value": "Línia 10"
      },
      {
       "symbol": {
        "color": [
         56,
         168,
         0,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 11",
       "value": "Línia 11"
      },
      {
       "symbol": {
        "color": [
         117,
         0,
         0,
         255
        ],
        "width": 2,
        "style": "esriSLSSolid",
        "type": "esriSLS"
       },
       "label": "Línia 12",
       "value": "Línia 12"
      }
     ],
     "type": "uniqueValue",
     "fieldDelimiter": ","
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolyline",
   "supportsLayerOverrides": true
  }
 ]
}