Top Banner
FOSS4G 2009, Free and Open Source Software for Geospatial Sydney, Australia 20-23 October 2009 Mgr. Petr Přidal - Klokan [email protected] MAPTILER: MAP PUBLISHING A LA GOOGLE MAPS Thursday, October 22, 2009
66

MapTiler: Map Publishing a la Google Maps

May 06, 2015

Download

Technology

Petr Pridal

Presentation from the FOSS4G 2009 in Sydney (http://2009.foss4g.org/).

Abstract:
http://2009.foss4g.org/presentations/#presentation_17

MapTiler: map publishing a la Google Maps

MapTiler 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 Pridal

Biography:

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.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MapTiler: Map Publishing a la Google Maps

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

Mgr. Petr Přidal - [email protected]

MAPTILER:MAP PUBLISHING A LA GOOGLE MAPS

Thursday, October 22, 2009

Page 2: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 3: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 4: MapTiler: Map Publishing a la Google Maps

• 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

Page 5: MapTiler: Map Publishing a la Google Maps

STANDALONE MAP DEMO

Thursday, October 22, 2009

Page 6: MapTiler: Map Publishing a la Google Maps

GOOGLE MAPS OVERLAY DEMO

Thursday, October 22, 2009

Page 7: MapTiler: Map Publishing a la Google Maps

OPENLAYERS DEMO

Thursday, October 22, 2009

Page 8: MapTiler: Map Publishing a la Google Maps

GOOGLE EARTH DEMO

Thursday, October 22, 2009

Page 9: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 10: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 11: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 12: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 13: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 14: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 15: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 16: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 17: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 18: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 19: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 20: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 21: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 22: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 23: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 24: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 25: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 26: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 27: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 28: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 29: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 30: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 31: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 32: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 33: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 34: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 35: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 36: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 37: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 38: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 39: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 40: MapTiler: Map Publishing a la Google Maps

MAP TILER GENERATES TILES:

Thursday, October 22, 2009

Page 41: MapTiler: Map Publishing a la Google Maps

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

Page 42: MapTiler: Map Publishing a la Google Maps

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

Page 43: MapTiler: Map Publishing a la Google Maps

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

Page 44: MapTiler: Map Publishing a la Google Maps

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

Page 45: MapTiler: Map Publishing a la Google Maps

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

Page 46: MapTiler: Map Publishing a la Google Maps

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

Page 47: MapTiler: Map Publishing a la Google Maps

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

Page 48: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 49: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 50: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 51: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 52: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 53: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 54: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 55: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 56: MapTiler: Map Publishing a la Google Maps

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

Page 57: MapTiler: Map Publishing a la Google Maps

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

Page 58: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 59: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 60: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 61: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 62: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 63: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 64: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 65: MapTiler: Map Publishing a la Google Maps

Thursday, October 22, 2009

Page 66: MapTiler: Map Publishing a la Google Maps

Runs under Windows, Linux and Mac OS X + GDAL2Tiles

You can try it on the FOSS4G LiveDVD!

Community: MapTiler User Group

[email protected]

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