Closed dabreegster closed 2 years ago
@michaelkirk, I'm starting some vanilla JS + WASM projects. Any interest / time to help review?
I guess it would be too hard to somehow plug this into the streetmix source code
From a quick skim through, it wouldn't be easy! But also their UI isn't designed for data entry about existing reality, and their level of detail is way higher than OSM's on street furniture, scooter parking zones, etc. I'm planning to adapt some of their design choices (draggable cards, cross section view, width adjustments, etc)
I can't do a detailed review, because I am allergic to JS (partial sarcasm).
Thanks for the reviews! I'll merge this initial prototype in and open more PRs as this takes real shape.
240
The goal for this app is to make it easier to tag lanes correctly in OSM. Somebody would pick a way, see the current lanes in a cross-section view, drag the cards around and make things look correct, generate OSM tags to represent that, and upload the changeset.
This PR is a minimal prototype of that flow, without uploading changesets yet. I'd like to make sure the basic structure is OK in code review, then send followups to flesh out its functionality more. I'm giving myself an aggressive goal of mid August to make this actually usable end-to-end in simple situations, for the SoTM conference. It's a non-goal right now to handle roads split into multiple ways.
To run it, you should just be able to
cd web_editor; ./serve_locally.sh
. The only dependency iswasm-pack
to compile andpython3
to serve a dummy HTTP file server. The demo is not very impressive yet:https://user-images.githubusercontent.com/1664407/180864376-6f4b2984-8e62-4f5a-a8c4-f5bfa671b7a3.mp4