Skip to content

Editable, consistent taxonomy #7

@JackGilmore

Description

@JackGilmore

The current taxonomy for matching waste types to OSM tags and vice versa exists within two places in the application:

  • The JavaScript tagmap.js for displaying waste types on site pop ups in a human readable format e.g. recycling:glass is translated to "Glass"
  • The C# TagMappings.cs to match a user entered waste type to an OSM tag to allow the JavaScript search function to find HWRCs with a matching waste type
    • These entries are also used to populate the autofill search dropdown that the user has to select a waste type to query

These should be consolidated into a single source that can be served up to be accessed by both the frontend and backend. The source should come with an admin/contributor accessible CRUD interface for managing new waste types, as well as a suggestion form for users to suggest new taxonomy entries.

Additional work could also be done in future to provide the taxonomy dataset as an open data download e.g. as JSON or CSV

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions