Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.61k stars 662 forks source link

Routes geojson alignment and scale error #1114

Closed jessibreen closed 2 months ago

jessibreen commented 2 months ago

Describe the bug When exporting the map to geojson files for use in GIS the Routes geojson doesn't line up with the other geojson exports. It's also at a much larger scale. It worked correctly in previous versions.

Steps to reproduce

  1. Click on Export
  2. Export the layers to geojson
  3. Open up geojson layers in QGIS

Expected behavior The geojson files should all line up one on top of the other and be similar in size.

.map file

Vieia 2024-08-26-21-17.map.zip

Screenshots

Screenshot 2024-08-26 at 21 36 09

The network of lines in the image is the Routes geojson. The green dot to the bottom left is the other 3 geojson files.

System

Azgaar commented 2 months ago

Fixed. Please also check rivers geoJSON generation as was updated as well. More data is added and river course is corrected based on actual map data, not approximation.

jessibreen commented 2 months ago

The routes and the rivers geojson output looks great. The cells geojson now has a nesting level error. It's nested 2 deep, but should be 3 deep for polygons. Should I file a new issue?

Azgaar commented 2 months ago

No need of new issue, I can fix it here

Azgaar commented 2 months ago

Please check now

jessibreen commented 2 months ago

All 4 geojson exports are working perfectly now. Thanks!