4 ms·
Thanks for the explanation on the vector maps! Do you also happen to know how to get started on raster maps, e.g. where to get satellite imagery, prepare and ho
by spython 7y ago
Thanks for the explanation on the vector maps! Do you also happen to know how to get started on raster maps, e.g. where to get satellite imagery, prepare and host the tiles?
I am currently interested in it because I want to feed tiles to a GAN to automatically generate maps of an imaginary earth..
- jofer 7y agoTiling and hosting is the straightforward part, FWIW. For the reprojection, tile cutting, and overview building in gdal, see https://gdal.org/programs/gdal2tiles.html https://gdal.org/programs/gdal2tiles.html You can also implement it yourself fairly easily if gdal2tiles.py doesn't have the features you need. The files and directory structure it outputs you can slap into into a static webserver and visualize directly with something like leaflet. As far as where to get data, that's a whole topic unto itself, but you can start with things like https://earthexplorer.usgs.gov/ https://earthexplorer.usgs.gov/ for Landsat or https://datagateway.nrcs.usda.gov/ https://datagateway.nrcs.usda.gov/ for NAIP or https://scihub.copernicus.eu/ https://scihub.copernicus.eu/ for Sentinel.