{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 20, "name": "Trails", "type": "Group Layer", "description": "New Group Layer", "geometryType": null, "copyrightText": "", "parentLayer": null, "subLayers": [ { "id": 22, "name": "Trails (Dark)" } ], "minScale": 0, "maxScale": 0, "defaultVisibility": true, "extent": { "xmin": -1.1976551997000001E7, "ymin": 4718706.377400003, "xmax": -1.18499679743E7, "ymax": 4800733.2619, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeNone", "displayField": "", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": null, "geometryField": {}, "indexes": [], "subtypes": [], "relationships": [], "canModifyLayer": false, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query", "supportsStatistics": false, "supportsExceedsLimitStatistics": false, "supportsAdvancedQueries": false, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": false, "supportsPercentileStatistics": false, "supportsHavingClause": false, "supportsOrderBy": false, "supportsDistinct": false, "supportsCountDistinct": false, "supportsPagination": false, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": false, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": false }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": false, "serviceItemId": "2f81a69177334a47878c13c7a8687c05" }, { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 22, "name": "Trails (Dark)", "type": "Feature Layer", "description": "Trails contains many attributes that provide functionality in other applications. Uses, seasonal closure, restrictions, trail source, surface and ADA access are some of the information contained in this layer.", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "Pitkin County Open Space and Trails, USFS, Town of Snowmass Village Parks and Trails, City of Aspen Parks Department", "parentLayer": { "id": 20, "name": "Trails" }, "subLayers": [], "minScale": 1155581.108577, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// Arcade Script for Trails Symbols\n// Dictionary translates months to usable integers\nvar monthIndices = {\n 'Jan': 0,\n 'January': 0,\n 'Feb': 1,\n 'February': 1,\n 'Mar': 2,\n 'March': 2,\n 'Apr': 3,\n 'April': 3,\n 'May': 4,\n 'Jun': 5,\n 'June': 5,\n 'Jul': 6,\n 'July': 6,\n 'Aug': 7,\n 'August': 7,\n 'Sep': 8,\n 'Sept': 8,\n 'September': 8,\n 'Oct': 9,\n 'October': 9,\n 'Nov': 10,\n 'November': 10,\n 'Dec': 11,\n 'December': 11,\n 'Memorial': 4 // Memorial Day, last Monday in May\n};\nvar typeGroups = {\n 'double track': 'Trail',\n 'single track': 'Trail',\n 'singletrack': 'Trail',\n 'path': 'Path',\n 'Path': 'Path',\n 'recreational road': 'Recreational Road',\n 'other': 'Recreational Road',\n 'urban road': 'Path' // combine w/ paved paths\n};\nvar thisMonth = Month(Today());\nvar thisDay = Day(Today());\n\n// Get month and day from date string e.g. \"Jun 21\"\nfunction parseDateString(dateString){\n var outMonth, outDay;\n\n // Handle funky date strings\n if ( Find('Memorial Day', dateString) != -1 ){\n // Handle \"Memorial Day\"\n outMonth = 4;\n var earliestMemDate = Date(Year(Today()), outMonth, 25);\n var earliestMemWeekday = Weekday(earliestMemDate);\n if (earliestMemWeekday == 0) {\n // June - 7 is a Sunday\n outDay = 26;\n } else if (earliestMemWeekday == 1) {\n // June - 7 is a Monday\n outDay = 25;\n } else {\n var dayDelta = 8 - earliestMemWeekday;\n outDay = 25 + dayDelta;\n }\n } else {\n outMonth = Split(dateString, ' ')[0];\n outDay = Split(dateString, ' ')[1];\n outMonth = monthIndices[outMonth];\n }\n \n return [outMonth, outDay];\n}\n\n\nvar openDate = Text($feature.openondate);\n// Get Opening & Closure (default year start/end)\nvar openMonth, openDay;\nif ( !IsEmpty($feature.openondate) ) {\n var parsedOpenDate = parseDateString($feature.openondate);\n openMonth = parsedOpenDate[0];\n openDay = parsedOpenDate[1];\n} else {\n openMonth = 0;\n openDay = 1;\n}\nvar closedDate = Text($feature.closedondate);\nvar closeMonth, closeDay;\nif ( !IsEmpty($feature.closedondate) ) {\n var parsedCloseDate = parseDateString($feature.closedondate);\n closeMonth = parsedCloseDate[0];\n closeDay = parsedCloseDate[1];\n} else {\n closeMonth = 12;\n closeDay = 31;\n}\n\n\n// Get trail type and split paths by surface\nvar symbolClass;\nif ( !isEmpty($feature.trail_type) ) {\n var symbolClass = typeGroups[$feature.trail_type]\n if (!isEmpty($feature.surface) && symbolClass == 'Path') {\n symbolClass = symbolClass + ' - ' + Proper($feature.surface)\n }\n} else {\n symbolClass = 'Other'\n}\n\nreturn symbolClass;\n", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 54, 36, 143, 255 ], "width": 3 }, "value": "Path - Paved", "label": "Path - Paved" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDashDot", "color": [ 234, 217, 200, 255 ], "width": 1.5 }, "value": "Path - Unpaved", "label": "Path - Unpaved" }, { "symbol": { "type": "esriSLS", "style": "esriSLSDash", "color": [ 209, 250, 229, 255 ], "width": 1.5 }, "value": "Trail", "label": "Trail" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 242, 232, 217, 255 ], "width": 2 }, "value": "Recreational Road", "label": "Recreational Road" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 222, 206, 138, 255 ], "toColor": [ 222, 206, 138, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 116, 84, 214, 255 ], "toColor": [ 116, 84, 214, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 130, 47, 68, 255 ], "toColor": [ 130, 47, 68, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 119, 185, 230, 255 ], "toColor": [ 119, 185, 230, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 97, 247, 92, 255 ], "toColor": [ 97, 247, 92, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 60, 128, 76, 255 ], "toColor": [ 60, 128, 76, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 124, 105, 255 ], "toColor": [ 250, 124, 105, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 129, 206, 255 ], "toColor": [ 235, 129, 206, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 92, 242, 225, 255 ], "toColor": [ 92, 242, 225, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 110, 99, 150, 255 ], "toColor": [ 110, 99, 150, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 130, 98, 57, 255 ], "toColor": [ 130, 98, 57, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 135, 214, 138, 255 ], "toColor": [ 135, 214, 138, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 145, 163, 255 ], "toColor": [ 217, 145, 163, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.name", "title": "Custom" }, "labelPlacement": "esriServerLinePlacementAboveAlong", "textLayout": "followFeature", "deconflictionStrategy": "dynamic", "allowOverrun": true, "repeatLabel": false, "lineConnection": "minimizeLabels", "offsetDistance": 3, "stackLabel": true, "stackAlignment": "dynamic", "removeDuplicates": "all", "removeDuplicatesDistance": 216, "stackRowLength": 24, "useCodedValues": true, "maxScale": 0, "minScale": 18055.954822, "name": "Trail Label", "priority": -1, "symbol": { "type": "esriTS", "color": [ 224, 235, 226, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 0, 0, 0, 127 ], "haloSize": 0.5, "font": { "family": "Franklin Gothic Book", "size": 10, "style": "italic", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": false, "extent": { "xmin": -1.1976551997000001E7, "ymin": 4718706.377400003, "xmax": -1.18499679743E7, "ymax": 4800733.2619, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "name", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "name", "type": "esriFieldTypeString", "alias": "Name", "length": 30, "domain": null }, { "name": "usfs_no", "type": "esriFieldTypeString", "alias": "USFS Number", "length": 8, "domain": null }, { "name": "trailmap", "type": "esriFieldTypeString", "alias": "TRAILMAP", "length": 16, "domain": null }, { "name": "notes", "type": "esriFieldTypeString", "alias": "Note", "length": 120, "domain": null }, { "name": "restriction", "type": "esriFieldTypeString", "alias": "Restriction", "length": 40, "domain": null }, { "name": "surface_detail", "type": "esriFieldTypeString", "alias": "Surface Detail", "length": 20, "domain": null }, { "name": "miles", "type": "esriFieldTypeDouble", "alias": "Miles", "domain": null }, { "name": "trail_type", "type": "esriFieldTypeString", "alias": "Trail Type", "length": 30, "domain": null }, { "name": "motorized", "type": "esriFieldTypeString", "alias": "Motorized", "length": 5, "domain": null }, { "name": "surface", "type": "esriFieldTypeString", "alias": "Surface", "length": 10, "domain": null }, { "name": "closure", "type": "esriFieldTypeString", "alias": "Closure", "length": 50, "domain": null }, { "name": "ada_access", "type": "esriFieldTypeString", "alias": "ADA Access", "length": 35, "domain": null }, { "name": "parking_area", "type": "esriFieldTypeString", "alias": "Parking Area", "length": 50, "domain": null }, { "name": "rid_route", "type": "esriFieldTypeString", "alias": "RID_Route", "length": 8, "domain": null }, { "name": "rid_trail", "type": "esriFieldTypeString", "alias": "RID_Trail", "length": 10, "domain": null }, { "name": "opdmd", "type": "esriFieldTypeString", "alias": "OPDMD", "length": 120, "domain": null }, { "name": "ped", "type": "esriFieldTypeString", "alias": "Pedestrian", "length": 5, "domain": null }, { "name": "bike", "type": "esriFieldTypeString", "alias": "Bike", "length": 5, "domain": null }, { "name": "horse", "type": "esriFieldTypeString", "alias": "Horse", "length": 5, "domain": null }, { "name": "show", "type": "esriFieldTypeString", "alias": "Show", "length": 5, "domain": null }, { "name": "owner", "type": "esriFieldTypeString", "alias": "Owner", "length": 50, "domain": null }, { "name": "dog", "type": "esriFieldTypeString", "alias": "Dog", "length": 20, "domain": null }, { "name": "source", "type": "esriFieldTypeString", "alias": "Source", "length": 75, "domain": null }, { "name": "difficulty", "type": "esriFieldTypeString", "alias": "Difficulty", "length": 25, "domain": null }, { "name": "created_user", "type": "esriFieldTypeString", "alias": "created_user", "length": 255, "domain": null }, { "name": "created_date", "type": "esriFieldTypeDate", "alias": "created_date", "length": 8, "domain": null }, { "name": "last_edited_user", "type": "esriFieldTypeString", "alias": "last_edited_user", "length": 255, "domain": null }, { "name": "last_edited_date", "type": "esriFieldTypeDate", "alias": "Date Last Edited", "length": 8, "domain": null }, { "name": "maintainer", "type": "esriFieldTypeString", "alias": "Maintained By", "length": 50, "domain": null }, { "name": "link", "type": "esriFieldTypeString", "alias": "Link", "length": 125, "domain": null }, { "name": "road_bike", "type": "esriFieldTypeString", "alias": "Bike_Route", "length": 5, "domain": null }, { "name": "wild", "type": "esriFieldTypeString", "alias": "Wilderness", "length": 5, "domain": null }, { "name": "ebike", "type": "esriFieldTypeString", "alias": "eBike", "length": 5, "domain": null }, { "name": "direction", "type": "esriFieldTypeString", "alias": "Direction", "length": 5, "domain": null }, { "name": "duskclosure", "type": "esriFieldTypeString", "alias": "DuskClosure", "length": 5, "domain": null }, { "name": "closedondate", "type": "esriFieldTypeString", "alias": "ClosedOnDate", "length": 25, "domain": null }, { "name": "openondate", "type": "esriFieldTypeString", "alias": "OpenOnDate", "length": 25, "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "r31564_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a29435_ix1", "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, "hasZ": 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": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "2f81a69177334a47878c13c7a8687c05" } ], "tables": [] }