{
 "currentVersion": 11.1,
 "cimVersion": "3.1.0",
 "id": 110,
 "name": "Closed Properties",
 "type": "Feature Layer",
 "description": "<DIV STYLE=\"text-align:Left;\"><DIV><DIV><P><SPAN>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.006096012192,
  "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// 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": [
        252,
        207,
        252,
        255
       ],
       "toColor": [
        252,
        207,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        184,
        252,
        184,
        255
       ],
       "toColor": [
        184,
        252,
        184,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        219,
        182,
        255
       ],
       "toColor": [
        252,
        219,
        182,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        187,
        246,
        252,
        255
       ],
       "toColor": [
        187,
        246,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        184,
        189,
        255
       ],
       "toColor": [
        252,
        184,
        189,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        182,
        188,
        252,
        255
       ],
       "toColor": [
        182,
        188,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        179,
        252,
        223,
        255
       ],
       "toColor": [
        179,
        252,
        223,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        243,
        252,
        202,
        255
       ],
       "toColor": [
        243,
        252,
        202,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        204,
        222,
        252,
        255
       ],
       "toColor": [
        204,
        222,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        212,
        226,
        255
       ],
       "toColor": [
        252,
        212,
        226,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        228,
        182,
        252,
        255
       ],
       "toColor": [
        228,
        182,
        252,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        252,
        182,
        212,
        255
       ],
       "toColor": [
        252,
        182,
        212,
        255
       ]
      },
      {
       "type": "algorithmic",
       "algorithm": "esriCIELabAlgorithm",
       "fromColor": [
        215,
        252,
        242,
        255
       ],
       "toColor": [
        215,
        252,
        242,
        255
       ]
      }
     ]
    }
   }
  },
  "scaleSymbols": true,
  "transparency": 40,
  "labelingInfo": null
 },
 "defaultVisibility": true,
 "extent": {
  "xmin": -1.195162106667278E7,
  "ymin": 4731313.593739832,
  "xmax": -1.18635109812458E7,
  "ymax": 4777503.835679731,
  "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": "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": 254,
   "domain": null
  },
  {
   "name": "primaryphoto",
   "type": "esriFieldTypeString",
   "alias": "PrimaryPhoto",
   "length": 254,
   "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": "GlobalID",
   "type": "esriFieldTypeString",
   "alias": "GlobalID",
   "length": 38,
   "domain": null
  },
  {
   "name": "agricultur",
   "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": false,
 "capabilities": "Query,Map,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": "f10a6f3265ca4c288babdf16745028aa"
}