{ "layers": [ { "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 2, "name": "properties_OST", "type": "Feature Layer", "description": "
Open Space lands are shown in this layer with attributes that include ownership, year acquired, property restriction and managing agency.<\/SPAN><\/P><\/DIV><\/DIV><\/DIV>", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 102654, "latestWkid": 2232, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118767900, "falseY": -94525500, "xyUnits": 3048.0060960121928, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "Pitkin County Open Space and Trails, City of Aspen Parks Department,", "parentLayer": null, "subLayers": [], "minScale": 0, "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// Variables\nvar status;\nvar thisMonth = Month(Today());\nvar thisDay = Day(Today());\n//var testOpenDate = 'Mar 30';\n//var testCloseDate = 'Oct 3';\n\n\n// Get Feature Values (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 = 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\n// Check opening values\nif (thisMonth <= openMonth && thisDay < openDay) {\n // Too Early\n status = 'Closed';\n} else if (thisMonth >= closeMonth && thisDay >= closeDay) {\n // Too Late\n status = 'Closed';\n}\nelse if (\n (thisDay >= openDay || thisMonth >= openMonth) &&\n (thisDay < closeDay || thisMonth <= closeMonth)\n ) {\n // All Clear\n status = 'Open';\n}\nelse {\n // Oops\n status = 'ERROR';\n// Console(' ');\n// Console('Now:');\n// Console(thisMonth + ', ' + thisDay);\n// Console(thisDay >= openDay || thisMonth >= openMonth);\n// Console(thisDay < closeDay || thisMonth <= closeMonth);\n// Console(' ');\n// Console('Open:');\n// Console(openMonth);\n// Console(thisMonth <= openMonth);\n// Console(openDay);\n// Console(thisDay < openDay);\n// Console(' ');\n// Console('Closed:');\n// Console(closeMonth);\n// Console(thisMonth >= closeMonth);\n// Console(closeDay);\n// Console(thisDay >= closeDay);\n}\n\n\nreturn status\n", "valueExpressionTitle": "Open Status", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 89, 179, 109, 127 ], "outline": null }, "value": "Open", "label": "Open" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 168, 0, 0, 128 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 168, 0, 0, 128 ], "width": 1 } }, "value": "Closed", "label": "Closed" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 204, 222, 255 ], "toColor": [ 252, 204, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 182, 255 ], "toColor": [ 179, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 189, 248, 252, 255 ], "toColor": [ 189, 248, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 183, 179, 252, 255 ], "toColor": [ 183, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 233, 184, 255 ], "toColor": [ 252, 233, 184, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 207, 218, 252, 255 ], "toColor": [ 207, 218, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 251, 255 ], "toColor": [ 252, 179, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 252, 215, 255 ], "toColor": [ 225, 252, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 203, 182, 255 ], "toColor": [ 252, 203, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 204, 252, 255 ], "toColor": [ 240, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 252, 182, 255 ], "toColor": [ 235, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 221, 255 ], "toColor": [ 252, 182, 221, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 184, 190, 255 ], "toColor": [ 252, 184, 190, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 2473357.671527222, "ymin": 1454773.5275860578, "xmax": 2695766.750002131, "ymax": 1568265.708737731, "spatialReference": { "wkid": 102654, "latestWkid": 2232, "xyTolerance": 0.003280833333333333, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -118767900, "falseY": -94525500, "xyUnits": 3048.0060960121928, "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": false }, { "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": "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": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "name", "type": "esriFieldTypeString", "alias": "Name", "length": 50, "domain": null }, { "name": "type", "type": "esriFieldTypeString", "alias": "Type", "length": 30, "domain": { "type": "codedValue", "name": "OS_Type_8", "description": "type of property for open space and parks layers", "codedValues": [ { "name": "athletic fields", "code": "athletic" }, { "name": "golf course", "code": "golf course" }, { "name": "open space", "code": "open space" }, { "name": "park", "code": "park" }, { "name": "other", "code": "other" }, { "name": "trailhead", "code": "trailhead" }, { "name": "riparian", "code": "riparian" }, { "name": "backcountry", "code": "backcountry" }, { "name": "greenway", "code": "greenway" }, { "name": "nature preserve", "code": "nature preserve" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ownership", "type": "esriFieldTypeString", "alias": "Owner", "length": 50, "domain": { "type": "codedValue", "name": "OS_OwnerEase", "description": "OS Lead Agency Name", "codedValues": [ { "name": "Aspen Valley Land Trust", "code": "Aspen Valley Land Trust" }, { "name": "City of Aspen", "code": "City of Aspen" }, { "name": "Colorado Historic Foundation", "code": "Colorado Historic Foundation" }, { "name": "Colorado Open Lands", "code": "Colorado Open Lands" }, { "name": "Eagle County", "code": "Eagle County" }, { "name": "Open Space & Trails", "code": "Open Space & Trails" }, { "name": "Town of Basalt", "code": "Town of Basalt" }, { "name": "Town of Snowmass Village", "code": "Town of Snowmass Village" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "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": { "type": "codedValue", "name": "OS_ShortOwner", "description": "abbreviated owner name for OS related layers", "codedValues": [ { "name": "ACES", "code": "ACES" }, { "name": "AVLT", "code": "AVLT" }, { "name": "CHF", "code": "CHF" }, { "name": "COL", "code": "COL" }, { "name": "OST", "code": "OST" }, { "name": "COA", "code": "COA" }, { "name": "Private", "code": "Private" }, { "name": "TOB", "code": "TOB" }, { "name": "RFC", "code": "RFC" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "owner_type", "type": "esriFieldTypeString", "alias": "Ownership Type", "length": 12, "domain": { "type": "codedValue", "name": "OS_OwnerType", "description": "abbreviated ownership type for OS related layers", "codedValues": [ { "name": "LocalGovern", "code": "LocalGovern" }, { "name": "Private", "code": "Private" }, { "name": "State", "code": "State" }, { "name": "NGO", "code": "NGO" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "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": { "type": "codedValue", "name": "OS_Maintain_13", "description": "abbreviated value for maintainer of OS related layers", "codedValues": [ { "name": "COA Parks", "code": "COA Parks" }, { "name": "DOW", "code": "DOW" }, { "name": "OST", "code": "OST" }, { "name": "OST/COA", "code": "OST/COA" }, { "name": "OST/PubWorks", "code": "OST/PubWorks" }, { "name": "PITCO GF", "code": "PITCO GF" }, { "name": "private", "code": "private" }, { "name": "TOB", "code": "TOB" }, { "name": "TOSV", "code": "TOSV" }, { "name": "unknown", "code": "unknown" }, { "name": "AVLT", "code": "AVLT" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "show", "type": "esriFieldTypeString", "alias": "Show", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "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": "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": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ecological", "type": "esriFieldTypeString", "alias": "ecological", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "historic", "type": "esriFieldTypeString", "alias": "historic", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "recreation", "type": "esriFieldTypeString", "alias": "recreation", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "scenic", "type": "esriFieldTypeString", "alias": "scenic", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "wildlife", "type": "esriFieldTypeString", "alias": "wildlife", "length": 5, "domain": { "type": "codedValue", "name": "YES_NO", "description": "YES and NO designations", "codedValues": [ { "name": "yes", "code": "yes" }, { "name": "no", "code": "no" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "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": "globalid", "type": "esriFieldTypeGlobalID", "alias": "globalid", "length": 38, "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area", "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": "" }, { "name": "FDO_globalid", "fields": "globalid", "isAscending": true, "isUnique": false, "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": false }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape_Area", "shapeLengthFieldName": "Shape_Length", "units": "esriFeet", "mapUnits": {"uwkid": 9003} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "653b86e8802144f6b1be168a5ff25c83" } ], "tables": [] }