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

Publish osm2lanes NPM package

未关闭
#224 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
155
派生
14
PR 合并指标
30 天内没有已合并 PR

描述

For @kfarr to try out in 3dstreet. Should be a JS API with OSM tags as input (just a string/string map) and JSON lane specifications (something like `[{lane_type: "driving", width: 2.5, direction: "forward"}, ...]`) as output.

- [x] Create osm2lanes-js and publish to NPM
- [ ] Clean up the hasty refactor, possibly having a crate in the osm2streets repo with base types
- [ ] Stop re-exporting types from osm2streets crate?

贡献指南

打开贡献指南

调研方向

Look at the existing osm2lanes-js package structure and its connection to the osm2streets Rust crate. Understand the base types that need to be shared and the API design for converting OSM tags to lane specifications. Check for any existing refactoring work and decide on the separation of types between the JS and Rust crates.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, nodejs, typescript
领域
backend, cli, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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