Fantasy-Map-Generator/modules/io
barrulus 11977a42fc Add world coordinates to regiment exports for GIS integration
Regiment CSV Export Enhancements:
- Add X_World (m) and Y_World (m) columns using meters per pixel conversion
- Include both current and base position world coordinates
- Rename existing coordinate columns to X_Pixel/Y_Pixel for clarity
- Add getMetersPerPixel() helper function supporting km, m, and miles units

GeoJSON Regiment Export:
- Create new saveGeoJsonRegiments() function in export.js
- Export regiments as Point features with Fantasy Map Cartesian coordinates
- Include all military unit data, state information, and position metadata
- Add regiments button to GeoJSON export UI section

This enables direct import of regiment data into QGIS using the custom
Fantasy Map Cartesian CRS with proper world coordinate positioning.
2025-08-17 19:30:25 +01:00
..
cloud.js chore: parse DEBUG setting as an object 2024-10-22 14:45:25 +02:00
export.js Add world coordinates to regiment exports for GIS integration 2025-08-17 19:30:25 +01:00
load.js fix: remove old feature masks, v1.108.0 2025-02-15 13:06:14 +01:00
save.js feat: add growthRate to safe file 2025-02-13 02:54:37 +01:00