Fantasy-Map-Generator/modules
barrulus 82eb441845 Implement tiered route system with enhanced CSV export
This commit introduces a comprehensive tiered route generation system that replaces the basic route categories with specific route types based on medieval transportation networks:

Route System Changes:
- Major Sea Routes (majorSea): Long-distance maritime trade routes connecting capitals and major ports across water bodies, simulating Hanseatic League-style trade networks
- Regional Sea Routes (regional): Shorter routes within specific water bodies for high-traffic local maritime trade
- Royal Roads (royal): Capital-to-capital connections for diplomatic and military movement using minimum spanning tree algorithm
- Market Roads (market): Regional trade networks connecting market towns with 15-30km spacing based on medieval market day travel distances
- Local Roads (local): Village-to-market connections linking settlements to their nearest commercial centers
- Footpaths (footpath): Hamlet paths with 3-8km range for local community connections

Implementation Details:
- Removed fallback calls to legacy route generation functions to ensure clean tiered system operation
- Routes now include both 'group' (general category) and 'type' (specific tier) properties for detailed classification
- Enhanced route generation uses settlement hierarchy and geographic constraints for realistic medieval transportation patterns
- Route cost modifiers applied based on route type importance (royal and majorSea routes have priority routing)

CSV Export Enhancements:
- Added 'Type' column to routes CSV export to distinguish between route tiers
- Updated routes overview UI to display both group and type information
- Enhanced header layout to accommodate new type column
- Routes can now be analyzed by both general category and specific function

Technical Changes:
- Fixed route ID assignment conflicts between immediate and background processing phases
- Improved route data structure consistency across generation phases
- Updated routes overview display to show detailed route type information
- Enhanced CSV export function to include route type data from pack.routes
2025-08-14 23:47:14 +01:00
..
dynamic Fix rural population calculation to only count small burgs 2025-08-13 23:35:26 +01:00
io Add fantasy world coordinate system to GeoJSON exports 2025-08-12 12:03:31 +01:00
renderers Allow data URI scheme for custom images (#1196) 2025-03-08 14:51:48 +01:00
ui Implement tiered route system with enhanced CSV export 2025-08-14 23:47:14 +01:00
biomes.js Urquhart routes (#1072) 2024-08-15 15:46:55 +02:00
burgs-and-states.js Fix rural population calculation to only count small burgs 2025-08-13 23:35:26 +01:00
coa-generator.js feat: add new emblem charges 2023-10-30 22:27:25 +04:00
coa-renderer.js Fix: rework texture data format (#1017) 2023-11-19 14:43:56 +04:00
cultures-generator.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
features.js fix: features - define first cell 2024-09-22 13:04:22 +02:00
fonts.js feat: new style - DarkSeas 2024-08-17 14:16:01 +02:00
heightmap-generator.js feat: heightmap brushes - linear edit option (1.88.00) 2022-10-31 00:24:54 +03:00
lakes.js Refactor layers rendering (#1120) 2024-09-20 12:20:27 +02:00
markers-generator.js feat: make lined icons work for all elements, v1.107.0 2025-02-08 14:05:28 +01:00
military-generator.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
names-generator.js fix: allow to load smaller namesbase without issues on regeneration 2024-10-09 01:08:47 +02:00
ocean-layers.js feat: optimizeSpeed rendering (1.87.15) 2022-10-13 00:52:49 +03:00
performance-optimizer.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
provinces-generator.js Fix population aggregation system to eliminate double-counting 2025-08-13 18:54:32 +01:00
religions-generator.js Removed priority queue in favor of FlatQueue (#1157) 2024-10-26 14:26:59 +02:00
resample.js fix: sumap - clip routes by bbox 2024-12-14 15:12:38 +01:00
river-generator.js fix: 1.106.7 - rivers starting width calc 2024-12-17 17:11:13 +01:00
routes-generator.js Implement tiered route system with enhanced CSV export 2025-08-14 23:47:14 +01:00
submap.js chore: parse DEBUG setting as an object 2024-10-22 14:45:25 +02:00
voronoi.js Fix: flux calculation from area-propotional value instead of normal value. (#654) 2021-08-15 12:43:20 +03:00
zones-generator.js fix: add p to priority queue 2024-10-26 14:29:52 +02:00