{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 100, "name": "Open Spaces", "type": "Group Layer", "description": "New Group Layer", "geometryType": null, "copyrightText": "", "parentLayer": null, "subLayers": [ { "id": 105, "name": "Closed Properties" } ], "minScale": 0, "maxScale": 0, "defaultVisibility": true, "extent": { "xmin": -1.1951466863499999E7, "ymin": 4731872.0217999965, "xmax": -1.18635632392E7, "ymax": 4776648.1501, "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": "17512454111d4e758ad30ef8fff20314" }, { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 105, "name": "Closed Properties", "type": "Feature Layer", "description": "Open Space lands are shown in this layer with attributes that include ownership, year acquired, property restriction and managing agency.", "geometryType": "esriGeometryPolygon", "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, City of Aspen Parks Department,", "parentLayer": { "id": 100, "name": "Open Spaces" }, "subLayers": [], "minScale": 1155581.108577, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "// 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};\n\n// Get month and day from date string e.g. \"Jun 21\"\nfunction parseDateString(dateString){\n var outMonth, outDay;\n outMonth = Split(dateString, ' ')[0];\n outDay = Split(dateString, ' ')[1];\n outMonth = monthIndices[outMonth];\n \n return [outMonth, outDay]\n}\n\n\n// Get Opening & Closure (default to 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 = 1;\n openDay = 1;\n}\nvar closeMonth, closeDay;\nif ( !IsEmpty($feature.closedondate) ) {\n var parsedCloseDate = parseDateString($feature.closedondate);\n closeMonth = parsedCloseDate[0];\n closeDay = parsedOpenDate[1];\n} else {\n closeMonth = 12;\n closeDay = 31;\n}\n\n// Check opening values\nvar openStatus;\nvar thisMonth = Month(Today());\nvar thisDay = Day(Today());\n\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": "Closure", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 230, 152, 0, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 115, 0, 255 ], "width": 1 } }, "value": "Closed", "label": "Closed Area" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 252, 242, 255 ], "toColor": [ 189, 252, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 241, 179, 252, 255 ], "toColor": [ 241, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 203, 189, 255 ], "toColor": [ 252, 203, 189, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 208, 252, 255 ], "toColor": [ 187, 208, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 238, 252, 179, 255 ], "toColor": [ 238, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 215, 255 ], "toColor": [ 252, 184, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 252, 188, 255 ], "toColor": [ 182, 252, 188, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 241, 210, 255 ], "toColor": [ 252, 241, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 179, 252, 255 ], "toColor": [ 189, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 236, 252, 255 ], "toColor": [ 204, 236, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 233, 204, 252, 255 ], "toColor": [ 233, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 229, 255 ], "toColor": [ 252, 215, 229, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 222, 252, 210, 255 ], "toColor": [ 222, 252, 210, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 40, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -1.1951466863499999E7, "ymin": 4731872.0217999965, "xmax": -1.18635632392E7, "ymax": 4776648.1501, "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": true, "attachmentProperties": [ { "name": "id", "fieldName": "attachmentid", "isEnabled": true }, { "name": "globalid", "fieldName": "globalid", "isEnabled": true }, { "name": "keywords", "fieldName": "keywords", "isEnabled": true }, { "name": "name", "fieldName": "att_name", "isEnabled": true }, { "name": "contentType", "fieldName": "content_type", "isEnabled": true }, { "name": "size", "fieldName": "data_size", "isEnabled": true }, { "name": "exifInfo", "fieldName": "exifinfo", "isEnabled": false } ], "attachmentFields": [ { "name": "attachmentid", "type": "esriFieldTypeOID", "alias": "ATTACHMENTID", "editable": false, "nullable": false, "length": 4, "domain": null }, { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "GLOBALID", "editable": false, "nullable": false, "length": 38, "domain": null }, { "name": "keywords", "type": "esriFieldTypeString", "alias": "KEYWORDS", "editable": true, "nullable": true, "length": 2048, "domain": null }, { "name": "att_name", "type": "esriFieldTypeString", "alias": "ATT_NAME", "editable": true, "nullable": false, "length": 250, "domain": null }, { "name": "content_type", "type": "esriFieldTypeString", "alias": "CONTENT_TYPE", "editable": true, "nullable": false, "length": 150, "domain": null }, { "name": "data_size", "type": "esriFieldTypeInteger", "alias": "DATA_SIZE", "editable": true, "nullable": false, "length": 4, "domain": null } ], "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": 50, "domain": null }, { "name": "type", "type": "esriFieldTypeString", "alias": "Type", "length": 30, "domain": null }, { "name": "ownership", "type": "esriFieldTypeString", "alias": "Owner", "length": 50, "domain": null }, { "name": "book", "type": "esriFieldTypeInteger", "alias": "Book", "domain": null }, { "name": "page", "type": "esriFieldTypeInteger", "alias": "Page", "domain": null }, { "name": "parcel", "type": "esriFieldTypeDouble", "alias": "Parcel", "domain": null }, { "name": "acres", "type": "esriFieldTypeDouble", "alias": "Acres", "domain": null }, { "name": "comment", "type": "esriFieldTypeString", "alias": "Comment", "length": 50, "domain": null }, { "name": "year", "type": "esriFieldTypeInteger", "alias": "Year", "domain": null }, { "name": "short_owne", "type": "esriFieldTypeString", "alias": "Owner Abbrev", "length": 25, "domain": null }, { "name": "owner_type", "type": "esriFieldTypeString", "alias": "Ownership Type", "length": 12, "domain": null }, { "name": "recept_date", "type": "esriFieldTypeDate", "alias": "Reception Date", "length": 8, "domain": null }, { "name": "recept_no", "type": "esriFieldTypeDouble", "alias": "Reception Number", "domain": null }, { "name": "restriction", "type": "esriFieldTypeString", "alias": "Restriction", "length": 75, "domain": null }, { "name": "maintainer", "type": "esriFieldTypeString", "alias": "Maintained By", "length": 50, "domain": null }, { "name": "show", "type": "esriFieldTypeString", "alias": "Show", "length": 5, "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": "globalid", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "note", "type": "esriFieldTypeString", "alias": "Note", "length": 50, "domain": null }, { "name": "partner", "type": "esriFieldTypeString", "alias": "Fund Partner", "length": 50, "domain": null }, { "name": "planningarea", "type": "esriFieldTypeString", "alias": "PlanningArea", "length": 150, "domain": null }, { "name": "manageplan", "type": "esriFieldTypeString", "alias": "ManagePlan", "length": 255, "domain": null }, { "name": "primaryphoto", "type": "esriFieldTypeString", "alias": "PrimaryPhoto", "length": 255, "domain": null }, { "name": "agriculture", "type": "esriFieldTypeString", "alias": "agriculture", "length": 5, "domain": null }, { "name": "ecological", "type": "esriFieldTypeString", "alias": "ecological", "length": 5, "domain": null }, { "name": "historic", "type": "esriFieldTypeString", "alias": "historic", "length": 5, "domain": null }, { "name": "recreation", "type": "esriFieldTypeString", "alias": "recreation", "length": 5, "domain": null }, { "name": "scenic", "type": "esriFieldTypeString", "alias": "scenic", "length": 5, "domain": null }, { "name": "wildlife", "type": "esriFieldTypeString", "alias": "wildlife", "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": "closure", "type": "esriFieldTypeString", "alias": "Closure", "length": 75, "domain": null }, { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "st_area(shape)", "type": "esriFieldTypeDouble", "alias": "st_area(shape)", "domain": null }, { "name": "st_length(shape)", "type": "esriFieldTypeDouble", "alias": "st_length(shape)", "domain": null } ], "geometryField": { "name": "shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "r31562_sde_rowid_uk", "fields": "objectid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "uuid_31562", "fields": "globalid", "isAscending": true, "isUnique": true, "description": "" }, { "name": "a29433_ix1", "fields": "shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "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, "supportsQueryAttachments": true, "supportsQueryAttachmentsWithReturnUrl": true, "supportsQueryAnalytic": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "st_area(shape)", "shapeLengthFieldName": "st_length(shape)", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "17512454111d4e758ad30ef8fff20314" } ], "tables": [] }