Skip to content

Export measured rivers and coasts in default settlement previews - #84

Merged
barrulus merged 2 commits into
mainfrom
fix/default-measured-water-previews
Oct 17, 2026
Merged

barrulus merged 2 commits into
mainfrom
fix/default-measured-water-previews

Conversation

@barrulus

Copy link
Copy Markdown
Owner

Erdemeli’s preview omitted the Enova River because normal FMG builds still used the legacy ocean-bearing-only exporter. Enable measured coast and river export by default, retaining the endpoint override for local deployments, and scale the initial survey with city population so large settlements have enough surrounding geography.

The supplied Vinhia save also exercises pointed and crossing saved shorelines. Validate those using local Bézier control hulls and bounded intersection error, then compact scanline fill pieces and arithmetic coordinate tails without closing channels or filling islands. Unsafe geometry and oversized URLs still fail visibly instead of falling back to invented water.

Validation: 128 focused exporter, shoreline and packing tests; both Vinhia saves exported with the default production endpoint (updated preview: 7,796 bytes of the 8,192-byte budget); generated Erdemeli with both ocean and Enova River and all 173,976 residents assigned; desktop and portrait renderer checks including zoom-out and panning. Full TypeScript checking retains the existing 11 Quill declaration errors.

Existing bearing-only links must be regenerated from the source map. Both the original Vinhia save and its subsequently smoothed coastline were checked. The updated coastline exports as a connected ocean polygon reaching the survey boundary. River width remains explicitly identified as an estimate from FMG’s physical width model.

@netlify

netlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for bazgaars-fmg ready!

Name Link
🔨 Latest commit 8d6daa2
🔍 Latest deploy log https://app.netlify.com/projects/bazgaars-fmg/deploys/6ad3fbd7f02590fa05d17776
😎 Deploy Preview https://deploy-preview-84--bazgaars-fmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@barrulus
barrulus merged commit 9011371 into main Oct 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant