boku-ilen / geodot-plugin

Godot plugin for loading geospatial data
GNU General Public License v3.0
109 stars 19 forks source link

Expose `RasterTileExtractor::reproject_to_webmercator` to Godot #18

Open kb173 opened 4 years ago

kb173 commented 4 years ago

The RasterTileExtractor offers a function to reproject any raster data into webmercator and save it on the disk, but it is not yet exposed to Godot. Now that RasterTileExtractor::clip does no on-the-fly reprojection for performance reasons, it would make sense to have access to reproject_to_webmercator. Thus, it can be used for an on-demand preprocessing step to get everything into the same projection.

chrisgraf commented 4 years ago

the target projection should be flexible as we currently plan to use MGI Austria Lambert, but this could change regarding available geodata, region, purpose

kb173 commented 3 years ago

We should consider adding a general reproject functionality. However, it needs to be well documented that it is not suitable for real-time use, as reprojecting can take minutes or perhaps even hours!