{ "layers": [ { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "ENG.PBC_ITS_CAMERA_FEEDS", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.98315284119521E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "\nvar hyperlink = $feature.HYPERLINK; // Replace with the actual field name\n\n// Check if the hyperlink is null\nif (IsEmpty(hyperlink)) {\n// If the hyperlink is null, change the symbol (e.g., set to a red circle)\nreturn {\ntype: \"esriSMS\",\nstyle: \"esriSMSCircle\",\ncolor: [255, 0, 0, 255], // Red color\nsize: 8\n};\n} else {\n// If the hyperlink is not null, change the symbol (e.g., set to a green square)\nreturn {\ntype: \"esriSMS\",\nstyle: \"esriSMSSquare\",\ncolor: [0, 255, 0, 255], // Green color\nsize: 8\n};\n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "330bc4b1a0858abf4cd3107510b9bfe9", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACZ0lEQVRIie2XsXLaQBCGv8KhoYkaPHhoTOMe/Aa02BVFHiDmDZIijeXXwK9AJ1r6FEZNetEQM6Y5N2pwk2LvpDvpToHgGTf5ZzQy0t1+t7u3e/IZH6Sz/+AGXQBj6z603m2BBJgBq/cET/U1DLzvWmMAHoD4FPBQGxibB60I2pfwKZK/AVQKeebMu9dzboHnY8FDJHxdgHYfehOIBvWBvYncd0vYzGGvivm/gWs84Q+BHWhvUhpvUmck12Yul9aTDx4CxwZ69d3vZZN6E0lD9lg8SpBN2QieonMaCi2UeVUpnGtPbXVGEnLtudl8sxD4Qg8ocmq0V5CvS5i9mV6og83CrbFxE7ioTxu6Wzphq6myox31v8KvH0DFa5/HtKIyxHsFL8uwYXtxPq/bfefnTQg8BqlTWyGPTB1ffROASqH1uQYjGsg79Ib1gYcgzcE2bjzJ16XhaCD3n19KUJ5BXvfStld0Pm85tSL3d//ON0rUGYk3TSVXtRcEH6Nz3TAOrPVtCLwFuio9rFOBhDVfCzzP6mGGIr+OquAEmDaVh0+XdwLdv0Lb8/5NOfa94Bm6gYTKw6doEA71blkcGgCLELho5Jv54WB7AftX95nVA1Y0eAxyiN+bPntorkHya4fa5F1rYY/1gWN069zM3To+Rip1jsYVlS+SUDndIoc42aPk6BjPK+fxComioxD4GTm8n4whlUrD95WL0W4pObXCa6BJdWxTA1lpeAJ086w4ZYgG9W+uN+Xs3kbo38BmsjmjY3ST9zWEypwFJ35lGs0oa/xGL8A0fNMGEw30eviv4OoCTtaH/QvzB9FeyhGnhR4qAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 22, "height": 22, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "{\"color\":[0,255,0,255],\"size\":8,\"style\":\"esriSMSSquare\",\"type\":\"esriSMS\"}", "label": "Camera Feed" }, { "symbol": { "type": "esriPMS", "url": "4925f546f67fe137e388ee932df599d4", "imageData": "iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACOElEQVRIie2Xv23rMBCHvyI7CPYQbvRWEJDCyQSqvYAAt1FaA1rAnQFuIHdcIW60Q2Joi1ccT6IoUrHjB6R5P0CgI/75eHe8o/LEL+npP3hBa2DrtbnXdwVa4Ahc/iV455480b/yxgC8A/Uj4NwtsNUXWQabjbRZJu+sha6bzHtzc16Br3vBOeK+FQisqqAo5gOrSlpjoGmg74f5n8AfIu5PgSfQqhoXX1JZytM08jh9xOApcK3Q0ylu5ZKqSsKw3w+vWuRQLoJ3uJimXAtjXK0dLfVVluJyZ7kevmMKvHYDhpiq+l5ACvMPkzFzsG7cG1svgYf89KHGTNw2U3CiJzoc4PkZCKyOWUyWjS7uewF/p5TVm83kz5cUeBsZnLRI8/h0kjnWjnnuqyikD3dgY+DcX1B/qyVdNy5cFNKu1yNINxiCvfWGyhdNJx8MEqeUylKsWUq5cL0k+B5pwbgx168p8BVYWXtbpQJxa9cJvOvmboYhvhOF4BbYLaVHTIeDQF2Nnsl736bAR1wBSaVHTEWRdrUxE/A5BR4KedPcDvY3EFrt1YALCxaDXOJvWmdvjTXM46txdzr7fTFwjSudTTPN43tk7eRqvBB8kaTS6RW5xNnvxX33WB7cxxfEixOlwF/I5f2hC1krpzeWLipj5PHcq9A2HLtUQC4O3gKrrhtuGYpi/s3V97ODlYR+B9bJekfXuCIfKwjBnDMPfmWqjow5/uI2oAVfy2DrgFELfwoON/Cwfu1fmL83n8jcELMr3QAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 22, "height": 22, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "{\"color\":[255,0,0,255],\"size\":8,\"style\":\"esriSMSCircle\",\"type\":\"esriSMS\"}", "label": "No Camera Feed" } ], "fieldDelimiter": ";", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 252, 215, 255 ], "toColor": [ 225, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 233, 179, 252, 255 ], "toColor": [ 233, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 199, 200, 255 ], "toColor": [ 252, 199, 200, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 227, 252, 255 ], "toColor": [ 194, 227, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 215, 252, 255 ], "toColor": [ 251, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 252, 179, 255 ], "toColor": [ 188, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 189, 252, 255 ], "toColor": [ 179, 189, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 234, 179, 255 ], "toColor": [ 252, 234, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 243, 255 ], "toColor": [ 184, 252, 243, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 227, 255 ], "toColor": [ 252, 179, 227, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 234, 215, 255 ], "toColor": [ 252, 234, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 231, 252, 184, 255 ], "toColor": [ 231, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 205, 255 ], "toColor": [ 182, 252, 205, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -8940059.185201919, "ymin": 0, "xmax": 0, "ymax": 3117510.4677277715, "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": "LOCATION", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "LOCATION", "type": "esriFieldTypeString", "alias": "Location", "length": 255, "domain": null }, { "name": "LATITUDE", "type": "esriFieldTypeDouble", "alias": "Latitude", "domain": null }, { "name": "LONGITUDE", "type": "esriFieldTypeDouble", "alias": "Longitude", "domain": null }, { "name": "DEVICEUSER", "type": "esriFieldTypeString", "alias": "DeviceUser", "length": 255, "domain": null }, { "name": "DEVICEPASS", "type": "esriFieldTypeString", "alias": "DevicePass", "length": 255, "domain": null }, { "name": "IP", "type": "esriFieldTypeString", "alias": "IP", "length": 255, "domain": null }, { "name": "DRIVER", "type": "esriFieldTypeString", "alias": "Driver", "length": 255, "domain": null }, { "name": "HYPERLINK", "type": "esriFieldTypeString", "alias": "Hyperlink", "length": 255, "domain": null }, { "name": "POINT_X", "type": "esriFieldTypeDouble", "alias": "POINT_X", "domain": null }, { "name": "POINT_Y", "type": "esriFieldTypeDouble", "alias": "POINT_Y", "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": [ { "name": "R894_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "A729_IX1", "fields": "SHAPE", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Query,Map,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, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "a322c64dc353475fa3f6859497c91f7e" } ], "tables": [] }