{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 3, "name": "Brine 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": "e6d70d8c30c62a9781a228470e30a568", "imageData": "iVBORw0KGgoAAAANSUhEUgAAABcAAAAXCAYAAADgKtSgAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACO0lEQVRIicWVv2sUQRTHP7O5ytLu1vwJVu5/IASV291KRFNYXrCyshO8YKmNCEq2EUGS5UCLy2mhjX9ADotYWShaGEgd0qgz8mb29sfs3pEIwQfHHrPvfefNd77ftz3OMHr/D3wwjlj5k4CKMSYE1bfrihmGGcpsMrn183Tg6U6IUQ9ADzFKVqagBOzAJagYkHdDkjxj9+bGycAH4wijR4AAZOgg4+2NmZc1qhpgSJpHYFL/FE1wW6BHKPponTJd31105AJog8E4I9B7gPzCxeCuk7gGLMnnahkaOASOyhU5VbydooIJSb5Vp6jXoEM4hqzW8WXgCXAeeAZckPMBr4F14JfNknzhXiiSkxQ0VuCiCrk8HUjSPF4Bt4E14DnwGXgPXAdeAO/KTFGOXPCKjgAP3Clg2nF5QkU9vhfP49YdpLnUutM3wJ2OfWA/VoFrRfHH1lvRvgPH77xf6bgzHgGXgE/A484MqXe+OLX97wFfgTfAPpAAH9ppVYMVuFja8T5asoHw/BS4Atxtg9v6ktpei690J/ScFnjP1dpGvrNFKVlH54WUjDXS3AhXgYvF//vAN+AO8AN42AAPrEcaUq7Apdu2EQ4Ks9Rl+RL4AvwuV+PtpJRgTcrNCxXrpnlkZ4VYetlsqQMrtWXvbNKcjh1qMWLvvWJWZAtntnDsqBg6Mdg6loNPLFBoh9B8Zovz3Mehmufu8iQyv+MlneNCKBLu3axwHVqD2A2E10Wz/gTgEq7QAf1DnOkH+i9VkeWOHpGL2AAAAABJRU5ErkJggg==", "contentType": "image/png", "width": 17, "height": 17, "angle": 0, "xoffset": 0, "yoffset": 0 }, "value": "Brine Only" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 247, 255 ], "toColor": [ 252, 215, 247, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 180, 255 ], "toColor": [ 179, 252, 180, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 244, 252, 255 ], "toColor": [ 179, 244, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 229, 179, 255 ], "toColor": [ 252, 229, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 180, 179, 252, 255 ], "toColor": [ 180, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 182, 252, 255 ], "toColor": [ 251, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 195, 182, 255 ], "toColor": [ 252, 195, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 252, 215, 255 ], "toColor": [ 224, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 213, 252, 255 ], "toColor": [ 192, 213, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 210, 255 ], "toColor": [ 252, 179, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 231, 252, 182, 255 ], "toColor": [ 231, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 233, 215, 255 ], "toColor": [ 252, 233, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 233, 255 ], "toColor": [ 179, 252, 233, 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" }