{ "layers": [ { "allowGeometryUpdates": true, "capabilities": "Create,Editing,Query,Update,Uploads,Sync", "copyrightText": "", "defaultVisibility": true, "description": "", "displayField": "objectid", "drawingInfo": { "renderer": { "type": "simple", "label": "แบบฟอร์มสำหรับสนับสนุนงานสำรวจไฟฟ้าส่องสว่าง", "description": "Survey Data Locations", "symbol": { "color": [ 255, 0, 0, 255 ], "size": 8, "angle": 0, "xoffset": 0, "yoffset": 0, "type": "esriSMS", "style": "esriSMSCircle", "outline": { "color": [ 255, 255, 0, 255 ], "width": 1, "type": "esriSLS", "style": "esriSLSSolid" } } }, "transparency": 0 }, "extent": { "spatialReference": {"wkid": 4326}, "type": "extent", "xmax": 180, "xmin": -180, "ymax": 90, "ymin": -90 }, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "ObjectID", "nullable": false, "editable": false, "domain": null }, { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "nullable": false, "editable": false, "domain": null }, { "name": "uniquerowid", "type": "esriFieldTypeGUID", "alias": "RowID", "length": 38, "nullable": true, "editable": true, "domain": null }, { "name": "lamp_id", "alias": "Lamp_ID", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "lamp_type", "alias": "Lamp_Type", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "owner", "alias": "OWNER", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "tag", "alias": "TAG", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "province", "alias": "จังหวัด", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "district", "alias": "อำเภอ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_district", "codedValues": [ { "name": "คลองเตย", "code": "คลองเตย" }, { "name": "คลองสาน", "code": "คลองสาน" }, { "name": "คลองสามวา", "code": "คลองสามวา" }, { "name": "คันนายาว", "code": "คันนายาว" }, { "name": "จตุจักร", "code": "จตุจักร" }, { "name": "จอมทอง", "code": "จอมทอง" }, { "name": "ดอนเมือง", "code": "ดอนเมือง" }, { "name": "ดินแดง", "code": "ดินแดง" }, { "name": "ดุสิต", "code": "ดุสิต" }, { "name": "ตลิ่งชัน", "code": "ตลิ่งชัน" }, { "name": "ทวีวัฒนา", "code": "ทวีวัฒนา" }, { "name": "ทุ่งครุ", "code": "ทุ่งครุ" }, { "name": "ธนบุรี", "code": "ธนบุรี" }, { "name": "บางกอกน้อย", "code": "บางกอกน้อย" }, { "name": "บางกอกใหญ่", "code": "บางกอกใหญ่" }, { "name": "บางกะปิ", "code": "บางกะปิ" }, { "name": "บางขุนเทียน", "code": "บางขุนเทียน" }, { "name": "บางเขน", "code": "บางเขน" }, { "name": "บางคอแหลม", "code": "บางคอแหลม" }, { "name": "บางแค", "code": "บางแค" }, { "name": "บางซื่อ", "code": "บางซื่อ" }, { "name": "บางนา", "code": "บางนา" }, { "name": "บางบอน", "code": "บางบอน" }, { "name": "บางพลัด", "code": "บางพลัด" }, { "name": "บางรัก", "code": "บางรัก" }, { "name": "บึงกุ่ม", "code": "บึงกุ่ม" }, { "name": "ปทุมวัน", "code": "ปทุมวัน" }, { "name": "ประเวศ", "code": "ประเวศ" }, { "name": "ป้อมปราบศัตรูพ่าย", "code": "ป้อมปราบศัตรูพ่าย" }, { "name": "พญาไท", "code": "พญาไท" }, { "name": "พระโขนง", "code": "พระโขนง" }, { "name": "พระนคร", "code": "พระนคร" }, { "name": "ภาษีเจริญ", "code": "ภาษีเจริญ" }, { "name": "มีนบุรี", "code": "มีนบุรี" }, { "name": "ยานนาวา", "code": "ยานนาวา" }, { "name": "ราชเทวี", "code": "ราชเทวี" }, { "name": "ราษฎร์บูรณะ", "code": "ราษฎร์บูรณะ" }, { "name": "ลาดกระบัง", "code": "ลาดกระบัง" }, { "name": "ลาดพร้าว", "code": "ลาดพร้าว" }, { "name": "วังทองหลาง", "code": "วังทองหลาง" }, { "name": "วัฒนา", "code": "วัฒนา" }, { "name": "สวนหลวง", "code": "สวนหลวง" }, { "name": "สะพานสูง", "code": "สะพานสูง" }, { "name": "สัมพันธวงศ์", "code": "สัมพันธวงศ์" }, { "name": "สาทร", "code": "สาทร" }, { "name": "สายไหม", "code": "สายไหม" }, { "name": "หนองแขม", "code": "หนองแขม" }, { "name": "หนองจอก", "code": "หนองจอก" }, { "name": "หลักสี่", "code": "หลักสี่" }, { "name": "ห้วยขวาง", "code": "ห้วยขวาง" } ] } }, { "name": "sub_district", "alias": "ตำบล", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "departments", "alias": "หน่วยงานที่รับผิดชอบ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "lamp_idol", "alias": "ประเภทเสา", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_lamp_idol", "codedValues": [ { "name": "เสากินรี", "code": "เสากินรี" }, { "name": "เสากินนร", "code": "เสากินนร" }, { "name": "เสาโคมเทียน", "code": "เสาโคมเทียน" }, { "name": "เสาเหล็กลวดลาย(สนามชัย)", "code": "เสาเหล็กลวดลาย(สนามชัย)" }, { "name": "เสาเหล็กลวดลาย", "code": "เสาเหล็กลวดลาย" }, { "name": "เสาโคมสะพานผ่านฟ้าลีลาศ", "code": "เสาโคมสะพานผ่านฟ้าลีลาศ" }, { "name": "เสาโคมอนุสาวรีย์ปราบกบฏ", "code": "เสาโคมอนุสาวรีย์ปราบกบฏ" }, { "name": "เสาโคมสะพานศรีอยุธยา", "code": "เสาโคมสะพานศรีอยุธยา" }, { "name": "เสาโคมสะพานประปาสามเสน", "code": "เสาโคมสะพานประปาสามเสน" }, { "name": "เสาโคมสะพานมิตรสัมพันธ์", "code": "เสาโคมสะพานมิตรสัมพันธ์" }, { "name": "เสาโคมวงเวียนใหญ่", "code": "เสาโคมวงเวียนใหญ่" }, { "name": "เสาโคมสะพานผ่านพิภพลีลา", "code": "เสาโคมสะพานผ่านพิภพลีลา" }, { "name": "เสาโคมสะพานเฉลิมโลก", "code": "เสาโคมสะพานเฉลิมโลก" }, { "name": "เสาโคมบนรางสะพานพุทธฯ", "code": "เสาโคมบนรางสะพานพุทธฯ" }, { "name": "เสาโคมบริเวณอนุเสาวรีย์ชัยสมรภูมิ", "code": "เสาโคมบริเวณอนุเสาวรีย์ชัยสมรภูมิ" }, { "name": "เสาทรงเทียนพุ่ม", "code": "เสาทรงเทียนพุ่ม" }, { "name": "เสาตรีสวนลุม", "code": "เสาตรีสวนลุม" } ] } }, { "name": "voltage", "alias": "แรงดันไฟฟ้า (โวลต์)", "type": "esriFieldTypeDouble", "editable": true, "nullable": true, "domain": null }, { "name": "electricity", "alias": "กระแสไฟฟ้า (แอมแปร์)", "type": "esriFieldTypeDouble", "editable": true, "nullable": true, "domain": null }, { "name": "breaker", "alias": "breaker", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_breaker", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "driver", "alias": "driver", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_driver", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "lamp", "alias": "lamp", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_lamp", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "wire", "alias": "wire", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_wire", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "connect", "alias": "connect", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_connect", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "fuse", "alias": "fuse", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_fuse", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "tracking_device", "alias": "tracking_device", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_tracking_device", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "lantern", "alias": "โคมไฟ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_lantern", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "control_cabinet", "alias": "ตู้ควบคุม", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_control_cabinet", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "lamppost", "alias": "เสา / กิ่งไฟฟ้าสาธารณะ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_lamppost", "codedValues": [ { "name": "ปกติ", "code": "ปกติ" }, { "name": "ไม่ปกติ", "code": "ไม่ปกติ" } ] } }, { "name": "status", "alias": "สถานะการใช้งาน", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_status", "codedValues": [ { "name": "สามารถใช้งานได้ปกติ", "code": "สามารถใช้งานได้ปกติ" }, { "name": "ไม่สามารถใช้งานได้", "code": "ไม่สามารถใช้งานได้" } ] } }, { "name": "owner_name", "alias": "ผู้รับผิดชอบ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "alias": "created_user", "name": "created_user", "length": 255, "domain": null, "nullable": true, "type": "esriFieldTypeString", "editable": false }, { "alias": "created_date", "name": "created_date", "length": 29, "domain": null, "nullable": true, "type": "esriFieldTypeDate", "editable": false }, { "alias": "last_edited_user", "name": "last_edited_user", "length": 255, "domain": null, "nullable": true, "type": "esriFieldTypeString", "editable": false }, { "alias": "last_edited_date", "name": "last_edited_date", "length": 29, "domain": null, "nullable": true, "type": "esriFieldTypeDate", "editable": false }, { "name": "center", "alias": "ส่วนงาน", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_center", "codedValues": [ { "name": "ศูนย์เครื่องมือกล ส่วนก่อสร้างและบูรณะ 1", "code": "ศูนย์เครื่องมือกล ส่วนก่อสร้างและบูรณะ 1" }, { "name": "ศูนย์เครื่องมือกล ส่วนก่อสร้างและบูรณะ 2", "code": "ศูนย์เครื่องมือกล ส่วนก่อสร้างและบูรณะ 2" } ] } }, { "name": "status_aim", "alias": "สถานะการชี้เป้า", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_status_aim", "codedValues": [ { "name": "Yes", "code": "Yes" }, { "name": "No", "code": "No" } ] } }, { "name": "remarks1", "alias": "หมายเหตุ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "survey_mode", "alias": "survey_mode", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "lamp_size", "alias": "LAMP_SIZE", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": { "type": "codedValue", "name": "service_57c6b2d895b847158ad9659d9b92c7a4_cvd_lamp_size", "codedValues": [ { "name": "100W", "code": "100" }, { "name": "1000W", "code": "1000" }, { "name": "11W", "code": "11" }, { "name": "110W", "code": "110" }, { "name": "120W", "code": "120" }, { "name": "125W", "code": "125" }, { "name": "135W", "code": "135" }, { "name": "140W", "code": "140" }, { "name": "15W", "code": "15" }, { "name": "150W", "code": "150" }, { "name": "160W", "code": "160" }, { "name": "180W", "code": "180" }, { "name": "20W", "code": "20" }, { "name": "250W", "code": "250" }, { "name": "27W", "code": "27" }, { "name": "30W", "code": "30" }, { "name": "31W", "code": "31" }, { "name": "32W", "code": "32" }, { "name": "33W", "code": "33" }, { "name": "35W", "code": "35" }, { "name": "36W", "code": "36" }, { "name": "38W", "code": "38" }, { "name": "40W", "code": "40" }, { "name": "400W", "code": "400" }, { "name": "45W", "code": "45" }, { "name": "50W", "code": "50" }, { "name": "500W", "code": "500" }, { "name": "55W", "code": "55" }, { "name": "60W", "code": "60" }, { "name": "65W", "code": "65" }, { "name": "70W", "code": "70" }, { "name": "80W", "code": "80" }, { "name": "90W", "code": "90" }, { "name": "Unknown", "code": "Z" } ] } }, { "name": "remarks", "alias": "หมายเหตุ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "add_test", "type": "esriFieldTypeString", "alias": "add_test", "nullable": true, "editable": true, "length": 1000 } ], "geometryType": "esriGeometryPoint", "globalIdField": "globalid", "hasAttachments": false, "hasM": false, "hasStaticData": false, "hasZ": false, "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText", "id": 0, "isDataVersioned": false, "maxRecordCount": 1000, "maxScale": 0, "minScale": 0, "name": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "objectIdField": "objectid", "propagateVisibleFields": true, "relationships": [ { "id": 0, "name": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_material", "cardinality": "esriRelCardinalityOneToMany", "relatedTableId": 1, "role": "esriRelRoleOrigin", "keyField": "uniquerowid", "composite": true } ], "supportedQueryFormats": "JSON", "supportsAdvancedQueries": true, "supportsRollbackOnFailureParameter": true, "supportsStatistics": true, "templates": [ { "description": "", "name": "New Feature", "prototype": { "_constructed": true, "geometry": null, "symbol": null, "attributes": { "uniquerowid": null, "lamp_id": null, "lamp_type": null, "owner": null, "tag": null, "province": null, "district": null, "sub_district": null, "departments": null, "lamp_idol": null, "voltage": null, "electricity": null, "breaker": null, "driver": null, "lamp": null, "wire": null, "connect": null, "fuse": null, "tracking_device": null, "lantern": null, "control_cabinet": null, "lamppost": null, "status": null, "owner_name": null, "center": null, "status_aim": null, "remarks1": null, "survey_mode": null, "lamp_size": null, "remarks": null, "add_test": null }, "infoTemplate": null } } ], "type": "Feature Layer", "typeIdField": "", "types": [], "indexes": [ { "name": "r3447_sde_rowid_uk", "fields": "objectid", "isAcsending": true, "isUnique": true, "description": "" }, { "name": "uuid_3447", "fields": "globalid", "isAcsending": true, "isUnique": true, "description": "" }, { "name": "a2482_ix1", "fields": "shape", "isAcsending": true, "isUnique": false, "description": "" } ], "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "allowUpdateWithoutMValues": true, "hasMetadata": false, "supportsApplyEditsWithGlobalIds": true, "ownershipBasedAccessControlForFeatures": { "allowOthersToQuery": true, "allowOthersToUpdate": true, "allowOthersToDelete": true }, "syncEnabled": true, "hasViews": true, "standardMaxRecordCount": 16000, "tileMaxRecordCount": 4000, "maxRecordCountFactor": 1, "sqlParserVersion": "PG_10.6.1" } ], "tables": [ { "capabilities": "Create,Editing,Query,Update,Uploads,Sync", "copyrightText": "", "defaultVisibility": true, "description": "", "displayField": "objectid", "editFieldsInfo": { "creationDateField": "created_date", "creatorField": "created_user", "editDateField": "last_edited_date", "editorField": "last_edited_user" }, "fields": [ { "name": "objectid", "type": "esriFieldTypeOID", "alias": "ObjectID", "nullable": false, "editable": false, "domain": null }, { "name": "globalid", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "length": 38, "nullable": false, "editable": false, "domain": null }, { "name": "details", "alias": "รายละเอียด", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "num_material", "alias": "จำนวน", "type": "esriFieldTypeInteger", "editable": true, "nullable": true, "domain": null }, { "name": "remarks", "alias": "หมายเหตุ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null }, { "name": "parentrowid", "type": "esriFieldTypeGUID", "alias": "ParentRowID", "length": 38, "nullable": true, "editable": true, "domain": null }, { "alias": "created_user", "name": "created_user", "length": 255, "domain": null, "nullable": true, "type": "esriFieldTypeString", "editable": false }, { "alias": "created_date", "name": "created_date", "length": 29, "domain": null, "nullable": true, "type": "esriFieldTypeDate", "editable": false }, { "alias": "last_edited_user", "name": "last_edited_user", "length": 255, "domain": null, "nullable": true, "type": "esriFieldTypeString", "editable": false }, { "alias": "last_edited_date", "name": "last_edited_date", "length": 29, "domain": null, "nullable": true, "type": "esriFieldTypeDate", "editable": false }, { "name": "remarks_material", "alias": "หมายเหตุรายการใช้วัสดุ", "type": "esriFieldTypeString", "length": 255, "editable": true, "nullable": true, "domain": null } ], "globalIdField": "globalid", "hasAttachments": false, "htmlPopupType": "esriServerHTMLPopupTypeNone", "id": 1, "isDataVersioned": false, "maxRecordCount": 1000, "name": "material", "objectIdField": "objectid", "propagateVisibleFields": true, "relationships": [ { "id": 0, "name": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_material", "cardinality": "esriRelCardinalityOneToMany", "relatedTableId": 0, "role": "esriRelRoleDestination", "keyField": "parentrowid", "composite": true } ], "supportedQueryFormats": "JSON, AMF", "supportsAdvancedQueries": true, "supportsRollbackOnFailureParameter": true, "supportsStatistics": true, "syncCanReturnChanges": false, "templates": [], "type": "Table", "typeIdField": "", "types": [], "useStandardizedQueries": true, "indexes": [ { "name": "r3448_sde_rowid_uk", "fields": "objectid", "isAcsending": true, "isUnique": true, "description": "" }, { "name": "uuid_3448", "fields": "globalid", "isAcsending": true, "isUnique": true, "description": "" } ], "hasMetadata": false, "supportsApplyEditsWithGlobalIds": true, "ownershipBasedAccessControlForFeatures": { "allowOthersToQuery": true, "allowOthersToUpdate": true, "allowOthersToDelete": true }, "syncEnabled": true, "hasViews": true, "standardMaxRecordCount": 16000, "tileMaxRecordCount": 4000, "maxRecordCountFactor": 1, "sqlParserVersion": "PG_10.6.1" } ] }