Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new layer to create streets from overpass > osm2streets #826

Open
kfarr opened this issue Sep 3, 2024 · 1 comment
Open

new layer to create streets from overpass > osm2streets #826

kfarr opened this issue Sep 3, 2024 · 1 comment

Comments

@kfarr
Copy link
Collaborator

kfarr commented Sep 3, 2024

As a user who has specified a location for my 3DStreet scene, I'd like to be able to automatically generate street layers from OSM data. For a first implementation this could be an experimental layer manually spawned from the Add Layer Panel.

Steps:

  • Overpass request --> send request with querystring data, long / lat, radius, etc. (ie give me all osm data within bounding box of 100m)
  • Overpass response will include osm xml data that is up-to-date
  • Use osm2streets library feed in xml data https://www.npmjs.com/package/osm2streets-js
  • use object's method to get polygon data / lane marking (after call init method that is async)
  • output geojson --> separate feature for each lane

Example of implementation:

(cc @dabreegster followup issue from our call)

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in 3DStreet Dev Tracking Sep 3, 2024
@kfarr kfarr moved this from Backlog (Not Ready) to To Do - Soon in 3DStreet Dev Tracking Sep 3, 2024
@kfarr kfarr changed the title create new layer to render osm2streets new layer to create streets from overpass > osm2streets Sep 3, 2024
@dabreegster
Copy link

dabreegster commented Sep 3, 2024

Some code references:

@kfarr kfarr moved this from To Do - Soon to To Do - High Prio in 3DStreet Dev Tracking Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do - High Prio
Development

No branches or pull requests

2 participants