a-b-street / a-b-street/osm2streets
Question about Road Centerline CRS and Extraction via Python Bindings
- 主要言語
- Jupyter Notebook
- スター
- 156
- フォーク
- 14
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hello,
First of all, I want to thank you for this amazing project — it’s been a great tool to work with.
I’m currently trying to extract the centerlines of roads generated by the project, which also produces lane and road polygons. I’m using the Python bindings to access the data generated by the core (written in Rust). However, since I don’t have full access to the original Rust classes, I’m limited in how I can extract the centerlines properly.
Right now, the best I can access from Python is the result of network.to_json(), which returns a dictionary containing the centerline data, for example:
```
"center_line": {
"pts": [
{"x": 4998937, "y": 5077561},
{"x": 5078196, "y": 5070822},
{"x": 5254235, "y": 5091648},
],
"length": 256812,
}
```
Unfortunately, I haven’t been able to determine which Coordinate Reference System (CRS) these points use — they’re clearly not in EPSG:4326 (latitude/longitude).
Could you please clarify which CRS or projection these coordinates correspond to?
That would help me correctly transform and use them in my workflow.
Thank you again for your great work on this project.
コントリビューションガイド
調査の方向性
この issue は、network.to_json() の JSON 出力に含まれる中心線ポイントに使用されている座標参照系 (CRS) を理解することを目的としています。これらのポイントを生成する Rust コードを確認してください。おそらくネットワークのシリアライズまたはジオメトリのモジュールにあります。CRS の変換や投影の定義がないか確認してください。目的は CRS を文書化し、外部で使用する際にポイントを正しく変換できるようにすることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, rust
- 領域
- cli, data, tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100