{ "layers": [ { "currentVersion": 10.71, "cimVersion": "2.4.0", "id": 0, "name": " Parcels of Government and Waqf | قطع الاراضي الحكومية والاوقاف", "type": "Feature Layer", "description": "", "geometryType": "esriGeometryPolygon", "sourceSpatialReference": { "wkid": 28191, "latestWkid": 28191, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4839400, "falseY": -13387400, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 }, "copyrightText": "", "parentLayer": null, "subLayers": [], "minScale": 0, "maxScale": 0, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 200, 252, 194, 0 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 255, 170, 0, 255 ], "width": 2 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": [ { "labelExpressionInfo": {"expression": "var text1 = $feature.PLOT_NO;\nvar ownerVal = $feature.Owner;\nvar text3 = $feature.LAND_DESCRIPTION;\n\n// نبدأ دائماً برقم القطعة\nvar result = text1;\n\n// إذا كانت قيمة Owner تساوي 0، نعيد رقم القطعة فقط ولا نضيف شيئاً آخر\nif (ownerVal == 0) {\n return result;\n}\n\n// تخصيص نص المالك بناءً على القيمة الرقمية\nvar ownerText = \"\";\nif (ownerVal == 1) {\n ownerText = \"الأوقاف الإسلامية\";\n} else if (ownerVal == 2) {\n ownerText = \"الدولة الفلسطينية\";\n} else {\n // لأي قيمة أخرى، يأخذ النص الافتراضي من الـ Domain أو القيمة الحقيقية\n ownerText = DomainName($feature, \"Owner\");\n}\n\n// إضافة اسم المالك في سطر جديد\nif (!IsEmpty(ownerText)) {\n result += TextFormatting.NewLine + ownerText;\n}\n\n// إضافة وصف الأرض في سطر ثالث (فقط إذا لم يكن فارغاً)\nif (!IsEmpty(text3) && text3 != \"\") {\n result += TextFormatting.NewLine + text3;\n}\n\nreturn result;"}, "labelPlacement": "esriServerPolygonPlacementAlwaysHorizontal", "multiPart": "labelPerPart", "allowOverrun": false, "deconflictionStrategy": "static", "repeatLabel": false, "allowOverlapOfFeatureInterior": "avoid", "stackLabel": true, "stackRowLength": 24, "stackAlignment": "dynamic", "removeDuplicates": "none", "useCodedValues": true, "maxScale": 0, "minScale": 0, "name": "Class 1", "priority": -1, "symbol": { "type": "esriTS", "color": [ 255, 170, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "baseline", "horizontalAlignment": "left", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": [ 52, 52, 52, 255 ], "haloSize": 1, "font": { "family": "Berlin Sans FB Demi", "size": 12, "style": "normal", "weight": "bold", "decoration": "none" } } } ] }, "defaultVisibility": true, "extent": { "xmin": 139464.10510000028, "ymin": 83560.81670000032, "xmax": 204216.4424999999, "ymax": 217508.09229999967, "spatialReference": { "wkid": 28191, "latestWkid": 28191, "xyTolerance": 0.001, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -4839400, "falseY": -13387400, "xyUnits": 10000, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "displayField": "GOV_A", "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": "GOV_NO", "type": "esriFieldTypeInteger", "alias": "GOV_NO", "domain": null }, { "name": "GOV_A", "type": "esriFieldTypeString", "alias": "GOV_A", "length": 255, "domain": null }, { "name": "VILLAGE_A", "type": "esriFieldTypeString", "alias": "VILLAGE_A", "length": 255, "domain": null }, { "name": "BLOCK_NO", "type": "esriFieldTypeInteger", "alias": "BLOCK_NO", "domain": null }, { "name": "BLOCK_A", "type": "esriFieldTypeString", "alias": "BLOCK_A", "length": 255, "domain": null }, { "name": "SUB_BLOCK_NO", "type": "esriFieldTypeInteger", "alias": "SUB_BLOCK_NO", "domain": null }, { "name": "PLOT_NO", "type": "esriFieldTypeInteger", "alias": "PLOT_NO", "domain": null }, { "name": "Owner", "type": "esriFieldTypeInteger", "alias": "Owner", "domain": null }, { "name": "PLAN_TYPE_A", "type": "esriFieldTypeInteger", "alias": "PLAN_TYPE_A", "domain": null }, { "name": "LAND_DESCRIPTION", "type": "esriFieldTypeString", "alias": "LAND_DESCRIPTION", "length": 255, "domain": null }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "domain": null }, { "name": "Shape_Length", "type": "esriFieldTypeDouble", "alias": "Shape_Length", "domain": null }, { "name": "Shape_Area", "type": "esriFieldTypeDouble", "alias": "Shape_Area", "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": "" }, { "name": "FDO_GlobalID", "fields": "GlobalID", "isAscending": true, "isUnique": false, "description": "" } ], "subtypes": [], "relationships": [], "canModifyLayer": true, "canScaleSymbols": false, "hasLabels": true, "capabilities": "Map,Query,Data", "maxRecordCount": 2000, "supportsStatistics": true, "supportsAdvancedQueries": true, "supportedQueryFormats": "JSON, geoJSON, PBF", "isDataVersioned": false, "ownershipBasedAccessControlForFeatures": {"allowOthersToQuery": true}, "useStandardizedQueries": true, "advancedQueryCapabilities": { "useStandardizedQueries": true, "supportsStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsPagination": true, "supportsTrueCurve": true, "supportsReturningQueryExtent": true, "supportsQueryWithDistance": true, "supportsSqlExpression": true }, "supportsDatumTransformation": true, "dateFieldsTimeReference": null, "hasMetadata": true, "isDataArchived": false, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "supportsCoordinatesQuantization": true, "supportsDynamicLegends": true } ], "tables": [] }