{ "currentVersion": 10.8, "cimVersion": "2.5.0", "id": 10, "name": "osm_roads_railway", "type": "Feature Layer", "description": "osm.sde.osm_roads_1", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "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 }, "copyrightText": "", "parentLayer": { "id": 8, "name": "Transport" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var result = '';\nif ($feature.type == 'rail' && $feature.service == '') {\n result = 'primary';\n} else if($feature.type == 'disused') {\n result = 'disused';\n} else {\n result = 'secondary';\n}\nif ($feature.tunnel == '1') {\n result += '-tunnel';\n}\nif ($feature.bridge == '1') {\n result += '-bridge';\n}\nreturn result", "valueExpressionTitle": "Custom", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 204, 204, 204, 0 ], "width": 1 }, "defaultLabel": "", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 127, 127, 127, 102 ], "width": 0.7 }, "value": "primary", "label": "primary" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 128, 128, 128, 63 ], "width": 0.5 }, "value": "secondary", "label": "secondary" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 219, 255 ], "toColor": [ 252, 212, 219, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 182, 255 ], "toColor": [ 184, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 179, 252, 255 ], "toColor": [ 179, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 249, 252, 255 ], "toColor": [ 187, 249, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 240, 184, 255 ], "toColor": [ 252, 240, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 241, 255 ], "toColor": [ 252, 179, 241, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 202, 222, 252, 255 ], "toColor": [ 202, 222, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 217, 255 ], "toColor": [ 212, 252, 217, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 246, 210, 252, 255 ], "toColor": [ 246, 210, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 208, 182, 255 ], "toColor": [ 252, 208, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 252, 179, 255 ], "toColor": [ 229, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 222, 179, 252, 255 ], "toColor": [ 222, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 213, 255 ], "toColor": [ 252, 179, 213, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 50, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 1537882.7921000011, "ymin": 6221432.2168999985, "xmax": 2334476.0597999985, "ymax": 7273844.080600001, "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": "id", "type": "esriFieldTypeOID", "alias": "id", "domain": null }, { "name": "osm_id", "type": "esriFieldTypeDouble", "alias": "osm_id", "domain": null }, { "name": "type", "type": "esriFieldTypeString", "alias": "type", "length": 255, "domain": null }, { "name": "name", "type": "esriFieldTypeString", "alias": "name", "length": 255, "domain": null }, { "name": "tunnel", "type": "esriFieldTypeSmallInteger", "alias": "tunnel", "domain": null }, { "name": "bridge", "type": "esriFieldTypeSmallInteger", "alias": "bridge", "domain": null }, { "name": "oneway", "type": "esriFieldTypeSmallInteger", "alias": "oneway", "domain": null }, { "name": "ref", "type": "esriFieldTypeString", "alias": "ref", "length": 255, "domain": null }, { "name": "z_order", "type": "esriFieldTypeInteger", "alias": "z_order", "domain": null }, { "name": "access", "type": "esriFieldTypeString", "alias": "access", "length": 255, "domain": null }, { "name": "service", "type": "esriFieldTypeString", "alias": "service", "length": 255, "domain": null }, { "name": "class", "type": "esriFieldTypeString", "alias": "class", "length": 255, "domain": null }, { "name": "geometry", "type": "esriFieldTypeGeometry", "alias": "geometry", "domain": null }, { "name": "geometry_Length", "type": "esriFieldTypeDouble", "alias": "geometry_Length", "domain": null } ], "geometryField": { "name": "geometry", "type": "esriFieldTypeGeometry", "alias": "geometry" }, "indexes": [ { "name": "FDO_id", "fields": "id", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_geometry", "fields": "geometry", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": false, "canScaleSymbols": false, "hasLabels": false, "maxRecordCount": 1000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "capabilities": "Map,TilesOnly" }