{ "currentVersion": 11.1, "cimVersion": "3.1.0", "id": 100, "name": "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.<\/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": 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// 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) || (thisMonth == openMonth && thisDay < openDay) ) {\n // Too Early\n status = 'Closed';\n} else if ( (thisMonth > closeMonth) || (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, 255 ], "outline": null }, "value": "Open", "label": "Open" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 168, 0, 0, 255 ], "outline": null }, "value": "Closed", "label": "Closed" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 192, 241, 252, 255 ], "toColor": [ 192, 241, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 239, 255 ], "toColor": [ 252, 182, 239, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 251, 179, 255 ], "toColor": [ 252, 251, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 203, 187, 255 ], "toColor": [ 252, 203, 187, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 199, 255 ], "toColor": [ 179, 252, 199, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 197, 252, 255 ], "toColor": [ 184, 197, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 246, 215, 255 ], "toColor": [ 252, 246, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 236, 255 ], "toColor": [ 252, 215, 236, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 228, 255 ], "toColor": [ 212, 252, 228, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 207, 255 ], "toColor": [ 252, 179, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 223, 252, 255 ], "toColor": [ 215, 223, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 236, 204, 252, 255 ], "toColor": [ 236, 204, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 200, 179, 252, 255 ], "toColor": [ 200, 179, 252, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 50, "labelingInfo": [ { "labelExpressionInfo": { "expression": "$feature.planningarea", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelLargest", "allowOverrun": true, "deconflictionStrategy": "dynamic", "repeatLabel": false, "stackLabel": true, "stackAlignment": "textSymbol", "removeDuplicates": "all", "removeDuplicatesDistance": 283.46456692913387, "stackRowLength": 24, "allowOverlapOfLabel": "allow", "useCodedValues": true, "maxScale": 0, "minScale": 18055.954822, "name": "Large Scale", "priority": -1, "symbol": { "type": "esriTS", "color": [ 38, 115, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 225, 225, 225, 255 ], "haloSize": 0.5, "font": { "family": "Franklin Gothic Medium", "size": 10, "style": "normal", "weight": "normal", "decoration": "none" } } }, { "labelExpressionInfo": { "expression": "$feature.planningarea", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelLargest", "allowOverrun": true, "deconflictionStrategy": "dynamic", "repeatLabel": false, "stackLabel": true, "stackAlignment": "textSymbol", "removeDuplicates": "all", "removeDuplicatesDistance": 283.46456692913387, "stackRowLength": 24, "allowOverlapOfLabel": "allow", "useCodedValues": true, "maxScale": 18055.954822, "minScale": 144447.638572, "name": "Medium Scale", "priority": -1, "symbol": { "type": "esriTS", "color": [ 38, 115, 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": "Franklin Gothic Medium", "size": 8, "style": "normal", "weight": "normal", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": -1.1951621066672795E7, "ymin": 4731313.593739819, "xmax": -1.1863510981245818E7, "ymax": 4777503.835679717, "spatialReference": { "wkid": 102100, "latestWkid": 3857, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -20037700, "falseY": -30241100, "xyUnits": 1.4892314192838538E8, "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": "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": 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": "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": "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_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area", "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 } ], "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": 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, "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": "92cd2fb4e70543f5bb2fb0f4deb75be6" }