{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 0, "name": "Vägarbeten Trafikverket", "type": "Feature Layer", "description": "geodata.samhallsservice.trafikverket_vagarbeten", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 3008, "latestWkid": 3008, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 2, "falseX": -5473200, "falseY": -10002100, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if (IsEmpty($feature.starttid)) {\n return \"Nej\";\n}\n\nif ($feature.starttid >= DateAdd(Now(), -14, 'days')) {\n return \"Ja\";\n}\n\nreturn \"Nej\";", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Vägarbete startat senaste 2 veckorna", "classes": [ { "label": "Ja", "description": "Ja", "symbol": { "type": "esriPMS", "url": "b60021841d88ace90a4533246f25c62a", "imageData": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABrUlEQVRIidWWUWrCQBCGv4e9Q9FDCJJeQehD7QkE39IDCL42z4IHSN8K3qB9KHgGX3IIwVuUcWdxiK5uYlT6w0LYJMy3M/NP4niw3H8HyIAxUDwKoABegW9gc2+AXII/ATsPMr4nQF8AJsAImPosZG2y4FoCyMkzARjoqqAEnu8BkAHlSAOLvoCh35eyfN4aoJDAC7MhfSDZWPleuClAJumfmY2dAsjeCnpNs+AaAuxTL0u0AtZaggCx9L3wA2y7BsglAzNzcgGodElZZgpUwQfw3iVAJrUPXY8JLpoDv3otENNDGTZdAeQD6IXTS+CluVkpUJgLTWzpEoLv7TXROlMLjtmTZ1CHvPj3Lg4nl2q7Sa3x6go9EcokmVj7b0T/GoDc2i4EiWmugZ80C8MEW7pLAKGuHDr8rJYa3Aynsi1AHuY9GlhOeEm2DItDxsqYLV3qvD/VeDFZWwrE/IwtXcq8X0caLyY7nLQMUVu6lHk/MCdqo3O2dCeeL+y8RxsqzIA2Mv8MR7Z0p2w3Suj2ptIRfWRLV//NIrHbr1ARA9gCb7eNfax6CZK+4V3qD7/WaQYPrEBVAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 24, "height": 20, "angle": 0, "xoffset": 0, "yoffset": 0 }, "values": [ [ "Ja" ] ] }, { "label": "Nej", "description": "Nej", "symbol": { "type": "esriPMS", "url": "eb61168e66eca59a8ab0b487ebbeeb60", "imageData": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABuElEQVRIidWW4Y2CQBCF349tAtpYy4ArA8oQy4AyxDLcNrCNywfsuUEQUMTcS0gQF+bbmTcDRl+W+e8AVlIqqfgWQCEpkVRLcnsDZASPY6lpWpB0T4AYgCyT0rQ9kr4cbi+AJI5lAbC2O5xTKemwB4CVVCZJFxjVtQRQX5bq0wAFgUv22yuKqIdUVa0XPgpgSX8RNN3t1gFwraoUrc2CWQlQYjrSj6pKulyk8/kOURStFy6Smq0BMjJwPN53DoBz3UFZ+A8/OCdW5VsCWGrvXY98cJTn0vXanZOFNP0rg9sKILNWka89gUMf8BsgAH13LG1LsyB42148nDqj0+lxEddYg+iQw6G9b3Y4maVt5x/OTqnzUE1zzwLrMWtdt++I+B2ALGw7b7wp4QUCkymyUNfzbWnmAHxdUe/wpwKW4MFwKl8FyPy8RwRmh3MKywBInzEg8jUAdjjvx4w3pbAtgcjz6bY0S+Y9027MeFMKh1Nfhsm2NEvmPQ/yO3pFz9rSjKwvwnmPMJSfAa8o+GZ4aEsz1nYEn3P7WvUj+qEtzfAzi5Mlbn+HZQqgkfTz0dAjGpZg0Tt8S/0CF9SqAN9ZJ5gAAAAASUVORK5CYII=", "contentType": "image/png", "width": 24, "height": 20, "angle": 0, "xoffset": 0, "yoffset": 0 }, "values": [ [ "Nej" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "b60021841d88ace90a4533246f25c62a", "imageData": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABrUlEQVRIidWWUWrCQBCGv4e9Q9FDCJJeQehD7QkE39IDCL42z4IHSN8K3qB9KHgGX3IIwVuUcWdxiK5uYlT6w0LYJMy3M/NP4niw3H8HyIAxUDwKoABegW9gc2+AXII/ATsPMr4nQF8AJsAImPosZG2y4FoCyMkzARjoqqAEnu8BkAHlSAOLvoCh35eyfN4aoJDAC7MhfSDZWPleuClAJumfmY2dAsjeCnpNs+AaAuxTL0u0AtZaggCx9L3wA2y7BsglAzNzcgGodElZZgpUwQfw3iVAJrUPXY8JLpoDv3otENNDGTZdAeQD6IXTS+CluVkpUJgLTWzpEoLv7TXROlMLjtmTZ1CHvPj3Lg4nl2q7Sa3x6go9EcokmVj7b0T/GoDc2i4EiWmugZ80C8MEW7pLAKGuHDr8rJYa3Aynsi1AHuY9GlhOeEm2DItDxsqYLV3qvD/VeDFZWwrE/IwtXcq8X0caLyY7nLQMUVu6lHk/MCdqo3O2dCeeL+y8RxsqzIA2Mv8MR7Z0p2w3Suj2ptIRfWRLV//NIrHbr1ARA9gCb7eNfax6CZK+4V3qD7/WaQYPrEBVAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 24, "height": 20, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Ja", "label": "Ja" }, { "symbol": { "type": "esriPMS", "url": "eb61168e66eca59a8ab0b487ebbeeb60", "imageData": "iVBORw0KGgoAAAANSUhEUgAAACAAAAAbCAYAAAAdx42aAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABuElEQVRIidWW4Y2CQBCF349tAtpYy4ArA8oQy4AyxDLcNrCNywfsuUEQUMTcS0gQF+bbmTcDRl+W+e8AVlIqqfgWQCEpkVRLcnsDZASPY6lpWpB0T4AYgCyT0rQ9kr4cbi+AJI5lAbC2O5xTKemwB4CVVCZJFxjVtQRQX5bq0wAFgUv22yuKqIdUVa0XPgpgSX8RNN3t1gFwraoUrc2CWQlQYjrSj6pKulyk8/kOURStFy6Smq0BMjJwPN53DoBz3UFZ+A8/OCdW5VsCWGrvXY98cJTn0vXanZOFNP0rg9sKILNWka89gUMf8BsgAH13LG1LsyB42148nDqj0+lxEddYg+iQw6G9b3Y4maVt5x/OTqnzUE1zzwLrMWtdt++I+B2ALGw7b7wp4QUCkymyUNfzbWnmAHxdUe/wpwKW4MFwKl8FyPy8RwRmh3MKywBInzEg8jUAdjjvx4w3pbAtgcjz6bY0S+Y9027MeFMKh1Nfhsm2NEvmPQ/yO3pFz9rSjKwvwnmPMJSfAa8o+GZ4aEsz1nYEn3P7WvUj+qEtzfAzi5Mlbn+HZQqgkfTz0dAjGpZg0Tt8S/0CF9SqAN9ZJ5gAAAAASUVORK5CYII=", "contentType": "image/png", "width": 24, "height": 20, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Nej", "label": "Nej" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 251, 255 ], "toColor": [ 252, 215, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 179, 255 ], "toColor": [ 179, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 197, 252, 252, 255 ], "toColor": [ 197, 252, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 179, 255 ], "toColor": [ 252, 212, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 179, 252, 255 ], "toColor": [ 199, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 252, 194, 255 ], "toColor": [ 247, 252, 194, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 214, 252, 255 ], "toColor": [ 184, 214, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 192, 255 ], "toColor": [ 252, 184, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 249, 255 ], "toColor": [ 252, 182, 249, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 219, 255 ], "toColor": [ 182, 252, 219, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 226, 252, 215, 255 ], "toColor": [ 226, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 218, 255 ], "toColor": [ 252, 215, 218, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 214, 199, 252, 255 ], "toColor": [ 214, 199, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.meddelandekod", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamic", "allowOverlapOfFeatureInterior": "avoid", "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "none", "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Class 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": -5473012.4729120005, "ymin": -1.0001964729228035E7, "xmax": 5773012.4729120005, "ymax": 1.0001964729228035E7, "spatialReference": { "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 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "meddelande", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "id", "type": "esriFieldTypeOID", "alias": "ID", "domain": null }, { "name": "meddelande", "type": "esriFieldTypeString", "alias": "Meddelande", "length": 500, "domain": null }, { "name": "meddelandekod", "type": "esriFieldTypeString", "alias": "Meddelandekod", "length": 50, "domain": null }, { "name": "paverkan", "type": "esriFieldTypeString", "alias": "Påverkan", "length": 50, "domain": null }, { "name": "starttid", "type": "esriFieldTypeDate", "alias": "Starttid", "length": 8, "precision": 1, "domain": null }, { "name": "sluttid", "type": "esriFieldTypeDate", "alias": "Sluttid", "length": 8, "precision": 1, "domain": null }, { "name": "geom", "type": "esriFieldTypeGeometry", "alias": "geom", "domain": null } ], "geometryField": { "name": "geom", "type": "esriFieldTypeGeometry", "alias": "geom" }, "indexes": [ { "name": "trafikverket_vagarbeten_geom_1675255585363", "fields": "geom", "isAscending": true, "isUnique": false, "description": "" }, { "name": "trafikverket_vagarbeten_pkey", "fields": "id", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_id", "fields": "id", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,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": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "842e6efadae443bba1005ea3f9469a9d" } ], "tables": [] }