{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 0, "name": "Major Roads (Roads Front)", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 1.111948722222222E9, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "authoringInfo": { "visualVariables": [ { "type": "sizeInfo", "minSliderValue": 0, "maxSliderValue": 2.2399999999999998 } ], "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 168, 112, 0, 255 ], "toColor": [ 168, 112, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 168, 112, 0, 255 ], "toColor": [ 168, 112, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 153, 0, 255 ], "toColor": [ 230, 153, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 230, 153, 0, 255 ], "toColor": [ 230, 153, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 170, 0, 255 ], "toColor": [ 255, 170, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 170, 0, 255 ], "toColor": [ 255, 170, 0, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 210, 128, 255 ], "toColor": [ 255, 210, 128, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 210, 128, 255 ], "toColor": [ 255, 210, 128, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 235, 176, 255 ], "toColor": [ 255, 235, 176, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 255, 235, 176, 255 ], "toColor": [ 255, 235, 176, 255 ] } ] } }, "type": "uniqueValue", "field1": "fclass", "uniqueValueGroups": [ { "heading": "fclass", "classes": [ { "label": "motorway", "description": "motorway", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 112, 0, 255 ], "width": 1 }, "values": [ [ "motorway" ] ] }, { "label": "motorway_link", "description": "motorway_link", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 112, 0, 255 ], "width": 1 }, "values": [ [ "motorway_link" ] ] }, { "label": "trunk", "description": "trunk", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "values": [ [ "trunk" ] ] }, { "label": "trunk_link", "description": "trunk_link", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "values": [ [ "trunk_link" ] ] }, { "label": "primary", "description": "primary", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 1 }, "values": [ [ "primary" ] ] }, { "label": "primary_link", "description": "primary_link", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 1 }, "values": [ [ "primary_link" ] ] }, { "label": "secondary", "description": "secondary", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 211, 127, 255 ], "width": 1 }, "values": [ [ "secondary" ] ] }, { "label": "secondary_link", "description": "secondary_link", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 211, 127, 255 ], "width": 1 }, "values": [ [ "secondary_link" ] ] }, { "label": "tertiary", "description": "tertiary", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 235, 175, 255 ], "width": 1 }, "values": [ [ "tertiary" ] ] }, { "label": "tertiary_link", "description": "tertiary_link", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 235, 175, 255 ], "width": 1 }, "values": [ [ "tertiary_link" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 112, 0, 255 ], "width": 1 }, "value": "motorway", "label": "motorway" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 112, 0, 255 ], "width": 1 }, "value": "motorway_link", "label": "motorway_link" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "value": "trunk", "label": "trunk" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 152, 0, 255 ], "width": 1 }, "value": "trunk_link", "label": "trunk_link" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 1 }, "value": "primary", "label": "primary" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 1 }, "value": "primary_link", "label": "primary_link" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 211, 127, 255 ], "width": 1 }, "value": "secondary", "label": "secondary" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 211, 127, 255 ], "width": 1 }, "value": "secondary_link", "label": "secondary_link" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 235, 175, 255 ], "width": 1 }, "value": "tertiary", "label": "tertiary" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 235, 175, 255 ], "width": 1 }, "value": "tertiary_link", "label": "tertiary_link" } ], "fieldDelimiter": ",", "visualVariables": [ { "type": "sizeInfo", "valueExpressionTitle": "Custom", "valueExpression": "var highway = $feature.fclass;\nvar scale = 1.4;\nWhen(\n highway == 'motorway', 1.6 * scale,\n highway == 'motorway_link', 1.5 * scale,\n highway == 'trunk', 1.5 * scale,\n highway == 'trunk_link', 1.4 * scale,\n highway == 'primary', 1.4 * scale,\n highway == 'primary_link', 1.3 * scale,\n highway == 'secondary', 1.3 * scale,\n highway == 'secondary_link', 1.1 * scale,\n highway == 'tertiary', 1.1 * scale,\n highway == 'tertiary_link', 1.0 * scale,\n 0\n)", "minDataValue": 0, "axis": "height", "legendOptions": { "title": "Custom", "showLegend": false } } ] }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var highway = $feature.fclass;\nvar code = $feature.ref;\nWhen(\n highway == 'motorway', '' +\n '' +\n '' + '' + code +\n '<\/BOL>' + '<\/FNT>' + '<\/CLR>' + '<\/BGD>',\n \n highway == 'trunk', '' +\n '' + code + '<\/FNT>' + '<\/BGD>',\n \n highway == 'primary', '' +\n '' + code + '<\/FNT>' + '<\/BGD>',\n \n highway == 'secondary', '' +\n '' + code + '<\/FNT>' + '<\/BGD>',\n \n highway == 'tertiary', '' +\n '' + code + '<\/FNT>' + '<\/BGD>',\n \n \"\"\n)", "title": "Custom" }, "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "horizontal", "deconflictionStrategy": "dynamic", "allowOverrun": true, "repeatLabel": false, "lineConnection": "minimizeLabels", "useClippedGeometry": false, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 0, "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 102, 103, 105, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Corbel", "size": 10, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -9422259.395265944, "ymin": 4010707.013772562, "xmax": -9397839.879107075, "ymax": 4034399.6667638, "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": "name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "osm_id", "type": "esriFieldTypeString", "alias": "osm_id", "length": 12, "domain": null }, { "name": "code", "type": "esriFieldTypeSmallInteger", "alias": "code", "domain": null }, { "name": "fclass", "type": "esriFieldTypeString", "alias": "fclass", "length": 28, "domain": null }, { "name": "name", "type": "esriFieldTypeString", "alias": "name", "length": 100, "domain": null }, { "name": "ref", "type": "esriFieldTypeString", "alias": "ref", "length": 20, "domain": null }, { "name": "oneway", "type": "esriFieldTypeString", "alias": "oneway", "length": 1, "domain": null }, { "name": "maxspeed", "type": "esriFieldTypeSmallInteger", "alias": "maxspeed", "domain": null }, { "name": "layer", "type": "esriFieldTypeDouble", "alias": "layer", "domain": null }, { "name": "bridge", "type": "esriFieldTypeString", "alias": "bridge", "length": 1, "domain": null }, { "name": "tunnel", "type": "esriFieldTypeString", "alias": "tunnel", "length": 1, "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "FDO_OBJECTID", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_Shape", "fields": "Shape", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Query,Map,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "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": 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": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape_Length", "units": "esriDecimalDegrees", "mapUnits": {"uwkid": 9102} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "02923260280d44c283cb135b6eaad568" }