{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 7, "name": "MOPHGIS.Hos_floodrisk", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [ { "id": 0, "name": "flood_history", "relatedTableId": 11, "cardinality": "esriRelCardinalityOneToMany", "role": "esriRelRoleOrigin", "keyField": "uniquerowid", "composite": false, "catalogID": "{867F35B7-1B21-4A83-BB30-B328FFD76312}" } ], "isDataVersioned": false, "isDataArchived": true, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": true, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1746667672000 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": true, "supportsQuantizationEditMode": true, "supportsCalculate": true, "supportsASyncCalculate": true, "supportsDatumTransformation": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsQueryWithDatumTransformation": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasMetadata": true, "extent": { "xmin": 97.69007400000004, "ymin": 5.731490000000065, "xmax": 105.60686500000008, "ymax": 20.440778000000023, "spatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": -100000, "zUnits": 10000, "falseM": -100000, "mUnits": 10000 } }, "sourceSpatialReference": { "wkid": 4326, "latestWkid": 4326, "xyTolerance": 8.983152841195215E-9, "zTolerance": 0.001, "mTolerance": 0.001, "falseX": -400, "falseY": -400, "xyUnits": 9.999999999999999E8, "falseZ": 0, "zUnits": 1, "falseM": 0, "mUnits": 1 }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 69, 126, 150, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 0.7 } } }, "scaleSymbols": true, "transparency": 0, "labelingInfo": null }, "hasM": false, "hasZ": false, "allowGeometryUpdates": true, "allowTrueCurvesUpdates": true, "onlyAllowTrueCurveUpdatesByTrueCurveClients": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": true, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "name1", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "maincode_new", "type": "esriFieldTypeString", "alias": "รหัส 9 หลักใหม่", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "maincode_new" }, { "name": "maincode", "type": "esriFieldTypeString", "alias": "maincode", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "maincode" }, { "name": "oldcode", "type": "esriFieldTypeString", "alias": "oldcode", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "oldcode" }, { "name": "name1", "type": "esriFieldTypeString", "alias": "name", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "name1" }, { "name": "area_health", "type": "esriFieldTypeSmallInteger", "alias": "area_health", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "area_health" }, { "name": "area_health_name", "type": "esriFieldTypeString", "alias": "area_health_name", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "area_health_name" }, { "name": "changwat", "type": "esriFieldTypeString", "alias": "changwat", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "changwat" }, { "name": "ampur", "type": "esriFieldTypeString", "alias": "ampur", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "ampur" }, { "name": "tumbon", "type": "esriFieldTypeString", "alias": "tumbon", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "tumbon" }, { "name": "lat", "type": "esriFieldTypeDouble", "alias": "lat", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "lat" }, { "name": "lon", "type": "esriFieldTypeDouble", "alias": "lon", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "lon" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" }, { "name": "edit_date1", "type": "esriFieldTypeDate", "alias": "edit_date1", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "edit_date1" }, { "name": "type1", "type": "esriFieldTypeString", "alias": "ประเภทองค์กร", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "type1" }, { "name": "ministry", "type": "esriFieldTypeString", "alias": "สังกัด", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "ministry" }, { "name": "department", "type": "esriFieldTypeString", "alias": "แผนก/กรม", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "department" }, { "name": "bed", "type": "esriFieldTypeDouble", "alias": "เตียงที่ใช้จริง", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "bed" }, { "name": "status", "type": "esriFieldTypeString", "alias": "สถานะการใช้งาน", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "status" }, { "name": "address", "type": "esriFieldTypeString", "alias": "ที่อยู่", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "address" }, { "name": "moo", "type": "esriFieldTypeString", "alias": "หมู่", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "moo" }, { "name": "postcode", "type": "esriFieldTypeString", "alias": "รหัสไปรษณีย์", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "postcode" }, { "name": "network_hospital", "type": "esriFieldTypeString", "alias": "แม่ข่าย", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "network_hospital" }, { "name": "date_founding", "type": "esriFieldTypeString", "alias": "วันที่ก่อตั้ง", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "date_founding" }, { "name": "date_closed", "type": "esriFieldTypeString", "alias": "วันที่ปิดบริการ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "date_closed" }, { "name": "update_latest", "type": "esriFieldTypeString", "alias": "อัพเดตล่าสุด(เริ่ม 05/09/2566)", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "update_latest" }, { "name": "servicelevel", "type": "esriFieldTypeString", "alias": "servicelevel", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "servicelevel" }, { "name": "level_", "type": "esriFieldTypeString", "alias": "level_", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "level_" }, { "name": "Code", "type": "esriFieldTypeString", "alias": "Code", "domain": null, "editable": true, "nullable": true, "length": 254, "defaultValue": null, "modelName": "Code" }, { "name": "Descriptio", "type": "esriFieldTypeString", "alias": "Descriptio", "domain": null, "editable": true, "nullable": true, "length": 254, "defaultValue": null, "modelName": "Descriptio" }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "ObjectID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "typecode", "type": "esriFieldTypeString", "alias": "typecode", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "typecode" }, { "name": "ministry_other", "type": "esriFieldTypeString", "alias": "ministry_other", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "ministry_other" }, { "name": "namereport", "type": "esriFieldTypeString", "alias": "namereport", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "namereport" }, { "name": "groupreport", "type": "esriFieldTypeString", "alias": "groupreport", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "groupreport" }, { "name": "telreport", "type": "esriFieldTypeString", "alias": "telreport", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "telreport" }, { "name": "emailreport", "type": "esriFieldTypeString", "alias": "emailreport", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "emailreport" }, { "name": "report_date", "type": "esriFieldTypeDate", "alias": "report_date", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "report_date" }, { "name": "level_other", "type": "esriFieldTypeString", "alias": "level_other", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "level_other" }, { "name": "remark", "type": "esriFieldTypeString", "alias": "remark", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "remark" }, { "name": "date_founding1", "type": "esriFieldTypeDate", "alias": "date_founding1", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "date_founding1" }, { "name": "date_closed1", "type": "esriFieldTypeDate", "alias": "date_closed1", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "date_closed1" }, { "name": "uniquerowid", "type": "esriFieldTypeGUID", "alias": "uniquerowid", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "uniquerowid" }, { "name": "flood_his", "type": "esriFieldTypeString", "alias": "flood_his", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "flood_his" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "Shape", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "UUID_385", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "gdb_ct3_385", "fields": "OBJECTID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "S194_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "MOPHGIS.Hos_floodrisk", "description": "", "prototype": { "attributes": { "uniquerowid": null, "maincode_new": null, "maincode": null, "oldcode": null, "name1": null, "area_health": null, "area_health_name": null, "changwat": null, "ampur": null, "tumbon": null, "lat": null, "lon": null, "flood_his": null, "edit_date1": null, "type1": null, "ministry": null, "department": null, "bed": null, "status": null, "address": null, "moo": null, "postcode": null, "network_hospital": null, "date_founding": null, "date_closed": null, "update_latest": null, "servicelevel": null, "level_": null, "Code": null, "Descriptio": null, "date_closed1": null, "typecode": null, "ministry_other": null, "namereport": null, "groupreport": null, "telreport": null, "emailreport": null, "report_date": null, "level_other": null, "remark": null, "date_founding1": null } }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing,Sync,Extract,ChangeTracking", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "22d9f433f2284642916a82c5510607e6" } ], "tables": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 11, "name": "flood_history", "type": "Table", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": true, "relationships": [ { "id": 0, "name": "MOPHGIS.Hos_floodrisk", "relatedTableId": 7, "cardinality": "esriRelCardinalityOneToMany", "role": "esriRelRoleDestination", "keyField": "parentrowid", "composite": false, "catalogID": "{867F35B7-1B21-4A83-BB30-B328FFD76312}" } ], "isDataVersioned": false, "isDataArchived": true, "infoInEstimates": [ "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": true, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": true, "startArchivingMoment": 1747797476000 }, "supportsStatistics": true, "supportsExceedsLimitStatistics": true, "supportsAdvancedQueries": true, "supportsValidateSQL": true, "supportsCoordinatesQuantization": false, "supportsCalculate": true, "supportsASyncCalculate": true, "advancedQueryCapabilities": { "supportsPagination": true, "supportsTrueCurve": true, "supportsQueryWithDistance": true, "supportsReturningQueryExtent": true, "supportsStatistics": true, "supportsPercentileStatistics": true, "supportsHavingClause": true, "supportsOrderBy": true, "supportsDistinct": true, "supportsCountDistinct": true, "supportsAdvancedQueryRelated": true, "supportsQueryRelatedPagination": true, "supportsCurrentUserQueries": true, "supportsQueryWithResultType": true, "supportsReturningGeometryCentroid": false, "supportsSqlExpression": true, "supportsLod": false, "supportsQueryWithLodSR": false, "supportsQueryAnalytic": true }, "advancedQueryAnalyticCapabilities": { "supportsLinearRegression": true, "supportsAsync": true, "supportsPercentileAnalytic": true }, "advancedEditingCapabilities": { "supportedSqlFormatsInCalculate": [ "standard" ], "supportsAsyncApplyEdits": true, "supportsApplyEditsbyUploadID": true, "supportedApplyEditsUploadIDFormats": "JSON" }, "hasMetadata": true, "hasAttachments": false, "supportsApplyEditsWithGlobalIds": true, "htmlPopupType": "esriServerHTMLPopupTypeNone", "objectIdField": "OBJECTID", "globalIdField": "GlobalID", "displayField": "name2", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "name2", "type": "esriFieldTypeString", "alias": "ชื่อสถานพยาบาล", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "name2" }, { "name": "area_health2", "type": "esriFieldTypeSmallInteger", "alias": "เขตสุขภาพ", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "area_health2" }, { "name": "area_health_name2", "type": "esriFieldTypeString", "alias": "ชื่อเขตสุขภาพ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "area_health_name2" }, { "name": "changwat2", "type": "esriFieldTypeString", "alias": "จังหวัด", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "changwat2" }, { "name": "ampur2", "type": "esriFieldTypeString", "alias": "อำเภอ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "ampur2" }, { "name": "tumbon2", "type": "esriFieldTypeString", "alias": "ตำบล", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "tumbon2" }, { "name": "maincode_new2", "type": "esriFieldTypeString", "alias": "รหัส 9 หลักใหม่", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "maincode_new2" }, { "name": "maincode2", "type": "esriFieldTypeString", "alias": "รหัส 9 หลัก", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "maincode2" }, { "name": "oldcode2", "type": "esriFieldTypeString", "alias": "รหัส 5 หลัก", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "oldcode2" }, { "name": "Descriptio2", "type": "esriFieldTypeString", "alias": "ความเสี่ยง", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "Descriptio2" }, { "name": "flood_his2", "type": "esriFieldTypeString", "alias": "ประวัติการเกิดอุทกภัย", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "flood_his2" }, { "name": "flood_his_year", "type": "esriFieldTypeInteger", "alias": "ปีที่เคยเกิดอุทกภัย", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "flood_his_year" }, { "name": "flood_his_severity", "type": "esriFieldTypeString", "alias": "ความรุนแรงของอุทกภัย", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "flood_his_severity" }, { "name": "parentrowid", "type": "esriFieldTypeGUID", "alias": "parentrowid", "domain": null, "editable": true, "nullable": true, "length": 38, "defaultValue": null, "modelName": "parentrowid" }, { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" } ], "indexes": [ { "name": "GDB_5453_parentr", "fields": "parentrowid", "isAscending": true, "isUnique": false, "description": "" }, { "name": "gdb_ct3_394", "fields": "OBJECTID", "isAscending": true, "isUnique": false, "description": "" }, { "name": "UUID_394", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "flood_history", "description": "", "prototype": { "attributes": { "parentrowid": null, "name2": null, "area_health2": null, "area_health_name2": null, "changwat2": null, "ampur2": null, "tumbon2": null, "maincode_new2": null, "maincode2": null, "oldcode2": null, "Descriptio2": null, "flood_his2": null, "flood_his_year": null, "flood_his_severity": null } }, "drawingTool": "esriFeatureEditToolNone" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing,Sync,Extract,ChangeTracking", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "standardMaxRecordCount": 32000, "tileMaxRecordCount": 2000, "maxRecordCountFactor": 1, "serviceItemId": "22d9f433f2284642916a82c5510607e6" } ] }