{ "currentVersion": 10.81, "cimVersion": "2.6.0", "id": 43, "name": "Želdynų priežiūra", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 2600, "latestWkid": 3346, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5122000, "falseY": -10000100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": { "id": 22, "name": "Medžių inventorizacija" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var laistymas = $feature.LAISTYMAS\nvar ravejimas = $feature.RAVEJIMAS\nvar tresimas = $feature.TRESIMAS\nvar nat_laist = $feature.NAT_LAIST\n\nif (IsEmpty(laistymas)){laistymas = Date(2000,1,1)}\nif (IsEmpty(ravejimas)){ravejimas = Date(2000,1,1)}\nif (IsEmpty(tresimas)){tresimas = Date(2000,1,1)}\nif (IsEmpty(nat_laist)){nat_laist = Date(2000,1,1)}\n\nvar laistymasdiff = DateDiff(today(), laistymas, \"days\") //1\nvar ravejimassdiff = DateDiff(today(), ravejimas, \"days\")//2\nvar tresimasdiff = DateDiff(today(), tresimas, \"days\")//3\nvar nat_laistdiff = DateDiff(today(), nat_laist, \"days\") //4\n\nvar result = 0\nif (laistymasdiff < 14 && ravejimassdiff < 30 && tresimasdiff < 365 && nat_laistdiff < 14){\nresult = 1} //Visi tinka\nif (laistymasdiff > 14 && ravejimassdiff > 30 && tresimasdiff > 365 && nat_laistdiff > 14){\nresult = 97} // nera nei vieno\n\nif (laistymasdiff > 14 && ravejimassdiff < 30 && tresimasdiff < 365 && nat_laistdiff < 14){\nresult = 2} // 234\nif (laistymasdiff < 14 && ravejimassdiff > 30 && tresimasdiff < 365 && nat_laistdiff < 14){\nresult = 3} //Ravejimo nera\nif (laistymasdiff < 14 && ravejimassdiff < 30 && tresimasdiff > 365 && nat_laistdiff < 14){\nresult = 4} //Tresimo nera\nif (laistymasdiff < 14 && ravejimassdiff < 30 && tresimasdiff < 365 && nat_laistdiff > 14){\nresult = 5} // natūralaus laistymo nera\n\nif (laistymasdiff > 14 && ravejimassdiff > 30 && tresimasdiff < 365 && nat_laistdiff > 14){\nresult = 6} //Yra tik tresimas\nif (laistymasdiff > 14 && ravejimassdiff < 30 && tresimasdiff > 365 && nat_laistdiff > 14){\nresult = 7} //Yra tik ravejimas\nif (laistymasdiff < 14 && ravejimassdiff > 30 && tresimasdiff > 365 && nat_laistdiff > 14){\nresult = 8} //Yra tik laistymas\nif (laistymasdiff > 14 && ravejimassdiff > 30 && tresimasdiff > 365 && nat_laistdiff < 14){\nresult = 9} // Yra tik natūralus laistymas\n\nif (laistymasdiff < 14 && ravejimassdiff < 30 && tresimasdiff > 365 && nat_laistdiff > 14){\nresult = 91}\nif (laistymasdiff < 14 && ravejimassdiff > 30 && tresimasdiff < 365 && nat_laistdiff > 14){\nresult = 92}\nif (laistymasdiff < 14 && ravejimassdiff > 30 && tresimasdiff > 365 && nat_laistdiff < 14){\nresult = 93}\nif (laistymasdiff > 14 && ravejimassdiff < 30 && tresimasdiff < 365 && nat_laistdiff > 14){\nresult = 94}\nif (laistymasdiff > 14 && ravejimassdiff < 30 && tresimasdiff > 365 && nat_laistdiff < 14){\nresult = 95}\nif (laistymasdiff > 14 && ravejimassdiff > 30 && tresimasdiff < 365 && nat_laistdiff < 14){\nresult = 96}\n\nreturn result", "valueExpressionTitle": "Custom", "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "1", "label": "Palaistyta, Nuravėta, Patręšta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "2", "label": "Nuravėta, Patręšta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "3", "label": "Palaistyta, Patręšta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "4", "label": "Palaistyta, Nuravėta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "5", "label": "Palaistyta, Nuravėta, Patręšta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "6", "label": "Patręšta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "7", "label": "Nuravėta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "8", "label": "Palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "9", "label": "Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "91", "label": "Palaistyta, Nuravėta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "92", "label": "Patręšta, Palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "93", "label": "Palaistyta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 225, 225, 225, 255 ], "outline": null }, "value": "94", "label": "Nuravėta, Patręšta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "95", "label": "Nuravėta, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "96", "label": "Patręštą, Natūraliai palaistyta" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 204, 204, 204, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 110, 110, 110, 255 ], "width": 0.7 } }, "value": "97", "label": "Želdinių priežiūros plotai" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 204, 252, 244, 255 ], "toColor": [ 204, 252, 244, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 251, 255 ], "toColor": [ 252, 182, 251, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 198, 192, 255 ], "toColor": [ 252, 198, 192, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 251, 179, 255 ], "toColor": [ 252, 251, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 208, 252, 255 ], "toColor": [ 199, 208, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 179, 255 ], "toColor": [ 179, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 237, 215, 255 ], "toColor": [ 252, 237, 215, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 215, 242, 255 ], "toColor": [ 252, 215, 242, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 220, 252, 204, 255 ], "toColor": [ 220, 252, 204, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 179, 211, 255 ], "toColor": [ 252, 179, 211, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 201, 179, 252, 255 ], "toColor": [ 201, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 233, 252, 255 ], "toColor": [ 187, 233, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 231, 202, 252, 255 ], "toColor": [ 231, 202, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 218, 255 ], "toColor": [ 184, 252, 218, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 225, 182, 255 ], "toColor": [ 252, 225, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 247, 252, 215, 255 ], "toColor": [ 247, 252, 215, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": false, "extent": { "xmin": 568682.6584000001, "ymin": 6052850.8627, "xmax": 592394.0695000002, "ymax": 6072477.3574, "spatialReference": { "wkid": 2600, "latestWkid": 3346, "xyTolerance": 0.001, "zTolerance": 2, "mTolerance": 0.001, "falseX": -5122000, "falseY": -10000100, "xyUnits": 4.503554591824577E8, "falseZ": 0, "zUnits": 1, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "MEDZ_KIEK", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null }, { "name": "MEDZ_KIEK", "type": "esriFieldTypeSmallInteger", "alias": "Medžių kiekis", "domain": null }, { "name": "KRUM_KIEK", "type": "esriFieldTypeSmallInteger", "alias": "Krūmų kiekis", "domain": null }, { "name": "VIJOKL_KIEK", "type": "esriFieldTypeSmallInteger", "alias": "Vijoklių kiekis", "domain": null }, { "name": "SODIN_KIEK", "type": "esriFieldTypeSmallInteger", "alias": "Sodinukų kiekis", "domain": null }, { "name": "LAISTYMAS", "type": "esriFieldTypeDate", "alias": "Laistymas", "length": 8, "domain": null }, { "name": "RAVEJIMAS", "type": "esriFieldTypeDate", "alias": "Ravėjimas", "length": 8, "domain": null }, { "name": "TRESIMAS", "type": "esriFieldTypeDate", "alias": "Tręšimas", "length": 8, "domain": null }, { "name": "NAT_LAIST", "type": "esriFieldTypeDate", "alias": "Natūralus laistymas", "length": 8, "domain": null } ], "geometryField": {}, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "hasZ": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDatumTransformation": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": { "timeZone": "FLE Standard Time", "respectsDaylightSaving": false }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true }