Skip to content

Add tooling to validate changes to ratings resulting from script updates #4

Description

@tallcoleman

Idea: ensure that changes to the analysis script(s) can be better understood by providing a before and after output based on an area that the user is likely to have strong local knowledge of.

A potential way to do it:

  • Write a function to take two output files (one with results prior to the script change and one run after) and convert them into the JSON OSM augmented diff format (example here under "output")
  • Display the diff using maplibre-adiff-viewer so that the user can see which specific ratings have changed

There is also the osmcha-cli tool which currently appears to take XML adiff and convert it to JSON internally, but could probably handle straight JSON with a small change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions