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

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

| 項次 | 資料項目名稱     | 資料檔案名稱           |
| -- | ---------- | ---------------- |
| 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)       建議檢核頻率：每月**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
