{ "currentVersion": 11.5, "cimVersion": "3.5.0", "id": 4, "name": "Chilean Needlegrass", "type": "Feature Layer", "description": "Polygon Distribution File showing Known Containment RPMS Weed Distributions", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 4.504455473910538E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "Marlborough District Council", "parentLayer": null, "subLayers": [], "minScale": 50000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var recordedDate = $feature.FindDate;\n\nif (IsEmpty(recordedDate)) {\n return null;\n}\n\nvar recordDay = Date(\n Year(recordedDate),\n Month(recordedDate),\n Day(recordedDate)\n);\n\nvar today = Today();\n\nif (recordDay > today) {\n return null;\n}\n\nif (recordDay >= DateAdd(today, -12, \"months\")) {\n return \"Within last 12 months\";\n}\n\nif (recordDay >= DateAdd(today, -36, \"months\")) {\n return \"12-36 months ago\";\n}\n\nreturn \"More than 36 months ago\";", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "Custom", "classes": [ { "label": "Within last 12 months", "description": "Within last 12 months", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 0, 0, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 115, 0, 0, 255 ], "width": 1.5 } }, "values": [ [ "Within last 12 months" ] ] }, { "label": "12-36 months ago", "description": "12-36 months ago", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 188, 33, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 77, 4, 229 ], "width": 1.5 } }, "values": [ [ "12-36 months ago" ] ] }, { "label": "More than 36 months ago", "description": "More than 36 months ago", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 237, 216, 161, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 128, 103, 33, 229 ], "width": 1.5 } }, "values": [ [ "More than 36 months ago" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 0, 0, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 115, 0, 0, 255 ], "width": 1.5 } }, "value": "Within last 12 months", "label": "Within last 12 months" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 188, 33, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 77, 4, 229 ], "width": 1.5 } }, "value": "12-36 months ago", "label": "12-36 months ago" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 237, 216, 161, 102 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 128, 103, 33, 229 ], "width": 1.5 } }, "value": "More than 36 months ago", "label": "More than 36 months ago" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 224, 130, 90, 255 ], "toColor": [ 224, 130, 90, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 96, 84, 222, 255 ], "toColor": [ 96, 84, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 104, 245, 88, 255 ], "toColor": [ 104, 245, 88, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 85, 217, 230, 255 ], "toColor": [ 85, 217, 230, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 166, 234, 255 ], "toColor": [ 247, 166, 234, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 117, 150, 77, 255 ], "toColor": [ 117, 150, 77, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 57, 81, 128, 255 ], "toColor": [ 57, 81, 128, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 250, 243, 102, 255 ], "toColor": [ 250, 243, 102, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 135, 57, 84, 255 ], "toColor": [ 135, 57, 84, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 245, 219, 164, 255 ], "toColor": [ 245, 219, 164, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 240, 94, 242, 255 ], "toColor": [ 240, 94, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 158, 185, 247, 255 ], "toColor": [ 158, 185, 247, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 110, 230, 158, 255 ], "toColor": [ 110, 230, 158, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": { "expression": "var recordedDate = $feature.FindDate;\n\nif (IsEmpty(recordedDate) || IsEmpty($feature.Label)) {\n return \"\";\n}\n\nvar recordDay = Date(\n Year(recordedDate),\n Month(recordedDate),\n Day(recordedDate)\n);\n\nvar today = Today();\nvar cutoff12 = DateAdd(today, -12, \"months\");\n\nif (recordDay >= cutoff12 && recordDay <= today) {\n return Text($feature.Label);\n}\n\nreturn \"\";", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "removeDuplicates": "all", "removeDuplicatesDistance": 0, "multiPart": "labelLargest", "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverrun": true, "stackLabel": false, "useCodedValues": true, "maxScale": 0, "minScale": 15000, "name": "<12 Months", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 255, 255, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 115, 0, 0, 255 ], "haloSize": 1.5, "font": { "family": "Arial", "size": 8, "style": "normal", "weight": "bold", "decoration": "none" } } }, { "labelExpressionInfo": { "expression": "var recordedDate = $feature.FindDate;\n\nif (IsEmpty(recordedDate) || IsEmpty($feature.Label)) {\n return \"\";\n}\n\nvar recordDay = Date(\n Year(recordedDate),\n Month(recordedDate),\n Day(recordedDate)\n);\n\nvar today = Today();\nvar cutoff12 = DateAdd(today, -12, \"months\");\nvar cutoff36 = DateAdd(today, -36, \"months\");\n\nif (recordDay >= cutoff36 && recordDay < cutoff12) {\n return Text($feature.Label);\n}\n\nreturn \"\";", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "removeDuplicates": "all", "removeDuplicatesDistance": 0, "multiPart": "labelLargest", "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverrun": true, "stackLabel": false, "useCodedValues": true, "maxScale": 0, "minScale": 10000, "name": "12-36 Months", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 255, 255, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 110, 77, 4, 255 ], "haloSize": 1, "font": { "family": "Arial", "size": 8, "style": "normal", "weight": "bold", "decoration": "none" } } }, { "labelExpressionInfo": { "expression": "var recordedDate = $feature.FindDate;\n\nif (IsEmpty(recordedDate) || IsEmpty($feature.Label)) {\n return \"\";\n}\n\nvar recordDay = Date(\n Year(recordedDate),\n Month(recordedDate),\n Day(recordedDate)\n);\n\nvar cutoff36 = DateAdd(Today(), -36, \"months\");\n\nif (recordDay < cutoff36) {\n return Text($feature.Label);\n}\n\nreturn \"\";", "title": "Custom" }, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "removeDuplicates": "all", "removeDuplicatesDistance": 0, "multiPart": "labelLargest", "deconflictionStrategy": "dynamic", "repeatLabel": false, "allowOverrun": true, "stackLabel": false, "useCodedValues": true, "maxScale": 0, "minScale": 5000, "name": "36+ Months", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 255, 255, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 163, 138, 67, 255 ], "haloSize": 0.8, "font": { "family": "Arial", "size": 8, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": false, "extent": { "xmin": 1338631.8103999998, "ymin": 5155809.6828, "xmax": 1715840.2747, "ymax": 5488918.5754, "spatialReference": { "wkid": 2193, "latestWkid": 2193, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 0.001, "falseX": -4020900, "falseY": 1900, "xyUnits": 4.504455473910538E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "PestNameScientific", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "PestNameCommon", "type": "esriFieldTypeInteger", "alias": "Pest Name (Common)", "domain": { "type": "codedValue", "name": "PestMapsPestCommonName", "description": "Pest Maps Pest Common Name", "codedValues": [ { "name": "African feather grass", "code": 1 }, { "name": "Banana passionfruit", "code": 52 }, { "name": "Bathurst bur", "code": 3 }, { "name": "Blue morning glory", "code": 4 }, { "name": "Blue passion flower", "code": 69 }, { "name": "Bomarea", "code": 51 }, { "name": "Boneseed", "code": 5 }, { "name": "Broom", "code": 6 }, { "name": "Bur daisy", "code": 7 }, { "name": "Cape honey flower", "code": 53 }, { "name": "Cape pondweed", "code": 54 }, { "name": "Cathedral bells", "code": 8 }, { "name": "Chilean needle grass", "code": 9 }, { "name": "Chilean rhubarb", "code": 55 }, { "name": "Chinese fountain grass", "code": 62 }, { "name": "Chocolate vine", "code": 11 }, { "name": "Climbing asparagus", "code": 12 }, { "name": "Climbing spindleberry", "code": 13 }, { "name": "Common polypody", "code": 64 }, { "name": "Contorta pine", "code": 14 }, { "name": "Cotton thistle", "code": 15 }, { "name": "Cultivated kiwifruit", "code": 61 }, { "name": "Darwin's barberry", "code": 56 }, { "name": "Eel grass", "code": 17 }, { "name": "Egeria", "code": 18 }, { "name": "Elaeagnus", "code": 57 }, { "name": "Evergreen buckthorn", "code": 19 }, { "name": "False tamarisk", "code": 70 }, { "name": "Field horsetail", "code": 65 }, { "name": "Giant needle grass", "code": 20 }, { "name": "Giant reed", "code": 58 }, { "name": "Gorse", "code": 21 }, { "name": "Himalayan balsam", "code": 22 }, { "name": "Japanese honeysuckle", "code": 59 }, { "name": "Kahili ginger", "code": 23 }, { "name": "Kangaroo grass", "code": 24 }, { "name": "Lagarosiphon", "code": 25 }, { "name": "Madeira vine", "code": 26 }, { "name": "Mexican daisy", "code": 60 }, { "name": "Mexican feather grass", "code": 71 }, { "name": "Moth plant", "code": 28 }, { "name": "Nassella tussock", "code": 29 }, { "name": "Old man's beard", "code": 31 }, { "name": "Pampas grass", "code": 32 }, { "name": "Parrot's feather", "code": 33 }, { "name": "Pink ragwort", "code": 66 }, { "name": "Prickly hakea", "code": 67 }, { "name": "Purple loosestrife", "code": 35 }, { "name": "Reed sweet grass", "code": 38 }, { "name": "Rough horsetail", "code": 46 }, { "name": "Saffron thistle", "code": 40 }, { "name": "Senegal tea", "code": 41 }, { "name": "Spartina", "code": 42 }, { "name": "Tall needle grass", "code": 72 }, { "name": "Tall wheatgrass", "code": 45 }, { "name": "White-edged nightshade", "code": 43 }, { "name": "Wild kiwifruit seedling", "code": 73 }, { "name": "Willow-leaved hakea", "code": 47 }, { "name": "Woolly nightshade", "code": 44 }, { "name": "Yellow flag iris", "code": 49 }, { "name": "Yellow ginger", "code": 63 }, { "name": "Yellow star thistle", "code": 68 }, { "name": "Ant", "code": 74 }, { "name": "Magpie", "code": 75 }, { "name": "Nodding thistle", "code": 76 }, { "name": "Plague skink", "code": 77 }, { "name": "Rabbit", "code": 78 }, { "name": "Rook", "code": 79 }, { "name": "Velvet leaf", "code": 80 }, { "name": "Wilding conifer", "code": 81 }, { "name": "Wild kiwifruit", "code": 50 } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "PestNameScientific", "type": "esriFieldTypeString", "alias": "Pest Name (Scientific)", "length": 150, "domain": null }, { "name": "DistributionType", "type": "esriFieldTypeString", "alias": "Distribution Type", "length": 50, "domain": { "type": "codedValue", "name": "PestMapsPestDistributionType", "description": "Pest Maps Pest Distribution Type", "codedValues": [ { "name": "Ecological threat", "code": "Ecological threat" }, { "name": "RPMP Pest", "code": "RPMP Pest" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "ActivityType", "type": "esriFieldTypeString", "alias": "Activity Type", "length": 100, "domain": { "type": "codedValue", "name": "PestMapsActivityType", "description": "Pest Maps Activity Type", "codedValues": [ { "name": "Compliance", "code": "Compliance" }, { "name": "Containment", "code": "Containment" }, { "name": "Control", "code": "Control" }, { "name": "Monitoring", "code": "Monitoring" }, { "name": "Surveillance", "code": "Surveillance" }, { "name": "Work on Default", "code": "Work on Default" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "FinancialYear", "type": "esriFieldTypeString", "alias": "Financial Year", "length": 9, "domain": null }, { "name": "FindDate", "type": "esriFieldTypeDate", "alias": "Find Date", "length": 8, "domain": null }, { "name": "URL", "type": "esriFieldTypeString", "alias": "URL", "length": 255, "domain": null }, { "name": "Label", "type": "esriFieldTypeString", "alias": "Label", "length": 50, "domain": { "type": "codedValue", "name": "PestMapsPestDistributionLabel", "description": "Pest Maps Pest Distribution Label", "codedValues": [ { "name": "AF", "code": "AF" }, { "name": "BB", "code": "BB" }, { "name": "BD", "code": "BD" }, { "name": "BG", "code": "BG" }, { "name": "BM", "code": "BM" }, { "name": "BN", "code": "BN" }, { "name": "BP", "code": "BP" }, { "name": "BR", "code": "BR" }, { "name": "CA", "code": "CA" }, { "name": "CB", "code": "CB" }, { "name": "CF", "code": "CF" }, { "name": "CH", "code": "CH" }, { "name": "CK", "code": "CK" }, { "name": "CN", "code": "CN" }, { "name": "CP", "code": "CP" }, { "name": "CPL", "code": "CPL" }, { "name": "CPW", "code": "CPW" }, { "name": "CR", "code": "CR" }, { "name": "CS", "code": "CS" }, { "name": "CT", "code": "CT" }, { "name": "CV", "code": "CV" }, { "name": "DB", "code": "DB" }, { "name": "EB", "code": "EB" }, { "name": "EG", "code": "EG" }, { "name": "EL", "code": "EL" }, { "name": "ER", "code": "ER" }, { "name": "FH", "code": "FH" }, { "name": "GN", "code": "GN" }, { "name": "GO", "code": "GO" }, { "name": "GR", "code": "GR" }, { "name": "HB", "code": "HB" }, { "name": "JH", "code": "JH" }, { "name": "KG", "code": "KG" }, { "name": "KGI", "code": "KGI" }, { "name": "LG", "code": "LG" }, { "name": "MD", "code": "MD" }, { "name": "MP", "code": "MP" }, { "name": "MV", "code": "MV" }, { "name": "NT", "code": "NT" }, { "name": "OMB", "code": "OMB" }, { "name": "PF", "code": "PF" }, { "name": "PG", "code": "PG" }, { "name": "PH", "code": "PH" }, { "name": "PL", "code": "PL" }, { "name": "PR", "code": "PR" }, { "name": "RG", "code": "RG" }, { "name": "RH", "code": "RH" }, { "name": "SF", "code": "SF" }, { "name": "SP", "code": "SP" }, { "name": "ST", "code": "ST" }, { "name": "TW", "code": "TW" }, { "name": "WEN", "code": "WEN" }, { "name": "WK", "code": "WK" }, { "name": "WLH", "code": "WLH" }, { "name": "WN", "code": "WN" }, { "name": "YF", "code": "YF" }, { "name": "YGI", "code": "YGI" }, { "name": "YST", "code": "YST" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "Status", "type": "esriFieldTypeString", "alias": "Status", "length": 10, "domain": { "type": "codedValue", "name": "DefaultStatus", "description": "Status Current, Past, Future", "codedValues": [ { "name": "Current", "code": "Current" }, { "name": "Past", "code": "Past" }, { "name": "Future", "code": "Future" } ], "mergePolicy": "esriMPTDefaultValue", "splitPolicy": "esriSPTDefaultValue" } }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null }, { "name": "Shape.STArea()", "type": "esriFieldTypeDouble", "alias": "Shape.area", "domain": null }, { "name": "Shape.STLength()", "type": "esriFieldTypeDouble", "alias": "Shape.len", "domain": null } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape" }, "indexes": [ { "name": "UUID_9672", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "gdb_ct3_9672", "fields": "OBJECTID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "PestNameCommon", "fields": "PestNameCommon", "isAscending": true, "isUnique": false, "description": "" }, { "name": "FindDate", "fields": "FindDate", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S8139_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,Data", "maxRecordCount": 1000, "maxSelectionCount": 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, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsPagination": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true, "supportsTimeRelation": true, "supportsSqlFormat": false, "supportsQueryAnalytic": true, "supportsCurrentUserQueries": true }, "supportsDatumTransformation": true, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": false, "supportsPercentileAnalytic": true }, "dateFieldsTimeReference": { "timeZone": "New Zealand Standard Time", "timeZoneIANA": "Pacific/Auckland", "respectsDaylightSaving": true }, "preferredTimeReference": { "timeZone": "New Zealand Standard Time", "timeZoneIANA": "Pacific/Auckland", "respectsDaylightSaving": true }, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeAreaFieldName": "Shape.STArea()", "shapeLengthFieldName": "Shape.STLength()", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1793744253000 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "7c65b5911ec24b8ab7582c8d58a74ae0" }