{ "layers": [ { "currentVersion": 11.3, "cimVersion": "3.3.0", "id": 0, "name": "airquality", "type": "Feature Layer", "parentLayer": null, "defaultVisibility": true, "minScale": 0, "maxScale": 0, "canScaleSymbols": false, "geometryType": "esriGeometryPoint", "description": "", "copyrightText": "", "editFieldsInfo": null, "ownershipBasedAccessControlForFeatures": null, "syncCanReturnChanges": false, "relationships": [], "isDataVersioned": false, "isDataArchived": false, "infoInEstimates": [ "extent", "count" ], "isDataBranchVersioned": false, "isDataReplicaTracked": false, "isCoGoEnabled": false, "supportsRollbackOnFailureParameter": true, "archivingInfo": { "supportsQueryWithHistoricMoment": false, "startArchivingMoment": -1 }, "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": "NaN", "ymin": "NaN", "xmax": "NaN", "ymax": "NaN", "spatialReference": { "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 } }, "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": [ 170, 63, 161, 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": "nameTH", "typeIdField": "", "subtypeField": "", "fields": [ { "name": "OBJECTID", "type": "esriFieldTypeOID", "alias": "OBJECTID", "domain": null, "editable": false, "nullable": false, "defaultValue": null, "modelName": "OBJECTID" }, { "name": "stationID", "type": "esriFieldTypeString", "alias": "รหัสสถานี", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "stationID" }, { "name": "nameTH", "type": "esriFieldTypeString", "alias": "ชื่อสถานีไทย", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "nameTH" }, { "name": "nameEN", "type": "esriFieldTypeString", "alias": "ชื่อสถานีอังกฤษ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "nameEN" }, { "name": "stationType", "type": "esriFieldTypeString", "alias": "ประเภทสถานี", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "stationType" }, { "name": "areaEN", "type": "esriFieldTypeString", "alias": "ที่ตั้งภาษาอังกฤษ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "areaEN" }, { "name": "areaTH", "type": "esriFieldTypeString", "alias": "ที่ตั้งภาษาไทย", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "areaTH" }, { "name": "changwat", "type": "esriFieldTypeString", "alias": "จังหวัด", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "changwat" }, { "name": "area_health", "type": "esriFieldTypeInteger", "alias": "เขตสุขภาพ", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "area_health" }, { "name": "area_health_name", "type": "esriFieldTypeString", "alias": "ชื่อเขตสุขภาพ", "domain": null, "editable": true, "nullable": true, "length": 255, "defaultValue": null, "modelName": "area_health_name" }, { "name": "lat", "type": "esriFieldTypeDouble", "alias": "ละติจูด", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "lat" }, { "name": "long", "type": "esriFieldTypeDouble", "alias": "ลองจิจูด", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "long" }, { "name": "AQIDateTime", "type": "esriFieldTypeDate", "alias": "ข้อมูลล่าสุด", "domain": null, "editable": true, "nullable": true, "length": 8, "defaultValue": null, "modelName": "AQIDateTime" }, { "name": "PM25", "type": "esriFieldTypeDouble", "alias": "ค่าฝุ่น PM2.5 (µg/m³)", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "PM25" }, { "name": "PM25_AQI", "type": "esriFieldTypeInteger", "alias": "ดัชนีคุณภาพอากาศ (AQI) PM2.5", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "PM25_AQI" }, { "name": "PM25_Color", "type": "esriFieldTypeSmallInteger", "alias": "สีตามระดับ AQI", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "PM25_Color" }, { "name": "GlobalID", "type": "esriFieldTypeGlobalID", "alias": "GlobalID", "domain": null, "editable": false, "nullable": false, "length": 38, "defaultValue": null, "modelName": "GlobalID" } ], "geometryField": { "name": "Shape", "type": "esriFieldTypeGeometry", "alias": "SHAPE", "domain": null, "editable": true, "nullable": true, "defaultValue": null, "modelName": "Shape" }, "indexes": [ { "name": "R397_pk", "fields": "OBJECTID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "UUID_397", "fields": "GlobalID", "isAscending": true, "isUnique": true, "description": "" }, { "name": "S201_idx", "fields": "Shape", "isAscending": true, "isUnique": true, "description": "" } ], "datesInUnknownTimezone": false, "dateFieldsTimeReference": { "timeZone": "UTC", "respectsDaylightSaving": false }, "preferredTimeReference": null, "types": [], "templates": [ { "name": "airquality", "description": "", "prototype": { "attributes": { "PM25_Color": null, "PM25_AQI": null, "stationID": null, "nameTH": null, "nameEN": null, "stationType": null, "areaEN": null, "areaTH": null, "changwat": null, "area_health": null, "area_health_name": null, "lat": null, "long": null, "AQIDateTime": null, "PM25": null } }, "drawingTool": "esriFeatureEditToolPoint" } ], "maxRecordCount": 2000, "supportedQueryFormats": "JSON, geoJSON, PBF", "supportedExportFormats": "sqlite,filegdb,shapefile,csv,geojson", "capabilities": "Query,Create,Update,Delete,Uploads,Editing,Extract", "useStandardizedQueries": true, "bigIntegerRestrictedTo53Bits": true, "supportedSpatialRelationships": [ "esriSpatialRelIntersects", "esriSpatialRelContains", "esriSpatialRelCrosses", "esriSpatialRelEnvelopeIntersects", "esriSpatialRelIndexIntersects", "esriSpatialRelOverlaps", "esriSpatialRelTouches", "esriSpatialRelWithin", "esriSpatialRelRelation" ], "standardMaxRecordCount": 32000, "tileMaxRecordCount": 8000, "standardMaxRecordCountNoGeometry": 32000, "maxRecordCountFactor": 1, "serviceItemId": "27f67a412174434180fbb3052bcbbad2" } ], "tables": [] }