{ "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 440, "name": "Egenskapsbestämmelseytor", "type": "Feature Layer", "description": "planmosaikutv.td_detaljplan_sis.db_v_mosaik_egenskapsomrade_y", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 3016, "latestWkid": 3016, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5473200, "falseY": -10002100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": { "id": 400, "name": "Egenskapsbestämmelser" }, "subLayers": [], "minScale": 5000, "maxScale": 0, "referenceScale": 0.0, "drawingInfo": { "renderer": { "type": "uniqueValue", "valueExpression": "var underkat = Lower(Text($feature.egenkapsbestammelseunderkategorier)); \nvar formulering = Lower(Text($feature.egenbestformuleringar));\n \n// 1. Korsmark\nif (Find(\"marken får endast förses med viss typ av byggnadsverk\", underkat) > -1 ||\n (Find(\"endast\", formulering) > -1 && Find(\"får placeras\", formulering) > -1)) {\n return \"KORSMARK\";\n}\n \n// 2. Prickmark\nif ((Find(\"marken får inte förses med byggnadsverk\", underkat) > -1 ||\n (Find(\"marken f\", formulering) > -1 && Find(\"inte f\", formulering) > -1 && Find(\"örses med\", formulering) > -1)) &&\n Find(\"komplementbyggnad\", formulering) == -1) {\n return \"PRICKMARK\";\n}\n \n// 3. Ringmark\nif (Find(\"endast byggnadsverk under mark\", underkat) > -1) {\n return \"RINGMARK\";\n}\n \n// 4. Övriga\nreturn \"OVRIGA\";", "valueExpressionTitle": "Custom", "uniqueValueGroups": [ { "heading": "", "classes": [ { "label": "Korsmark", "description": "Korsmark", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "values": [ [ "KORSMARK" ] ] }, { "label": "Övriga egenskapsytor", "description": "Övriga egenskapsytor", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.85 } }, "values": [ [ "OVRIGA" ] ] }, { "label": "Prickmark", "description": "Prickmark", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "values": [ [ "PRICKMARK" ] ] }, { "label": "Ringmark", "description": "Ringmark", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 104, 104, 104, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "values": [ [ "RINGMARK" ] ] } ] } ], "uniqueValueInfos": [ { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "value": "KORSMARK", "label": "Korsmark" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.85 } }, "value": "OVRIGA", "label": "Övriga egenskapsytor" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 0, 0, 0, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "value": "PRICKMARK", "label": "Prickmark" }, { "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 104, 104, 104, 255 ], "outline": { "type": "esriSLS", "style": "esriSLSDashDotDot", "color": [ 0, 0, 0, 255 ], "width": 0.75 } }, "value": "RINGMARK", "label": "Ringmark" } ], "fieldDelimiter": ",", "authoringInfo": { "colorRamp": { "type": "multipart", "colorRamps": [ { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 189, 182, 255 ], "toColor": [ 252, 189, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 184, 252, 190, 255 ], "toColor": [ 184, 252, 190, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 182, 185, 252, 255 ], "toColor": [ 182, 185, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 238, 252, 255 ], "toColor": [ 179, 238, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 232, 182, 255 ], "toColor": [ 252, 232, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 182, 229, 255 ], "toColor": [ 252, 182, 229, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 215, 252, 229, 255 ], "toColor": [ 215, 252, 229, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 227, 215, 252, 255 ], "toColor": [ 227, 215, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 235, 252, 182, 255 ], "toColor": [ 235, 252, 182, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 225, 189, 252, 255 ], "toColor": [ 225, 189, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 224, 210, 255 ], "toColor": [ 252, 224, 210, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 179, 213, 252, 255 ], "toColor": [ 179, 213, 252, 255 ] }, { "type": "algorithmic", "algorithm": "esriCIELabAlgorithm", "fromColor": [ 252, 210, 224, 255 ], "toColor": [ 252, 210, 224, 255 ] } ] } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "defaultVisibility": true, "extent": { "xmin": -145111.44631942856, "ymin": 6990769.974519384, "xmax": -106525.2338387254, "ymax": 7045853.970575565, "spatialReference": { "wkid": 3016, "latestWkid": 3016, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -5473200, "falseY": -10002100, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "dp_planid", "typeIdField": null, "subtypeFieldName": null, "subtypeField": null, "defaultSubtypeCode": null, "fields": [ { "name": "td_id", "type": "esriFieldTypeOID", "alias": "td_id", "domain": null }, { "name": "td_area", "type": "esriFieldTypeDouble", "alias": "td_area", "domain": null }, { "name": "dp_planid", "type": "esriFieldTypeString", "alias": "dp_planid", "length": 250, "domain": null }, { "name": "dp_plannamn", "type": "esriFieldTypeString", "alias": "dp_plannamn", "length": 250, "domain": null }, { "name": "dp_konvertering", "type": "esriFieldTypeString", "alias": "dp_konvertering", "length": 250, "domain": null }, { "name": "dp_plan_locked_for_import", "type": "esriFieldTypeString", "alias": "dp_plan_locked_for_import", "length": 1, "domain": null }, { "name": "dp_pb", "type": "esriFieldTypeInteger", "alias": "dp_pb", "domain": null }, { "name": "dp_lmakt", "type": "esriFieldTypeString", "alias": "dp_lmakt", "length": 250, "domain": null }, { "name": "anvandningbestammelsekoder", "type": "esriFieldTypeString", "alias": "anvandningbestammelsekoder", "length": 500, "domain": null }, { "name": "anvandbestformuleringar", "type": "esriFieldTypeString", "alias": "anvandbestformuleringar", "length": 4000, "domain": null }, { "name": "anvandningbestammelsekategorier", "type": "esriFieldTypeString", "alias": "anvandningbestammelsekategorier", "length": 4000, "domain": null }, { "name": "anvandningbestammelseunderkategorier", "type": "esriFieldTypeString", "alias": "anvandningbestammelseunderkategorier", "length": 4000, "domain": null }, { "name": "egenkapsbestammelsetyper", "type": "esriFieldTypeString", "alias": "egenkapsbestammelsetyper", "length": 500, "domain": null }, { "name": "egenbestformuleringar", "type": "esriFieldTypeString", "alias": "egenbestformuleringar", "length": 4000, "domain": null }, { "name": "egenbestformuleringar_html_br", "type": "esriFieldTypeString", "alias": "egenbestformuleringar_html_br", "length": 4000, "domain": null }, { "name": "egenkapsbestammelsekategorier", "type": "esriFieldTypeString", "alias": "egenkapsbestammelsekategorier", "length": 60000, "domain": null }, { "name": "egenkapsbestammelseunderkategorier", "type": "esriFieldTypeString", "alias": "egenkapsbestammelseunderkategorier", "length": 60000, "domain": null }, { "name": "version", "type": "esriFieldTypeString", "alias": "version", "length": 255, "domain": null }, { "name": "geom_noarcs", "type": "esriFieldTypeGeometry", "alias": "geom_noarcs", "domain": null }, { "name": "exact_area", "type": "esriFieldTypeDouble", "alias": "exact_area", "domain": null }, { "name": "dp_planref_uuid", "type": "esriFieldTypeString", "alias": "dp_planref_uuid", "length": 36, "domain": null }, { "name": "planbeteckningstyper", "type": "esriFieldTypeString", "alias": "planbeteckningstyper", "length": 1000, "domain": null }, { "name": "planbestammelseformuleringar", "type": "esriFieldTypeString", "alias": "planbestammelseformuleringar", "length": 4000, "domain": null }, { "name": "bestammelse_uuid_agg", "type": "esriFieldTypeString", "alias": "bestammelse_uuid_agg", "length": 4000, "domain": null }, { "name": "dp_registerstatus", "type": "esriFieldTypeString", "alias": "dp_registerstatus", "length": 250, "domain": null }, { "name": "dp_registreringsdatum", "type": "esriFieldTypeDate", "alias": "dp_registreringsdatum", "length": 8, "precision": 1, "domain": null }, { "name": "genomforandetider", "type": "esriFieldTypeString", "alias": "genomforandetider", "length": 200, "domain": null }, { "name": "statusdatum", "type": "esriFieldTypeDateOnly", "alias": "statusdatum", "domain": null }, { "name": "statusdatum_kalla", "type": "esriFieldTypeString", "alias": "statusdatum_kalla", "length": 50, "domain": null } ], "geometryField": { "name": "geom_noarcs", "type": "esriFieldTypeGeometry", "alias": "geom_noarcs" }, "indexes": null, "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": false, "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, "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": false }, "dateFieldsTimeReference": null, "preferredTimeReference": null, "datesInUnknownTimezone": false, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true, "serviceItemId": "349a194baad54f25b578d042a7727868" }