VAPOR3 3.9.4
GeoTileMercator Class Reference

#include <GeoTileMercator.h>

Detailed Description

This class derives the GetTile base class to provide a tiled world mapping system using the Web "Pseudo-Mercator" projection.

The following GDAL commands wered used to transform the NASA blue marble image into a suitable Mercator

gdal_translate -of GTiff -a_srs EPSG:4326 -gcp 0 0 -180 90 -gcp 4096 0 180 90 -gcp 4096 2048 180 -90 BBM.4096.png bluemarble1.tif

gdalwarp -t_srs EPSG:4326 bluemarble1 bluemarble2.tif

gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 -r bilinear -ts 4096 4096 -te -20037508.34 -20037508.34 20037508.34 20037508.34 bluemarble1.tif bluemarble3.tif

See also
https://www.mapbox.com/tilemill/docs/guides/reprojecting-geotiff/
Author
John Clyne
Version
$Revision$
Date
$Date$

The documentation for this class was generated from the following file: