Add taginfo project file (deflock.org/taginfo.json)#122
Open
jeremyknows wants to merge 1 commit into
Open
Conversation
Adds webapp/public/taginfo.json (served at deflock.org/taginfo.json) listing the OSM tags DeFlock reads and writes for ALPR nodes, so the project can be added to the Taginfo projects list. Addresses FoggedLens#88.
BowlesCR
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a taginfo project file
at
webapp/public/taginfo.json, served athttps://deflock.org/taginfo.json.It enumerates the OpenStreetMap tags DeFlock reads and writes for ALPR nodes so
the project appears in Taginfo and
the OSM community can see which tags the app relies on.
Addresses #88.
Diff scope
webapp/public/taginfo.json(new, 17 tags) — static file, served verbatim from the site root.The tags are taken from the project's own source, not invented:
webapp/src/constants.ts(lprBaseTags):man_made=surveillance,surveillance:type=ALPR,surveillance=public,camera:type=fixed,surveillance:zone=traffic, pluscamera:mount,electricity,note.serverless/alpr_cache/src/alpr_cache.py(WHITELISTED_TAGS):operator,manufacturer,direction,brand,camera:direction,surveillance:brand,surveillance:operator,surveillance:manufacturer,wikimedia_commons.All entries use
object_types: ["node"], matching how ALPRs are mapped (theOverpass query in
alpr_cache.pyselectsnode["man_made"="surveillance"]["surveillance:type"="ALPR"]).Verification
Schema-validated against the official
taginfo-project-schema.json
(ajv + ajv-formats, draft-07):
Build confirms the file ships as-is to the site root:
What was NOT tested / remaining step
separate one-line PR to
taginfo/taginfo-projectspointing at
https://deflock.org/taginfo.json, which can only be done once thisURL is live. Happy to open that follow-up once you've deployed, or you can — your call.
static asset in
webapp/public/, which Vite copies verbatim to the site root(confirmed in the build output above).
Test plan
https://deflock.org/taginfo.jsonand confirm it serves.https://taginfo.openstreetmap.org/after registration.