{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 0, "name": "Contours", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 103129, "latestWkid": 6549, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118963900, "falseY": -96373800, "xyUnits": 3.7240637144144125E7, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 5000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// First, check if it divides evenly by 100 (Major contours)\nif ($feature.Contour % 100 == 0) {\n return \"Major Index Contour (100)\"\n}\n// Next, check if it divides evenly by 10 (Regular index contours)\nelse if ($feature.Contour % 10 == 0) {\n return \"Index Contour (10)\"\n}\n// All other values\nelse {\n return \"Intermediate Contour\"\n}", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Custom", "classes": [ { "label": "Intermediate Contour", "description": "Intermediate Contour", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 195, 0, 255 ], "width": 1 }, "values": [ [ "Intermediate Contour" ] ] }, { "label": "Index Contour (10)", "description": "Index Contour (10)", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 194, 155, 0, 255 ], "width": 1 }, "values": [ [ "Index Contour (10)" ] ] }, { "label": "Major Index Contour (100)", "description": "Major Index Contour (100)", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 191, 131, 0, 255 ], "width": 1 }, "values": [ [ "Major Index Contour (100)" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 195, 0, 255 ], "width": 1 }, "value": "Intermediate Contour", "label": "Intermediate Contour" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 194, 155, 0, 255 ], "width": 1 }, "value": "Index Contour (10)", "label": "Index Contour (10)" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 191, 131, 0, 255 ], "width": 1 }, "value": "Major Index Contour (100)", "label": "Major Index Contour (100)" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 218, 207, 252, 255 ], "toColor": [ 218, 207, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 180, 255 ], "toColor": [ 179, 252, 180, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 222, 189, 255 ], "toColor": [ 252, 222, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 194, 252, 252, 255 ], "toColor": [ 194, 252, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 187, 210, 255 ], "toColor": [ 252, 187, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 229, 252, 212, 255 ], "toColor": [ 229, 252, 212, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 251, 179, 252, 255 ], "toColor": [ 251, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 252, 184, 255 ], "toColor": [ 252, 252, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 223, 255 ], "toColor": [ 184, 252, 223, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 197, 227, 252, 255 ], "toColor": [ 197, 227, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 193, 184, 255 ], "toColor": [ 252, 193, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 179, 252, 255 ], "toColor": [ 199, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 212, 252, 255 ], "toColor": [ 252, 212, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.Contour", "title": "Custom" }, "labelPlacement": "esriServerLinePlacementCenterAlong", "textLayout": "followFeature", "deconflictionStrategy": "dynamic", "allowOverrun": false, "repeatLabel": false, "lineConnection": "minimizeLabels", "useClippedGeometry": false, "allowOverlapOfFeatureInterior": "avoid", "stackLabel": false, "removeDuplicates": "none", "where": "MOD(Contour,10) = 0", "useCodedValues": true, "maxScale": 0, "minScale": 0, "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": null, "haloSize": null, "font": { "family": "Tahoma", "size": 11, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 1675000.6200000048, "ymin": 161250.62000001967, "xmax": 1782499.3700000048, "ymax": 306249.37000000477, "spatialReference": { "wkid": 103129, "latestWkid": 6549, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118963900, "falseY": -96373800, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Contour", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Id", "type": "esriFieldTypeInteger", "alias": "Id", "domain": null }, { "name": "Contour", "type": "esriFieldTypeDouble", "alias": "Contour", "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "FDO_OBJECTID", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "FDO_Shape", "fields": "Shape", "isAscending": true, "isUnique": false, "description": "" } ], "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, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "Eastern Standard Time", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "Shape_Length", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true } ], "tables": [] }