{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 2, "name": "Cable", "type": "Feature Layer", "description": "GDSNetworkInfrastructure.SDEADMIN.Cable (OpenData)", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 1000000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var serviceStatus = $feature.ServiceStatus;\n\nif (serviceStatus == \"Abandoned\"){\n return \"Abandoned\";\n} else if (serviceStatus == \"Out of Service\") {\n return \"Out of Service\";\n} else if (serviceStatus == \"Proposed\") {\n return \"Proposed\";\n} else if (Includes([\"Out of Service\",\"Abandoned\",\"Removed\",\"Proposed\"],serviceStatus) == False || serviceStatus == null) {\n return\"In Service\";\n} ", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 0, 0, 255 ], "width": 1.2 }, "value": "Abandoned", "label": "Abandoned" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 0, 0, 255 ], "width": 1.2 }, "value": "Out of Service", "label": "Out of Service" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 0, 0, 255 ], "width": 1.3 }, "value": "In Service", "label": "In Service" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 0, 0, 0, 255 ], "width": 1.3 }, "value": "Proposed", "label": "Proposed" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 252, 215, 255 ], "toColor": [ 207, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 244, 179, 252, 255 ], "toColor": [ 244, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 192, 182, 255 ], "toColor": [ 252, 192, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 216, 252, 255 ], "toColor": [ 179, 216, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 232, 184, 255 ], "toColor": [ 252, 232, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 240, 255 ], "toColor": [ 252, 212, 240, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 188, 182, 252, 255 ], "toColor": [ 188, 182, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 250, 252, 255 ], "toColor": [ 179, 250, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 252, 179, 255 ], "toColor": [ 199, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 223, 255 ], "toColor": [ 252, 179, 223, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 204, 252, 255 ], "toColor": [ 217, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 226, 212, 255 ], "toColor": [ 252, 226, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 252, 192, 255 ], "toColor": [ 235, 252, 192, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -4020763.2677228367, "ymin": 2036.0570636580535, "xmax": 7220763.267722837, "ymax": 1.9997963942936342E7, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "CableID", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "CableID", "type": "esriFieldTypeOID", "alias": "CableID", "domain": null }, { "name": "CableFunction", "type": "esriFieldTypeString", "alias": "CableFunction", "length": 30, "domain": null }, { "name": "RatedVoltage", "type": "esriFieldTypeString", "alias": "RatedVoltage", "length": 10, "domain": null }, { "name": "ServiceStatus", "type": "esriFieldTypeString", "alias": "ServiceStatus", "length": 32, "domain": null }, { "name": "Maintenance", "type": "esriFieldTypeString", "alias": "Maintenance", "length": 32, "domain": null }, { "name": "LocationCertainty", "type": "esriFieldTypeString", "alias": "LocationCertainty", "length": 50, "domain": null }, { "name": "YearLaid", "type": "esriFieldTypeDate", "alias": "YearLaid", "length": 8, "domain": null }, { "name": "DecommissionDate", "type": "esriFieldTypeDate", "alias": "DecommissionDate", "length": 8, "domain": null }, { "name": "SAPInternalReference", "type": "esriFieldTypeString", "alias": "SAPInternalReference", "length": 22, "domain": null }, { "name": "PipeLabel", "type": "esriFieldTypeString", "alias": "PipeLabel", "length": 75, "domain": null }, { "name": "Geometry_SPA", "type": "esriFieldTypeGeometry", "alias": "Geometry_SPA", "domain": null } ], "geometryField": { "name": "Geometry_SPA", "type": "esriFieldTypeGeometry", "alias": "Geometry_SPA" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "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": "New Zealand Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "fabd63f8bac044c3b2378ad2f253837d" }