MapTiler: Map Publishing a la Google Maps

Preview:

DESCRIPTION

Presentation from the FOSS4G 2009 in Sydney (http://2009.foss4g.org/).Abstract:http://2009.foss4g.org/presentations/#presentation_17MapTiler: map publishing a la Google MapsMapTiler is a new easy to use open-source desktop application for online map publishing. It runs on Windows, Mac and Linux and is fully scriptable thanks to a command-line interface of GDAL2Tiles utility.MapTiler can be used to convert your map into a tile overlay of online maps like Google Maps, Yahoo Maps, Microsoft VirtualEarth or OpenStreetMap or a 3D overlay for Google Earth.The only thing you have to do for publishing the maps is to upload the automatically generated directory with tiles onto your webserver.MapTiler also generates simple JavaScript viewers based on OpenLayers and on Google Maps API.Supported formats of input raster files for conversion are TIFF/GeoTIFF, MrSID, ECW, JPEG2000, Erdas HFA, NOAA BSB, JPEG and more.Typical input raster data are aerial images, scanned paper maps, signal coverage maps, maps rendered with custom design from GIS or digital elevation model data.The presentation contains practical use cases and shows examples of the maps rendered with MapTiler/GDAL2Tiles. Experiences from parallelized rendering on a cluster (Amazon EC2) and from tile hosting at CDNs like Amazon S3/CloudFront, or Google App Engine are discussed as well.MapTiler is a graphical interface for GDAL2Tiles utility, which is part of GDAL (OSGeo project).More info about MapTiler: http://www.maptiler.org/Presenter: Klokan Petr PridalBiography:Independent programmer and consultant specialized in web technology, map publishing and open-source software development (http://www.maptiler.com/). Technical manager of the OldMapsOnline.org project (Moravian Library in Brno) and PhD candidate (Geodesy & Cartography) at Czech Technical University in Prague. Membership in the International Cartographic Association (ICA) Working Group for Cartographic Heritage. Active contributer in Open Source Geospatial Foundation (OSGEO). Google Summer of Code participant in 2007 & 2008.

Citation preview

FOSS4G 2009, Free and Open Source Software for GeospatialSydney, Australia 20-23 October 2009

Mgr. Petr Přidal - Klokanklokan@klokan.cz

MAPTILER:MAP PUBLISHING A LA GOOGLE MAPS

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

• MapTiler is an easy to use graphical application for online map publishing, interface for GDAL2Tiles and GDAL functionality

• It supports popular raster formats (GeoTIFF, JPEG2000, MrSID, ECW, Erdas HFA, BSB, ...) exported from GIS systems (Grass, ... ESRI ArcGIS, MapInfo, ...)

• It uses existing georeference (World Files, WKT, EPSG,...) and is able to transform (warp) map projections

• Generates a web viewer (OpenLayers, Google Maps API) and KML files (Google Earth, indexing) for the raster data

• Standards: OSGEO Tile Map Service Specification - TMS (work in progress on the OGC WMTS)

MAPTILER - WHAT IS IT?

Thursday, October 22, 2009

STANDALONE MAP DEMO

Thursday, October 22, 2009

GOOGLE MAPS OVERLAY DEMO

Thursday, October 22, 2009

OPENLAYERS DEMO

Thursday, October 22, 2009

GOOGLE EARTH DEMO

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

MAP TILER GENERATES TILES:

Thursday, October 22, 2009

NECESSARY TRANSFORMATIONS AND WARPING

GEODETIC COORDINATESLATITUDE LONGITUDEWGS 84 (EPSG:4326)

SPHERICAL MERCATORMETERS

EPSG:3785 / EPSG:900913

PYRAMID COORDINATESXYZ PIXELS / ZOOM

WEB VIEWERS

TILE INDEXXYZ TILE / ZOOM

TILE MAP SERVICE

Thursday, October 22, 2009

NECESSARY TRANSFORMATIONS AND WARPING

GEODETIC COORDINATESLATITUDE LONGITUDEWGS 84 (EPSG:4326)

SPHERICAL MERCATORMETERS

EPSG:3785 / EPSG:900913

PYRAMID COORDINATESXYZ PIXELS / ZOOM

WEB VIEWERS

TILE INDEXXYZ TILE / ZOOM

TILE MAP SERVICE

Thursday, October 22, 2009

NECESSARY TRANSFORMATIONS AND WARPING

GEODETIC COORDINATESLATITUDE LONGITUDEWGS 84 (EPSG:4326)

SPHERICAL MERCATORMETERS

EPSG:3785 / EPSG:900913

PYRAMID COORDINATESXYZ PIXELS / ZOOM

WEB VIEWERS

TILE INDEXXYZ TILE / ZOOM

TILE MAP SERVICE

Thursday, October 22, 2009

NECESSARY TRANSFORMATIONS AND WARPING

GEODETIC COORDINATESLATITUDE LONGITUDEWGS 84 (EPSG:4326)

SPHERICAL MERCATORMETERS

EPSG:3785 / EPSG:900913

PYRAMID COORDINATESXYZ PIXELS / ZOOM

WEB VIEWERS

TILE INDEXXYZ TILE / ZOOM

TILE MAP SERVICE

Thursday, October 22, 2009

SPHERICAL MERCATOR:TILE PROJECTION AND COORDINATES

NOT ONLY IN GOOGLE MAPS!

• Popular on the web: Google Maps, Microsoft Bing Maps, Yahoo Maps, OpenStreetMap, ...

• Lat/Long WGS84 (GPS devices) datum coordinates always displayed to users - KML

• Map rasters are projected by a global Mercator projection: “Spherical Mercator”. EPSG:900913 / EPSG:3857 (meters)

• Conformal, cylindrical. Cropped to square (maximal latitude ~ 85.05 degrees), WGS84 ellipsoid is sphere!

Thursday, October 22, 2009

OPEN-SOURCE ALTERNATIVES: PREGENERATING X CACHING TILES

• Generating from raster input:

• GDAL2Tiles & MapTiler GUI

• MSR MapCruncher

• Generating from features (vectors)

• Mapnik

• GMapCreator,

• ...

• Caching tiles from WMS servers (MapServer, GeoServer):

• TileCache.org (Python)

• GeoWebCache.org (Java Servlet)

Thursday, October 22, 2009

EXTREMELY FAST ONLINE MAPSFOR THOUSANDS OF PEOPLE

• Easy hosting: only static files / or raster blobs in a database

• Extremely fast delivery, highest-quality output possible (you have more time for rendering), SLA for up to 99.99% availability

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

PARALLELIZED RENDERING,CLUSTERS: PP & MAPREDUCE

• Parallelized rendering on Multi-Core processors or even on computer clusters (Amazon EC2 supported)

• Speed-up the rendering on modern computers via Parallel Python

• Rendering on a computer cluster (Amazon EC2) - price: 0.1 USD / hour / core

• Publishing of tiles on a world-wide CDNs (Amazon S3/CloudFront, Google App Engine, Azure, SimpleCDN) - fast multi-threaded upload for tiles

• Merging of huge raster datasets into a seamless map a la Google Maps on a computer cluster:

• Fast parallelized rendering and merging of large data collections

• Google’s MapReduce approach (via Nokia labs Disco project)for

clien

ts

Thursday, October 22, 2009

Who are users of MapTiler / GDAL2Tiles?

NOAA (Nautical Oceanic and Atmospheric Administration),BRGM (Bureau des Recherches Geologiques et Minières)

US Forest ServiceEuropean Commission: Joint Research Center

National Library of ScotlandMobile operators: Three, Orange, ...

Companies from: USA, UK, France, Netherlands, Australia, New Zealand, Italy, Spain, Chile, ...

MapTiler development was supported by:

Google Inc. : Summer of Code 2007, 2008David Rumsey (DavidRumsey.com)

BRGM (Bureau des Recherches Geologiques et Minières)Moravian Library Brno, Czech Republic

NIC.CZ: VIP competitionCzech Technical University in Prague (prof. Veverka)

PROJECT OLDMAPSONLINE.ORGMoravian Library Brno, Czech Republic

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Thursday, October 22, 2009

Runs under Windows, Linux and Mac OS X + GDAL2Tiles

You can try it on the FOSS4G LiveDVD!

Community: MapTiler User Group

maptiler@googlegrups.com

Commercial support, integration, customization

http://www.maptiler.com/

Release of the version 1.0 planned for the end of this year, software is now in beta version

WWW . MAPTILER . ORG

Thursday, October 22, 2009

Recommended