-
Notifications
You must be signed in to change notification settings - Fork 3
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
Interactive web app to try out #4
Comments
The visualisation shows the benefits of partial matching by overlapping line length. Now I'm able to get the package installed again I plan to do some tests. Hoping they will be of use for the package, if I manage to make seemingly good changes watch out for a PR (the next one will actually be useful hopefully). Would be great to have a live demo of it in action so will give the Shiny app a spin. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To help users understand the results for this library and tune parameters, a web tool could be quite handy. I started one for my simpler linestring matching implementation at https://nptscot.github.io/match_linestrings/. On the cycleway example that @Robinlovelace made, it performs quite poorly:
Only the darker blue cycleway segments matched to the red roads. You can hover on one of them to see the matching red line.
There are two steps to mocking up a tool like this. The WASM bindings for use in JS are in https://github.com/nptscot/match_linestrings/tree/main/backend -- some boilerplate, but mostly just reading/writing the geometry and transforming coordinate systems. Then https://github.com/nptscot/match_linestrings/tree/main/web is a small Svelte frontend, using svelte-maplibre to conveniently set up a map and draw things. This can all be deployed to GH pages using https://github.com/nptscot/match_linestrings/tree/main/.github/workflows.
If you have any interest in adapting this for your library and hit issues, let me know -- I'd also generally like to spread the knowledge about how to do this kind of thing, in case it's useful in other projects. When I get some spare time, I could also start it -- it'd be useful for me to work through anime's API, although it seems pretty straightforward.
The text was updated successfully, but these errors were encountered: