{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 5, "name": "Salt Only - GDOT Salt Barns & Brine Stores", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "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": "function hasValidNumber(val) {\n // 1. Return false if the value is SQL Null or completely empty\n if (IsEmpty(val)) {\n return false;\n }\n \n // 2. Convert to string and strip whitespace\n var strVal = Trim(Text(val));\n if (strVal == \"\") {\n return false;\n }\n \n // 3. Convert to Number and test if it is NaN (Not a Number)\n var num = Number(strVal);\n \n // If num is NOT NaN, it's a valid number -> return true\n return !IsNaN(num);\n}\n\n// Evaluate both text fields\nvar saltHasNumber = hasValidNumber($feature.Salt_Capacity_Tons);\nvar brineHasNumber = hasValidNumber($feature.Brine_Capacity_Gallons);\n\n// Categorize based on your symbology rules:\nif (saltHasNumber && !brineHasNumber) {\n return \"Salt Only\"; // Salt is a number, Brine is not\n} else if (!saltHasNumber && brineHasNumber) {\n return \"Brine Only\"; // \n} else if (saltHasNumber && brineHasNumber) {\n return \"Salt & Brine\"; // Both are valid numbers\n} else {\n return \"Other\";\n}", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriPMS", "url": "82e6257c4d493a6175564fcefca4ed49", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACSUlEQVRIicWVP2sUURTFf2+yChZ2ImY7C/EDBERM9htsthI0oggKu9hobaMbLETEwjJjEf+BwUYwQQuxWndFyLR2dpItFRSJhfPkzrvr3nmZbJIieGEY9s2755173zl3a+xj1P4buKc3A8k8uCbkdXDT4YvLwMuz6Jjb2BO454MA3QbaurIWABnqlmb45tqefuqY7ewKPLB1XQVIIU8dDQG20bUEPIMZyFtxFSVwTeiG8v+0HI1V89kBR4EfwC8F6nh6KSTrgDz1CcwLJs0I+BBwD7gIvAeOA0eAm8ALqcrTa0Hy2tNfsi2qldtR9DiNGD8ArgHngJe61gdOjktqrErvQ4t6/9pomIsqJHLZZOOsvj+ZtYfA9/I2vygXDFNCMgYXufm1isvb1PcdrWzTVDDOZm7DM8hG1UfghY5jYIlbwDJwCTgN3ADeUhmi/ZF8y8ynjY5tPFalSCtOAG+AJ6IU4HdpZ5S/W/svA++A+8B54DJwELiwdasfVjHP1DjdbQ74CiwAH7WKBW3BT4Mh+VkFeOiXGMk4TdpxFXhuLvaZgkscKEvZi1LSKnCVkhMjjYwwBTwCPgMDXTulbzHUt3F+0o6lXCtLaYsRvFgdeAU81d9XgBXgumE9bwxY1RY5YLYThlCyLpZWpx5Wyx9Tddy1jAOwW5I7c5zp7KCWvBWGUDErUp3ZXwB54lkvbKWVmeYxEVwvsy5DaDyzxXnFhQ+Nm+XyJNKY8QTmmBbJOC1mhTIsOMsBctB2s35n8HBAkahAe499/YP+C/PpzYbNAV2DAAAAAElFTkSuQmCC", "contentType": "image/png", "width": 17, "height": 17, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Salt Only" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 241, 194, 252, 255 ], "toColor": [ 241, 194, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 184, 255 ], "toColor": [ 184, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 224, 204, 255 ], "toColor": [ 252, 224, 204, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 249, 252, 255 ], "toColor": [ 182, 249, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 196, 255 ], "toColor": [ 252, 182, 196, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 252, 192, 255 ], "toColor": [ 247, 252, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 207, 252, 255 ], "toColor": [ 182, 207, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 252, 222, 255 ], "toColor": [ 199, 252, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 234, 252, 255 ], "toColor": [ 215, 234, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 226, 255 ], "toColor": [ 252, 210, 226, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 228, 179, 255 ], "toColor": [ 252, 228, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 182, 252, 255 ], "toColor": [ 189, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 212, 252, 255 ], "toColor": [ 224, 212, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": -9518956.8197, "ymin": 3621271.4393, "xmax": -9051885.0606, "ymax": 4153279.6487, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 1.4892314192838538E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "COUNTY", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "BRINE_CAPACITY_GALLONS", "type": "esriFieldTypeString", "alias": "Brine Capacity Gallons", "length": 25, "domain": null }, { "name": "SALT_CAPACITY_TONS", "type": "esriFieldTypeString", "alias": "Salt Capacity Tons", "length": 65, "domain": null }, { "name": "DISTRICT", "type": "esriFieldTypeSmallInteger", "alias": "District", "domain": null }, { "name": "COUNTY", "type": "esriFieldTypeString", "alias": "County", "length": 50, "domain": null }, { "name": "ACCESS_", "type": "esriFieldTypeString", "alias": "Access", "length": 150, "domain": null }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "Object", "domain": null }, { "name": "LATITUDE", "type": "esriFieldTypeDouble", "alias": "Latitude", "domain": null }, { "name": "LONGITUDE", "type": "esriFieldTypeDouble", "alias": "Longitude", "domain": null }, { "name": "LOCATION_CODE", "type": "esriFieldTypeString", "alias": "Location Code", "length": 25, "domain": null }, { "name": "F89_STONE_BIN_DIMENSION", "type": "esriFieldTypeString", "alias": "89 Stone Bin Dimension", "length": 65, "domain": null }, { "name": "SALT_BARN_BIN_DIMENSION", "type": "esriFieldTypeString", "alias": "Salt Barn Bin Dimension", "length": 65, "domain": null }, { "name": "F89_STONE_CAPACITY_TONS", "type": "esriFieldTypeString", "alias": "89 Stone Capacity Tons", "length": 50, "domain": null }, { "name": "CALC_CHLOR_CAPACITY_GALLON", "type": "esriFieldTypeString", "alias": "Calc Chlor Capacity Gallon", "length": 30, "domain": null }, { "name": "COMMENTS", "type": "esriFieldTypeString", "alias": "Comments", "length": 85, "domain": null }, { "name": "ELECTRICITY", "type": "esriFieldTypeString", "alias": "Electricity", "length": 25, "domain": null }, { "name": "STOCK_PILE_CAMERA", "type": "esriFieldTypeString", "alias": "Stock Pile Camera", "length": 50, "domain": null }, { "name": "DESCRIPTION", "type": "esriFieldTypeString", "alias": "Description", "length": 50, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "AREA_CODE", "type": "esriFieldTypeDouble", "alias": "Area Code", "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R1175708_SDE_ROWID_UK", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "A1093_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": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "259f91d51d654ea488d25a2e01cd0dff" }