Uses navigator.geolocation (browser/Wi-Fi positioning) after the user
grants permission, then reverse-geocodes the coordinates via PDOK to
resolve the municipality so the existing dataset-switch flow works.
- New reverse mode on /api/geocode (lat+lon → address + gemeente)
- Distinct error messages for PERMISSION_DENIED, POSITION_UNAVAILABLE,
TIMEOUT, and unsupported browsers
- Skips dataset reload when the resolved municipality is already loaded
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Three modes under "Openingstijden": Alle, Nu open, Op tijdstip (day +
HH:MM). A checkbox controls whether points with missing/unparseable
hours are kept or hidden; the header shows how many were excluded so
disappearing results are explainable.
Filtering runs before the 500m/10-point cutoff so further-away open
points still surface when nearby ones are closed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Carrier hours are now normalised in the Python pipeline (DHL, DPD, GLS,
PostNL, ViaTim, InPost — covering 75% of all points), written into the
per-municipality GeoJSON, and rendered as a weekly table (or single line
where the source only exposes a free-text window) in both the simple and
detailed marker popups. Regenerated data for all 342 municipalities.
Also: drop the legacy Folium HTML viewer from main.py (Next.js webapp is
the only supported frontend), and capture GLS openingHours/vacations in
the upstream cache.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Show spinner before computation by deferring filter change with setTimeout
- Reduce buffer polygon steps from 8 to 4 for faster computation
- Remove buffer fill spinner and tooltip (no longer needed)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add inline grey loading spinner on "Samengevoegde buffers" toggle
- Change all loading spinners from blue to grey (text-gray-500)
- Show map loading overlay until tiles finish loading (not just data fetch)
- Fix GeoJSON buffer fill toggle by including showBufferFill in keys
- Optimize filteredFeatures useMemo deps to avoid unnecessary recomputation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace static placeholder text with spinner in Map component for first load
- Only show map overlay spinner when data already exists (switching municipalities)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Set bufferMerged to true by default across all filter states
- Update tooltip to Dutch hint about disabling if slow
- Add spinning loader overlay on the map while municipality data loads
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Grey out buffer toggles for national view where buffers are skipped
for performance. Passes totalPoints to FilterPanel for the threshold check.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Buffers now respond to carrier/filter changes instead of showing pre-computed
unions for all carriers. Adds toggle for merged (Turf.js union) vs individual
circles, with pairwise merge for performance. Includes info tooltip.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enhance MunicipalityHistoryModal with pie chart, growth per carrier,
and weekly changes bar chart (matching TotalOverviewModal). Add a small
bar-chart icon in the data matrix table next to each municipality name.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Google was showing scraped filter labels instead of a description.
Added a descriptive meta description mentioning all 10 providers
and Open Graph tags for social sharing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
More room for pie charts, growth tables, and time series graphs
now that there are 10 providers.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- batch_generate.py: Replace hardcoded carrier list (which included
FedEx and missed new providers) with dynamic collection from results
- data-export layout: Widen max-width from 7xl (1280px) to 1600px
to accommodate 10 provider columns in the matrix table
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- ViaTim: 393 NL service points via public REST API (no auth)
- InPost: 934 operating PUDO/locker locations via EasyPack API (no auth)
- Budbee: 281 parcel lockers from DPD cache + OpenStreetMap
Backend:
- Add fetch scripts: viatim_fetch_all.py, inpost_fetch_all.py, budbee_fetch_all.py
- Add get_data_viatim(), get_data_inpost(), get_data_budbee() to api_client.py
- Wire into get_data_pakketpunten() pipeline
Frontend:
- Add provider colors, logos, and filter entries across all components
- Real brand logos: ViaTim (magenta VA monogram), InPost (yellow burst),
Budbee (green wordmark)
- Update type definitions, AboutModal data sources
CI/CD:
- Add fetch steps for ViaTim, InPost, Budbee to weekly update workflow
- Include new cache files in git commit step
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
municipalities_included already excludes the Nederland overview entry,
so subtracting 1 was incorrect.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Initial state was 'zwolle' which triggered the save effect immediately,
overwriting the URL param before municipalities.json loaded. Now starts
empty and guards the save effect until municipalities are loaded.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Map ?gemeente=alle-gemeenten to nederland slug in main page and embed
- URL bar shows alle-gemeenten instead of nederland
- Share modal now works for Nederland view with the alias
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add ?gemeente= URL parameter support for shareable direct links
- Add /embed route with minimal map-only view for iframe embedding
- Add Share modal (between API and Over) with direct link, embed code, and live preview
- Update CSP headers: allow iframe embedding on /embed route only, keep DENY on all other routes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Rewrite README to reflect all 7 carriers, 343 municipalities, webapp features, automation, and statistical analysis
- Add CBS data fetching, statistical analysis, PDF report generation, and validation scripts
- Add provincial boundaries generation script
- Add webapp Playwright test
- Add postal code reference data and UPS integration research
- Remove obsolete amazon_fetch_all.py
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- New NearestPointsFinder component with address search and distance calculation
- Toggle button in header to filter parcel points within 500m of search location
- Grays out parcel points beyond 500m when filter is active
- Blue marker shows search location on map
- Integration with main PDOK search: search → click icon → shows nearest points
- Toggle off/on behavior: clicking icon again re-applies filter
- New search or municipality change cancels the filter
- Distance utilities using Haversine formula for accurate calculations
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>