{ "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": 25, "name": "Closed Trails" } ], "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": "740e83340b88471cbd924113b36f85ba" }, { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 25, "name": "Closed Trails", "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};\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// Check Closure Status\nvar thisMonth = Month(Today());\nvar thisDay = Day(Today());\nvar openStatus;\n\nif ( (thisMonth < openMonth) || (thisMonth == openMonth && thisDay < openDay) ) {\n // Too Early\n openStatus = 'Closed';\n} else if ( (thisMonth > closeMonth) || (thisMonth == closeMonth && thisDay >= closeDay) ) {\n // Too Late\n openStatus = 'Closed';\n} else if (\n (thisDay >= openDay || thisMonth >= openMonth)\n && (thisDay < closeDay || thisMonth <= closeMonth)\n ) {\n // All Clear\n openStatus = 'Open';\n} else {\n // Oops\n openStatus = 'unable to determine closure status';\n}\n\nreturn openStatus;\n", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 210, 100, 45, 229 ], "width": 8 }, "value": "Closed", "label": "Closed" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 156, 97, 92, 255 ], "toColor": [ 156, 97, 92, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 114, 247, 94, 255 ], "toColor": [ 114, 247, 94, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 101, 78, 217, 255 ], "toColor": [ 101, 78, 217, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 86, 214, 203, 255 ], "toColor": [ 86, 214, 203, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 205, 89, 255 ], "toColor": [ 247, 205, 89, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 46, 85, 133, 255 ], "toColor": [ 46, 85, 133, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 242, 145, 231, 255 ], "toColor": [ 242, 145, 231, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 99, 130, 53, 255 ], "toColor": [ 99, 130, 53, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 128, 183, 242, 255 ], "toColor": [ 128, 183, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 120, 106, 255 ], "toColor": [ 247, 120, 106, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 200, 165, 255 ], "toColor": [ 250, 200, 165, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 135, 54, 123, 255 ], "toColor": [ 135, 54, 123, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 95, 222, 148, 255 ], "toColor": [ 95, 222, 148, 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": [ 61, 92, 76, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 194, 214, 204, 255 ], "haloSize": 0.5, "font": { "family": "Franklin Gothic Book", "size": 9, "style": "italic", "weight": "normal", "decoration": "none" } } } ] }, "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": "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": "740e83340b88471cbd924113b36f85ba" } ], "tables": [] }