{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 1, "name": "Vägar lutning", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 3008, "latestWkid": 3008, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5473200, "falseY": -10002100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "classBreaks", "authoringInfo": { "type": "classedColor", "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 255, 212, 255 ], "toColor": [ 255, 255, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 218, 143, 255 ], "toColor": [ 255, 218, 143, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 155, 41, 255 ], "toColor": [ 255, 155, 41, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 76, 2, 255 ], "toColor": [ 204, 76, 2, 255 ] } ] }, "classificationMethod": "esriClassifyManual" }, "field": "Vägar_för_anlys_points.Slope_Ulricehamn_tätort", "classificationMethod": "esriClassifyManual", "minValue": 0.2875801920890808, "classBreakInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 199, 215, 158, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } }, "classMaxValue": 6, "label": "0,28 - 6" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 254, 217, 142, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } }, "classMaxValue": 8, "label": "6,01 - 8" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 254, 153, 41, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } }, "classMaxValue": 10, "label": "8,01 - 10" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 168, 0, 0, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 0 ], "width": 0.7 } }, "classMaxValue": 11.71791934967041, "label": "10,01 - 11,71" } ], "legendOptions": {"order": "ascendingValues"} }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "// Hämta lutning i grader\r\nvar grader = Round($feature['Vägar_för_anlys_points.Slope_Ulricehamn_tätort'], 1);\r\n\r\n// Hämta lutning i procent\r\nvar lutning = Round($feature['Vägar_för_anlys_points.Lutning_Procent'], 1);\r\n\r\n// Hämta max-lutning i procent från join-tabellen\r\nvar maxLutning = Round($feature['Vägarlutning_Statistics.MAX_Lutning_Procent'], 1);\r\n\r\n// Villkor: bara visa etikett om grader > 6\r\nif (grader > 6) {\r\n // Om den här punkten har max-lutningen → visa grader + max\r\n if (lutning == maxLutning) {\r\n return grader + \"°\\n(max: \" + maxLutning + \"%)\";\r\n } \r\n // Övriga punkter över 6° → visa grader\r\n else {\r\n return grader + \"°\";\r\n }\r\n} else {\r\n return null; // Ingen etikett om under gränsen\r\n}\r\n", "title": "Anpassat" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamic", "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "none", "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Klass 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": null, "haloSize": null, "font": { "family": "Tahoma", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 1491218.9571687125, "ymin": 7920358.908936721, "xmax": 1496785.2295932318, "ymax": 7926338.726187849, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Vägar_för_anlys_points.objektidentitet", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "Vägar_för_anlys_points.OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Vägar_för_anlys_points.Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Vägar_för_anlys_points.ORIG_FID", "type": "esriFieldTypeInteger", "alias": "ORIG_FID", "domain": null }, { "name": "Vägar_för_anlys_points.objektidentitet", "type": "esriFieldTypeString", "alias": "objektidentitet", "length": 36, "domain": null }, { "name": "Vägar_för_anlys_points.versiongiltigfran", "type": "esriFieldTypeDate", "alias": "versiongiltigfran", "length": 8, "precision": 1, "domain": null }, { "name": "Vägar_för_anlys_points.ursprunglig_organisation", "type": "esriFieldTypeString", "alias": "ursprunglig_organisation", "length": 255, "domain": null }, { "name": "Vägar_för_anlys_points.objekttypnr", "type": "esriFieldTypeInteger", "alias": "objekttypnr", "domain": null }, { "name": "Vägar_för_anlys_points.objekttyp", "type": "esriFieldTypeString", "alias": "objekttyp", "length": 255, "domain": null }, { "name": "Vägar_för_anlys_points.gatunamn", "type": "esriFieldTypeString", "alias": "gatunamn", "length": 255, "domain": null }, { "name": "Vägar_för_anlys_points.startavstand", "type": "esriFieldTypeDouble", "alias": "startavstand", "domain": null }, { "name": "Vägar_för_anlys_points.slutavstand", "type": "esriFieldTypeDouble", "alias": "slutavstand", "domain": null }, { "name": "Vägar_för_anlys_points.Slope_Ulricehamn_tätort", "type": "esriFieldTypeSingle", "alias": "Lutning_grader", "domain": null }, { "name": "Vägar_för_anlys_points.Lutning_Procent", "type": "esriFieldTypeDouble", "alias": "Lutning_procent", "domain": null }, { "name": "Vägarlutning_Statistics.OBJECTID", "type": "esriFieldTypeInteger", "alias": "OBJECTID", "domain": null }, { "name": "Vägarlutning_Statistics.gatunamn", "type": "esriFieldTypeString", "alias": "gatunamn", "length": 255, "domain": null }, { "name": "Vägarlutning_Statistics.FREQUENCY", "type": "esriFieldTypeInteger", "alias": "FREQUENCY", "domain": null }, { "name": "Vägarlutning_Statistics.MAX_Lutning_Procent", "type": "esriFieldTypeDouble", "alias": "MAX_Lutning_Procent", "domain": null } ], "geometryField": { "name": "Vägar_för_anlys_points.Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "FDO_OBJECTID", "fields": "Vägar_för_anlys_points.OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_Shape", "fields": "Vägar_för_anlys_points.Shape", "isAscending": true, "isUnique": false, "description": "" }, { "name": "FDO_OBJECTID", "fields": "Vägarlutning_Statistics.OBJECTID", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": false, "supportsExceedsLimitStatistics": false, "supportsAdvancedQueries": false, "hasZ": 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": false, "supportsPercentileStatistics": false, "supportsHavingClause": false, "supportsOrderBy": false, "supportsDistinct": false, "supportsCountDistinct": false, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": false, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": false, "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": "70c6b53ff7e54649858b95004cbc93a0" }