{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 2, "name": "Liinid", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolyline", "sourceSpatialReference": { "wkid": 3301, "latestWkid": 3301, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -34999000, "falseY": -25103900, "xyUnits": 10000, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "copyrightText": "", "parentLayer": { "id": 0, "name": "Kehtivad ümbersõidud" }, "subLayers": [], "minScale": 0, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "if ($feature.Kehtivus_algus <= now() && $feature.Kehtivus_lopp > now()){\n return 1 // ajutised\n} \nif ($feature.Ei_kehti_algus <= now() && $feature.Ei_kehti_lopp > now()){\n return 2 // mittekehtivad\n}\nif ($feature.Kehtivus_algus > now()){\n return 3 // tulevad ümbersõidud samal liinil, mille juba on kehtiv ümbersõit,neid veel ei taha näidata\n}", "valueExpressionTitle": "Ära näpi", "defaultSymbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 56, 168, 0, 255 ], "width": 2 }, "defaultLabel": "Kehtivad", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "", "description": "", "symbol": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 215, 252, 235, 0 ], "width": 0 }, "values": [ [ "3" ] ] }, { "label": "Ajutised", "description": "Ajutised", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 2 }, "values": [ [ "1" ] ] }, { "label": "Mittekehtivad", "description": "Mittekehtivad", "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 2 }, "values": [ [ "2" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSLS", "style": "esriSLSNull", "color": [ 215, 252, 235, 0 ], "width": 0 }, "value": "3" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 0, 38, 115, 255 ], "width": 2 }, "value": "1", "label": "Ajutised" }, { "symbol": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 230, 0, 0, 255 ], "width": 2 }, "value": "2", "label": "Mittekehtivad" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 244, 252, 202, 255 ], "toColor": [ 244, 252, 202, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 217, 179, 252, 255 ], "toColor": [ 217, 179, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 199, 207, 255 ], "toColor": [ 252, 199, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 187, 233, 252, 255 ], "toColor": [ 187, 233, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 252, 222, 255 ], "toColor": [ 179, 252, 222, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 242, 215, 252, 255 ], "toColor": [ 242, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 199, 252, 179, 255 ], "toColor": [ 199, 252, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 231, 255 ], "toColor": [ 252, 182, 231, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 179, 255 ], "toColor": [ 252, 210, 179, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 195, 252, 255 ], "toColor": [ 182, 195, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 212, 252, 252, 255 ], "toColor": [ 212, 252, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 211, 252, 207, 255 ], "toColor": [ 211, 252, 207, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 222, 215, 255 ], "toColor": [ 252, 222, 215, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": 654360.7048000023, "ymin": 6466477.848000001, "xmax": 663755.2238000035, "ymax": 6479289.2118999995, "spatialReference": { "wkid": 3301, "latestWkid": 3301, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -34999000, "falseY": -25103900, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "Liin_number", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "ID", "type": "esriFieldTypeOID", "alias": "ID", "domain": null }, { "name": "Liin_number", "type": "esriFieldTypeString", "alias": "Liin_number", "length": 50, "domain": null }, { "name": "Liin", "type": "esriFieldTypeString", "alias": "Liin", "length": 255, "domain": null }, { "name": "Marsruut", "type": "esriFieldTypeString", "alias": "Marsruut", "length": 255, "domain": null }, { "name": "Liini_staatus", "type": "esriFieldTypeSmallInteger", "alias": "Liini_staatus", "domain": null }, { "name": "Algus_kood", "type": "esriFieldTypeString", "alias": "Algus_kood", "length": 10, "domain": null }, { "name": "Algus_nimi", "type": "esriFieldTypeString", "alias": "Algus_nimi", "length": 50, "domain": null }, { "name": "Algus_jarjekord", "type": "esriFieldTypeSmallInteger", "alias": "Algus_jarjekord", "domain": null }, { "name": "Lopp_jarjekord", "type": "esriFieldTypeSmallInteger", "alias": "Lopp_jarjekord", "domain": null }, { "name": "Lopp_kood", "type": "esriFieldTypeString", "alias": "Lopp_kood", "length": 10, "domain": null }, { "name": "Lopp_nimi", "type": "esriFieldTypeString", "alias": "Lopp_nimi", "length": 50, "domain": null }, { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null }, { "name": "SHAPE.STLength()", "type": "esriFieldTypeDouble", "alias": "SHAPE.STLength()", "domain": null }, { "name": "Kehtivus_algus", "type": "esriFieldTypeDate", "alias": "Kehtivus_algus", "length": 8, "precision": 1, "domain": null }, { "name": "Kehtivus_lopp", "type": "esriFieldTypeDate", "alias": "Kehtivus_lopp", "length": 8, "precision": 1, "domain": null }, { "name": "Ei_kehti_algus", "type": "esriFieldTypeDate", "alias": "Ei_kehti_algus", "length": 8, "precision": 1, "domain": null }, { "name": "Ei_kehti_lopp", "type": "esriFieldTypeDate", "alias": "Ei_kehti_lopp", "length": 8, "precision": 1, "domain": null }, { "name": "Liin_GID", "type": "esriFieldTypeGUID", "alias": "Liin_GID", "length": 38, "domain": null } ], "geometryField": { "name": "SHAPE", "type": "esriFieldTypeGeometry", "alias": "SHAPE" }, "indexes": null, "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, "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": "FLE Standard Time", "respectsDaylightSaving": true }, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasGeometryProperties": true, "geometryProperties": { "shapeLengthFieldName": "SHAPE.STLength()", "units": "esriMeters", "mapUnits": {"uwkid": 9001} }, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "fb23ddabe8524982bd9dc769823f3b95" }