{ "layers": [ { "currentVersion": 10.91, "cimVersion": "2.9.0", "id": 0, "name": "NSW Stream Gauges", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPoint", "sourceSpatialReference": { "wkid": 7844, "latestWkid": 7844, "xyTolerance": 8.983152841195215E-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": 5000000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var cease_date = $feature.siteCease;\nvar today_date = Today();\nvar diff = DateDiff(today_date, cease_date,'days');\n\nif(diff>0){\nreturn 'Inactive';\n}\nelse\nreturn 'Active'\n", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 55, 166, 0, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.6 } }, "value": "Active", "label": "Active" }, { "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 230, 0, 0, 255 ], "size": 5, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.6 } }, "value": "Inactive", "label": "Inactive" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriHSVAlgorithm", "fromColor": [ 56, 168, 0, 255 ], "toColor": [ 255, 0, 0, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.siteId", "title": "Custom" }, "labelPlacement": "esriServerPointLabelPlacementAboveRight", "deconflictionStrategy": "dynamic", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 100000, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Tahoma", "size": 7, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 5.6843418860808015E-14, "ymin": -37.682700000999944, "xmax": 153.55000000000007, "ymax": 5.6843418860808015E-14, "spatialReference": { "wkid": 7844, "latestWkid": 7844, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "siteName", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "siteId", "type": "esriFieldTypeInteger", "alias": "siteId", "domain": null }, { "name": "siteName", "type": "esriFieldTypeString", "alias": "siteName", "length": 1073741822, "domain": null }, { "name": "latitude", "type": "esriFieldTypeDouble", "alias": "latitude", "domain": null }, { "name": "longitude", "type": "esriFieldTypeDouble", "alias": "longitude", "domain": null }, { "name": "latLongDatum", "type": "esriFieldTypeString", "alias": "latLongDatum", "length": 1073741822, "domain": null }, { "name": "siteType", "type": "esriFieldTypeString", "alias": "siteType", "length": 1073741822, "domain": null }, { "name": "siteSubType", "type": "esriFieldTypeString", "alias": "siteSubType", "length": 1073741822, "domain": null }, { "name": "monitoringType", "type": "esriFieldTypeString", "alias": "monitoringType", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable1", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable1", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable2", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable2", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable3", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable3", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable4", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable4", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable5", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable5", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable6", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable6", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable7", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable7", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable8", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable8", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable9", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable9", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable10", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable10", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable11", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable11", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable12", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable12", "length": 1073741822, "domain": null }, { "name": "variablesMonitored_variable13", "type": "esriFieldTypeString", "alias": "variablesMonitored.variable13", "length": 1073741822, "domain": null }, { "name": "zone", "type": "esriFieldTypeInteger", "alias": "zone", "domain": null }, { "name": "siteCommence", "type": "esriFieldTypeDate", "alias": "siteCommence", "length": 8, "domain": null }, { "name": "siteCease", "type": "esriFieldTypeDate", "alias": "siteCease", "length": 8, "domain": null }, { "name": "source1", "type": "esriFieldTypeInteger", "alias": "source1", "domain": null }, { "name": "source2", "type": "esriFieldTypeInteger", "alias": "source2", "domain": null }, { "name": "source3", "type": "esriFieldTypeString", "alias": "source3", "length": 1073741822, "domain": null }, { "name": "source4", "type": "esriFieldTypeString", "alias": "source4", "length": 1073741822, "domain": null }, { "name": "source5", "type": "esriFieldTypeString", "alias": "source5", "length": 1073741822, "domain": null }, { "name": "source6", "type": "esriFieldTypeString", "alias": "source6", "length": 1073741822, "domain": null }, { "name": "sourceName1", "type": "esriFieldTypeString", "alias": "sourceName1", "length": 1073741822, "domain": null }, { "name": "sourceName2", "type": "esriFieldTypeString", "alias": "sourceName2", "length": 1073741822, "domain": null }, { "name": "sourceName3", "type": "esriFieldTypeString", "alias": "sourceName3", "length": 1073741822, "domain": null }, { "name": "sourceName4", "type": "esriFieldTypeString", "alias": "sourceName4", "length": 1073741822, "domain": null }, { "name": "sourceName5", "type": "esriFieldTypeString", "alias": "sourceName5", "length": 1073741822, "domain": null }, { "name": "sourceName6", "type": "esriFieldTypeString", "alias": "sourceName6", "length": 1073741822, "domain": null }, { "name": "lastUpdatedDateTime", "type": "esriFieldTypeDate", "alias": "lastUpdatedDateTime", "length": 8, "domain": null }, { "name": "active", "type": "esriFieldTypeInteger", "alias": "active", "domain": null }, { "name": "zerogauge", "type": "esriFieldTypeDouble", "alias": "zerogauge", "domain": null }, { "name": "datum", "type": "esriFieldTypeString", "alias": "datum", "length": 1073741822, "domain": null }, { "name": "control", "type": "esriFieldTypeString", "alias": "control", "length": 1073741822, "domain": null }, { "name": "ctfLevel", "type": "esriFieldTypeDouble", "alias": "ctfLevel", "domain": null }, { "name": "regulated", "type": "esriFieldTypeInteger", "alias": "regulated", "domain": null }, { "name": "elevation", "type": "esriFieldTypeDouble", "alias": "elevation", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "R2234_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S369_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,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": "86249a5198a24075862cb9cc7a4afbf6" } ], "tables": [] }