From 5b9810b9ded624aa6bf00491173bf9c569f9ca0e Mon Sep 17 00:00:00 2001 From: stopflock Date: Sat, 15 Nov 2025 20:37:05 -0600 Subject: [PATCH] Add Rekor, Axon profiles --- README.md | 1 - assets/changelog.json | 3 +++ lib/models/node_profile.dart | 33 +++++++++++++++++++++++++++++++++ pubspec.yaml | 2 +- 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70c3499..f25c029 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,6 @@ cp lib/keys.dart.example lib/keys.dart - Swap in alprwatch.org/directions avoidance routing API - Clean cache when nodes have disappeared / been deleted by others / queue item was deleted - Improve offline area node refresh live display -- Add Rekor profile ### Future Features & Wishlist - Update offline area nodes while browsing? diff --git a/assets/changelog.json b/assets/changelog.json index c15498a..1183816 100644 --- a/assets/changelog.json +++ b/assets/changelog.json @@ -1,4 +1,7 @@ { + "1.3.3": { + "content": "• NEW: Added builtin surveillance device profiles for Rekor and Axis Communications ALPR cameras" + }, "1.3.2": { "content": "• HOTFIX: Temporarily disabled node editing to prevent OSM database issues while a bug is resolved\n• UX: Fixed Android navigation bar covering settings page content" }, diff --git a/lib/models/node_profile.dart b/lib/models/node_profile.dart index c00e197..eff789a 100644 --- a/lib/models/node_profile.dart +++ b/lib/models/node_profile.dart @@ -160,6 +160,39 @@ class NodeProfile { submittable: true, editable: true, ), + NodeProfile( + id: 'builtin-rekor', + name: 'Rekor', + tags: const { + 'man_made': 'surveillance', + 'surveillance': 'public', + 'surveillance:type': 'ALPR', + 'surveillance:zone': 'traffic', + 'camera:type': 'fixed', + 'manufacturer': 'Rekor', + }, + builtin: true, + requiresDirection: true, + submittable: true, + editable: true, + ), + NodeProfile( + id: 'builtin-axis', + name: 'Axis Communications', + tags: const { + 'man_made': 'surveillance', + 'surveillance': 'public', + 'surveillance:type': 'ALPR', + 'surveillance:zone': 'traffic', + 'camera:type': 'fixed', + 'manufacturer': 'Axis Communications', + 'manufacturer:wikidata': 'Q2347731', + }, + builtin: true, + requiresDirection: true, + submittable: true, + editable: true, + ), ]; diff --git a/pubspec.yaml b/pubspec.yaml index 7896ad9..7884b8e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: deflockapp description: Map public surveillance infrastructure with OpenStreetMap publish_to: "none" -version: 1.3.2+10 # The thing after the + is the version code, incremented with each release +version: 1.3.3+11 # The thing after the + is the version code, incremented with each release environment: sdk: ">=3.5.0 <4.0.0" # oauth2_client 4.x needs Dart 3.5+