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

Calculate building-to-building road width #10

Open
dabreegster opened this issue Mar 13, 2023 · 0 comments
Open

Calculate building-to-building road width #10

dabreegster opened this issue Mar 13, 2023 · 0 comments

Comments

@dabreegster
Copy link

Maybe if OS road width data is unavailable or insufficient, in dense areas, we can come up with a basic guess just from OSM data. Start with a road center-line, and project it left and right until we hit some building (or park or body of water). It'd be useful to compare results from this to anything higher quality from OS.

I started playing around with this at https://github.com/dabreegster/osm2svelte. The vector tiles loaded anyway for rendering can be used to grab building polygons (and probably road polylines too), making it convenient to iterate on this problem in JS, if that's the useful tech stack.
Screenshot from 2023-03-13 12-09-23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant