{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 15, "name": "BGPipe", "type": "Feature Layer", "description": "GDSNetworkInfrastructure.SDEADMIN.Bio Gas Pipe (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": [ 255, 127, 0, 255 ], "width": 1.2 }, "value": "In Service", "label": "In Service" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 255, 127, 0, 255 ], "width": 1.2 }, "value": "Proposed", "label": "Proposed" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 255, 127, 0, 255 ], "width": 1.2 }, "value": "Out of Service", "label": "Out of Service" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 255, 127, 0, 255 ], "width": 1.3 }, "value": "Abandoned", "label": "Abandoned" } ], "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": [ { "labelExpression": "[PipeLabel]", "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "followFeature", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 216, "lineConnection": "none", "multiPart": "labelPerFeature", "stackLabel": false, "where": "GMSCSymbology = 'In Service'", "useCodedValues": true, "maxScale": 0, "minScale": 500000, "name": "In Service", "priority": 4, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Lucida Sans Unicode", "size": 7.02, "style": "normal", "weight": "normal", "decoration": "none" } } }, { "labelExpression": "\"P\"", "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "straight", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 216, "lineConnection": "none", "multiPart": "labelPerFeature", "stackLabel": false, "where": "GMSCSymbology = 'Proposed'", "useCodedValues": true, "maxScale": 0, "minScale": 500000, "name": "Proposed", "priority": 5, "symbol": { "type": "esriTS", "color": [ 255, 127, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 11, "style": "normal", "weight": "normal", "decoration": "none" } } }, { "labelExpression": "\"o s\"", "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "straight", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 216, "lineConnection": "none", "multiPart": "labelPerFeature", "stackLabel": false, "where": "GMSCSymbology = 'Out of Service'", "useCodedValues": true, "maxScale": 0, "minScale": 500000, "name": "Out of Service", "priority": 6, "symbol": { "type": "esriTS", "color": [ 255, 127, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 11, "style": "normal", "weight": "normal", "decoration": "none" } } }, { "labelExpression": "\"a\"", "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "straight", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "removeDuplicates": "all", "removeDuplicatesDistance": 216, "lineConnection": "none", "multiPart": "labelPerFeature", "stackLabel": false, "where": "GMSCSymbology = 'Abandoned'", "useCodedValues": true, "maxScale": 0, "minScale": 500000, "name": "Abandoned", "priority": 7, "symbol": { "type": "esriTS", "color": [ 255, 127, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 255, 255, 255, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 11, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "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": "BGPipeID", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "BGPipeID", "type": "esriFieldTypeOID", "alias": "BGPipeID", "domain": null }, { "name": "PressureClass", "type": "esriFieldTypeInteger", "alias": "PressureClass", "domain": null }, { "name": "Diameter", "type": "esriFieldTypeInteger", "alias": "Diameter", "domain": null }, { "name": "Construction", "type": "esriFieldTypeString", "alias": "Construction", "length": 32, "domain": null }, { "name": "Maintenance", "type": "esriFieldTypeString", "alias": "Maintenance", "length": 32, "domain": null }, { "name": "ServiceStatus", "type": "esriFieldTypeString", "alias": "ServiceStatus", "length": 32, "domain": null }, { "name": "DateLaid", "type": "esriFieldTypeDate", "alias": "DateLaid", "length": 8, "domain": null }, { "name": "DecommissionDate", "type": "esriFieldTypeDate", "alias": "DecommissionDate", "length": 8, "domain": null }, { "name": "Depth", "type": "esriFieldTypeDouble", "alias": "Depth", "domain": null }, { "name": "Burried", "type": "esriFieldTypeInteger", "alias": "Burried", "domain": null }, { "name": "BurriedDesc", "type": "esriFieldTypeString", "alias": "BurriedDesc", "length": 3, "domain": null }, { "name": "PipeLabel", "type": "esriFieldTypeString", "alias": "PipeLabel", "length": 16, "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": true, "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" }