Marin aerial

From Wildsong
Revision as of 14:59, 12 April 2017 by Brian Wilson (talk | contribs) (Created page with "I have the orthophotos in TIFF format downloaded and I want to use them in a web map. I need to convert them into raster tiles. I already wrote about this in Mapping Vietna...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

I have the orthophotos in TIFF format downloaded and I want to use them in a web map.

I need to convert them into raster tiles. I already wrote about this in Mapping Vietnam, here is how I did it for the Marin data.

I have every TIFF image in a folder. I can make a mosaic in one step with

gdalbuild marin.vrt *.tif

This creates a file that lists the members of the mosaic, it takes a couple seconds. Now I can process all the TIFF files at once with the remaining commands.

Reproject

Build tiles

gdal2tiles.py -t Marin\ Ortho 2014 -g ABQIAAAAGRHc9gAG3W9UhaqQD0pvExSVvaIHsSWhBu9dnlvZR7nHQNV82hT1HFUt0HcccsqJ2Z2e8femz7wrsw -u http://wildsong.biz/map/ 1501ANC4811_4326.tif marin