azgaar-foundry icon indicating copy to clipboard operation
azgaar-foundry copied to clipboard

Feature request: Import GeoJSON instead of raster image

Open soryy708 opened this issue 3 years ago • 4 comments
trafficstars

Currently this asks for a raster image (e.g. PNG) of the Azgaar map for displaying in the Scene. This has limitations, especially if the map is very big, so the raster image must be very big, or else zooming in will be pixelated.

Azgaar allows exporting vector data in GeoJSON format.

It's trivial to render GeoJSON in Web using a library like Leaflet

This can allow arbitrary zoom levels without losing resolution, and also smarter showing/hiding of markers based on zoom level.

soryy708 avatar Sep 20 '22 20:09 soryy708

This would definitely be a far better method, however, at this time I do not know too much about doing such. I'll keep this idea open and poke at it when I have time. PRs are welcome though!

Ethck avatar Sep 20 '22 22:09 Ethck

This! Cant you call from other devs if they can contribute? Azgaars with Foundry working properly will be a blessing for the whole community after all

SpinazFou avatar Jan 23 '23 10:01 SpinazFou

Currently this asks for a raster image (e.g. PNG) of the Azgaar map for displaying in the Scene. This has limitations, especially if the map is very big, so the raster image must be very big, or else zooming in will be pixelated.

Azgaar allows exporting vector data in GeoJSON format.

It's trivial to render GeoJSON in Web using a library like Leaflet

This can allow arbitrary zoom levels without losing resolution, and also smarter showing/hiding of markers based on zoom level.

Tell him exactly how to do it? Or support him to do it together?

SpinazFou avatar Jan 23 '23 10:01 SpinazFou

I don't have time to contribute a PR to this, but I can definitely consult pro-bono! Please send me an email, where I'll send you my Discord handle.

soryy708 avatar Jan 23 '23 11:01 soryy708