{
 "tables": [],
 "layers": [
  {
   "isCoGoEnabled": false,
   "extent": {
    "ymin": 5151545.253600001,
    "xmin": 309652.51160000265,
    "ymax": 5165500.931100003,
    "xmax": 322496.314600002,
    "spatialReference": {
     "falseM": -100000,
     "xyTolerance": 0.001,
     "mUnits": 10000,
     "zUnits": 10000,
     "latestWkid": 3857,
     "zTolerance": 0.001,
     "wkid": 102100,
     "xyUnits": 1.4892314192838538E8,
     "mTolerance": 0.001,
     "falseX": -20037700,
     "falseY": -30241100,
     "falseZ": -100000
    }
   },
   "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.2.0",
   "isDataArchived": false,
   "id": 0,
   "supportsStatistics": true,
   "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson",
   "standardMaxRecordCount": 2000,
   "isDataVersioned": false,
   "templates": [
    {
     "name": "lines",
     "description": "",
     "drawingTool": "esriFeatureEditToolLine",
     "prototype": {
      "attributes": {
       "metres": null,
       "f_zelev": null,
       "len_up": null,
       "nom": null,
       "tram_soter": null,
       "etiqueta": null,
       "length_2d": null,
       "t_zelev": null,
       "len": null,
       "desc_tipus": null,
       "codi": null,
       "h_up": null,
       "objectid_1": null,
       "slope": null,
       "tipus": null,
       "et_id": null,
       "oneway": null,
       "max_s_up": null,
       "max_z": null,
       "length_3d": null,
       "av_s_down": null,
       "h_down": null,
       "av_s_up": null,
       "min_z": null,
       "max_s_down": null,
       "len_down": null
      }
     }
    }
   ],
   "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": "lines",
   "allowTrueCurvesUpdates": false,
   "displayField": "codi",
   "supportsCalculate": true,
   "fields": [
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "av_s_down",
     "domain": null,
     "name": "av_s_down",
     "alias": "av_s_down"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "av_s_up",
     "domain": null,
     "name": "av_s_up",
     "alias": "av_s_up"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "codi",
     "domain": null,
     "name": "codi",
     "alias": "Codi"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "desc_tipus",
     "domain": null,
     "name": "desc_tipus",
     "alias": "Descripició tipus"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "modelName": "et_id",
     "domain": null,
     "name": "et_id",
     "alias": "et_id"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "etiqueta",
     "domain": null,
     "name": "etiqueta",
     "alias": "Etiqueta"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "modelName": "f_zelev",
     "domain": null,
     "name": "f_zelev",
     "alias": "f_elev"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "h_down",
     "domain": null,
     "name": "h_down",
     "alias": "h_down"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "h_up",
     "domain": null,
     "name": "h_up",
     "alias": "h_up"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "len",
     "domain": null,
     "name": "len",
     "alias": "len"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "len_down",
     "domain": null,
     "name": "len_down",
     "alias": "len_down"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "len_up",
     "domain": null,
     "name": "len_up",
     "alias": "len_up"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "length_2d",
     "domain": null,
     "name": "length_2d",
     "alias": "length_2d"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "length_3d",
     "domain": null,
     "name": "length_3d",
     "alias": "length_3d"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "max_s_down",
     "domain": null,
     "name": "max_s_down",
     "alias": "max_s_down"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "max_s_up",
     "domain": null,
     "name": "max_s_up",
     "alias": "max_s_up"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "max_z",
     "domain": null,
     "name": "max_z",
     "alias": "max_z"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "metres",
     "domain": null,
     "name": "metres",
     "alias": "Metres"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeDouble",
     "modelName": "min_z",
     "domain": null,
     "name": "min_z",
     "alias": "min_z"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "nom",
     "domain": null,
     "name": "nom",
     "alias": "Nom"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "modelName": "objectid_1",
     "domain": null,
     "name": "objectid_1",
     "alias": "objectid_1"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "oneway",
     "domain": null,
     "name": "oneway",
     "alias": "Sentit"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "slope",
     "domain": null,
     "name": "slope",
     "alias": "slope"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "type": "esriFieldTypeInteger",
     "modelName": "t_zelev",
     "domain": null,
     "name": "t_zelev",
     "alias": "t_zelev"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "tipus",
     "domain": null,
     "name": "tipus",
     "alias": "Tipus"
    },
    {
     "nullable": true,
     "editable": true,
     "defaultValue": null,
     "length": 255,
     "type": "esriFieldTypeString",
     "modelName": "tram_soter",
     "domain": null,
     "name": "tram_soter",
     "alias": "Tram soterrat"
    },
    {
     "nullable": false,
     "defaultValue": null,
     "editable": false,
     "length": 4,
     "type": "esriFieldTypeOID",
     "modelName": "objectid",
     "domain": null,
     "name": "objectid",
     "alias": "objectid"
    },
    {
     "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": "lines",
   "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": "r1137_sde_rowid_uk",
     "isUnique": true,
     "description": "",
     "fields": "objectid",
     "isAscending": true
    },
    {
     "name": "a808_ix1",
     "isUnique": false,
     "description": "",
     "fields": "shape",
     "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
   },
   "subtypeField": "",
   "supportsValidateSQL": true,
   "enableZDefaults": true,
   "serviceItemId": "86da20d66a754744bf41dc41a4b2e46d",
   "allowUpdateWithoutMValues": true,
   "supportsCoordinatesQuantization": true,
   "types": [],
   "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": "",
   "supportsASyncCalculate": true,
   "supportedQueryFormats": "JSON, geoJSON, PBF",
   "sqlParserVersion": "PG_11.2.0",
   "drawingInfo": {
    "renderer": {
     "symbol": {
      "color": [
       165,
       106,
       74,
       255
      ],
      "width": 1,
      "style": "esriSLSSolid",
      "type": "esriSLS"
     },
     "type": "simple"
    },
    "scaleSymbols": true,
    "transparency": 0,
    "labelingInfo": null
   },
   "copyrightText": "",
   "zDefault": 0,
   "geometryType": "esriGeometryPolyline",
   "supportsLayerOverrides": true
  }
 ]
}