a-b-street / a-b-street/osm2streets

Question about Road Centerline CRS and Extraction via Python Bindings

未关闭
#274 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
155
派生
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。