> For the complete documentation index, see [llms.txt](https://motc-ptx-api-documentation.gitbook.io/motc-ptx-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://motc-ptx-api-documentation.gitbook.io/motc-ptx-api-documentation/gong-gong-yun-shu-zi-liao-jian-he-gui-fan/gong-gong-zi-xing-ju-zi-liao-jian-he-xiang-mu.md).

# 公共自行車資料檢核項目

## 公共自行車資料項目如表：

| 項次 | 資料項目名稱     | 資料檔案名稱           |
| -- | ---------- | ---------------- |
| 1  | 租借站位資料     | BikeStation      |
| 2  | 即時車位資料     | BikeAvailability |
| 3  | 車道實體路線圖資資料 | BikeShape        |

## (一)  合理性檢核

### **1.      經緯度落在合理範圍**

**(1)       檢核資料：**

|         |        |
| ------- | ------ |
| Station | 租借站位資料 |

**(2)       檢核欄位：**

StationPosition站點位置&#x20;

**(3)       說明：**

為確認經緯度是否落在台灣本島或離島上，因此位置資料中緯度(Lat) 須在22\~27度內、經度(Lon) 須在118\~122度內。

**(4)       範例：**

Station XML租借站位資料之StationPosition站點位置，該欄位的緯度(PostionLat) 須在22\~27度內、經度(PostionLon) 須在118\~122度內。

## (二)  邏輯性檢核

### **1.      跨資料項內容一致性**

**(1)       檢核資料：**

| 檢核資料項        | 檢核欄位   | 參照資料      |            |           |
| ------------ | ------ | --------- | ---------- | --------- |
| Availability | 即時車位資料 | StationID | StationXML | StationID |

**(2)       檢核欄位：**

StationID站點代碼

**(3)       說明：**

兩個資料項之間對應是否一致。

**(4)       範例：**

Availability即時車位資料之StationID站點代碼，該欄位內容與Station租借站位資料之StationID對應須一致。

#### (5)       建議檢核頻率：每月

## (一)  空間屬性檢核

### **1.      位置資料之經緯度位於邊界範圍內**

**(1)       檢核資料：**

|         |        |
| ------- | ------ |
| Station | 租借站位資料 |

**(2)       檢核欄位：**

StationPosition站點位置

**(3)       說明：**

為確認位置資料的經緯度是否落在台灣本島或離島上，因此須透過疊圖分析確認座標位置位於本島或離島的邊界範圍內。

**(4)       範例：**

Station XML機場資料之StationPosition站點位置，該欄位的座標須位於本島或離島的邊界範圍內。

**(5)       建議檢核頻率：每月**
