New toggleable map layer showing E7 "Gelegenheid voor het laden en lossen"
traffic signs from NDW's open Verkeersborden API v4, overlaid on the BAG-gebied
map (shared across the Webapp and DMI Cockpit views).
- New /api/ndw/signs route: reverse-geocodes the area centre to a gemeentecode
(NDW filters by municipality), fetches E7 signs, bbox-filters, and returns lean
GeoJSON (road name, onderbord time-window, photo URL, bearing, NDW sign id).
- Signs are clipped client-side to the drawn polygon grown by a 6 m boundary
tolerance, so only signs in the selected area show.
- Markers use the official RVV E7 sign artwork; the toolbar legend uses a small
E7 sign glyph and shows the live sign count.
- Each sign popup deep-links into NDW's public "George" viewer
(wegkenmerken.ndw.nu/kaart) centered on the sign, plus the onderbord text and
sign photo.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Re-applies the previously stashed BAG feature on top of the API/MCP work:
PDOK BAG address/area lookup with map drawing (maplibre-gl + terra-draw),
counting verblijfsobjecten per gebruiksdoel and applying them as model
function counts/BVO via handleApplyBagPlan.
New API routes: /api/bag/query, /api/pdok/{lookup,reverse,suggest},
/api/nwb/streets. New BAG UI components, contexts, and helper libs
(bag-mapping, osm, wkt). Adds maplibre-gl, terra-draw, @turf/turf deps.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Cover page Contact section shows "Rebel (Laura Tavernier): info@Rebelgroup.com".
- Mirror the address in CLAUDE.md so dev docs stay in sync.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- /api/v1/* REST endpoints: health, model catalog (vehicles, functions,
distributions, profiles, defaults), and simulate. Accepts functionCounts
and/or functionBvoM2 (auto-converted via DEFAULT_BVO_PER_UNIT). Runs 2500
Monte Carlo iterations by default; response adds a labeled `summary`
(totalLengthM, totalAreaM2, per-vehicle + per-cluster) alongside the raw
SimulationResult.
- /api/mcp Streamable-HTTP MCP endpoint (hand-rolled JSON-RPC 2.0, no new
deps). Tools: get_model_info, list_vehicles/functions/distributions,
get_delivery_profile, run_simulation.
- /api/v1/openapi.json + /api-docs: OpenAPI 3.0.3 spec rendered with ReDoc,
themed to DMI palette + IBM Plex typography, DMI logo in the sidebar.
- /mcp-connect: DMI-styled page with copy-paste config blocks for Claude
Code, Claude Desktop, Cursor, Codex CLI, Windsurf, and VS Code. MCP URL
substituted from window.location.origin.
- Cover page gets an "Integraties" section with pill buttons linking to
API-referentie and MCP instellen.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Drops the redundant unit label and the approximate caption under the
BVO input cell — both had variable widths that shifted the input
column across rows. Toggle buttons now match the input cell size for
visual balance.
Also renames the "Spreadsheet" tab in the Webapp sidebar to "Cockpit"
to match the handleiding, where cockpit refers to the results
overview view.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a per-function and global toggle to enter inputs as gross floor
area (BVO m²) instead of unit counts. The model converts BVO to
eenheden using configurable m²/eenheid defaults (90 m² per woning,
1.500 m² per supermarkt, etc.) sourced from the handleiding.
The m²/eenheid values are editable under Parameters → Functies so
they can be tuned per project (e.g. 30 m² for studentenwoningen).
Handleiding updated to describe the new flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Rename all references from "Rekentool Ruimte voor Stadslogistiek" to "Ruimtemodel Stadslogistiek"
- Remove RebelExcelLayout and LayoutSwitcher (converge on Webapp + DMI views)
- Add touch feedback (onTouchStart/onTouchEnd) to dropdown buttons
- Increase tutorial and tab button sizes to 44px min-height on mobile (WCAG)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add step-by-step interactive tutorial overlay with spotlight highlighting,
keyboard navigation, and automatic tab switching across all 3 layouts
- Tutorial auto-runs simulation and expands cluster panels at relevant steps
- Completion step links to Gerard Doustraat casus in handleiding
- Add export report button for downloading simulation results
- Improve feedback button with GitHub issue creation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Users can submit bugs, suggestions, and questions directly from the app
via a dialog form. Submissions create issues in robbertj85/modelruimte
with appropriate labels. Button added to all three layouts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Show all cluster cards in a 2-column grid (no expand/collapse toggle),
each with compact vehicle table + service level curve chart.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace verbose service level pills and wide multi-column table with
a compact vehicle summary table (matching DMI Cockpit style) plus
the service level curve chart.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add "Totale Ruimte vs Service Level" chart to DMI Cockpit and Webapp
- Rename "Dashboard" tab to "Cockpit" in Webapp layout
- Remove "Actieve Clusters" KPI card from Webapp cockpit overview
- Fix X-axis label placement on bar charts in Resultaten tab
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Both layouts now show a LineChart in the expanded cluster details,
matching the existing Rebel Excel layout's service level curves.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create useIsMobile hook with mobile (<768px), tablet, and compact (<1024px) breakpoints
- Make all three layouts (DMI Cockpit, Webapp, Rebel Excel) fully mobile-responsive:
stacking grids, compact headers, scrollable nav tabs, reduced padding
- Redesign LayoutSwitcher as fixed bottom-center pill on mobile (no drag)
- Hide Rebel Excel sidebar on mobile, show bottom tab bar with horizontal scroll
- Add handleiding diagrams, table components, and expanded content
- Enhance parameter editor and simulation state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move simulation execution from synchronous setTimeout to a Web Worker.
This keeps the UI responsive during long-running simulations (e.g. 50,000
iterations) and prevents the need to click the run button multiple times.
Adds isRunning guard to prevent duplicate runs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Make hardcoded model parameters (vehicle lengths, delivery days, simulation
interval, delivery profiles) runtime-editable. Add shared ParameterEditor
components with theme support for Webapp, Rebel Excel, and DMI Cockpit layouts.
Support adding custom functions, vehicles, and distributions with reset-to-defaults.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Full Next.js webapp implementing the urban logistics space model with:
- Three switchable layouts: Rebel Excel, DMI Cockpit, and Webapp
- Monte Carlo simulation engine for logistics space estimation
- Draggable floating layout switcher
- Partner logos and branding assets
- EUPL-1.2 license (matching the original xlsm model)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>