MAPTILER:
                        MAP PUBLISHING A LA GOOGLE MAPS
                                    Mgr. Petr Přidal - Klokan
                                            klokan@klokan.cz
                               FOSS4G 2009, Free and Open Source Software for Geospatial
                                         Sydney, Australia 20-23 October 2009

Thursday, October 22, 2009
Thursday, October 22, 2009
Thursday, October 22, 2009
MAPTILER - WHAT IS IT?

                     • 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)

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 COORDINATES    SPHERICAL MERCATOR       PYRAMID COORDINATES       TILE INDEX
           LATITUDE LONGITUDE           METERS               XYZ PIXELS / ZOOM    XYZ TILE / ZOOM
            WGS 84 (EPSG:4326)   EPSG:3785 / EPSG:900913       WEB VIEWERS       TILE MAP SERVICE
Thursday, October 22, 2009
NECESSARY TRANSFORMATIONS AND WARPING




          GEODETIC COORDINATES    SPHERICAL MERCATOR       PYRAMID COORDINATES       TILE INDEX
           LATITUDE LONGITUDE           METERS               XYZ PIXELS / ZOOM    XYZ TILE / ZOOM
            WGS 84 (EPSG:4326)   EPSG:3785 / EPSG:900913       WEB VIEWERS       TILE MAP SERVICE
Thursday, October 22, 2009
NECESSARY TRANSFORMATIONS AND WARPING




          GEODETIC COORDINATES    SPHERICAL MERCATOR       PYRAMID COORDINATES       TILE INDEX
           LATITUDE LONGITUDE           METERS               XYZ PIXELS / ZOOM    XYZ TILE / ZOOM
            WGS 84 (EPSG:4326)   EPSG:3785 / EPSG:900913       WEB VIEWERS       TILE MAP SERVICE
Thursday, October 22, 2009
NECESSARY TRANSFORMATIONS AND WARPING




          GEODETIC COORDINATES    SPHERICAL MERCATOR       PYRAMID COORDINATES       TILE INDEX
           LATITUDE LONGITUDE           METERS               XYZ PIXELS / ZOOM    XYZ TILE / ZOOM
            WGS 84 (EPSG:4326)   EPSG:3785 / EPSG:900913       WEB VIEWERS       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

                                              • Caching tiles from WMS servers
       • Generating from raster input:         (MapServer, GeoServer):
           • GDAL2Tiles & MapTiler GUI
                                               • TileCache.org (Python)
           • MSR MapCruncher
                                               • GeoWebCache.org (Java Servlet)
       • Generating from features (vectors)
           • Mapnik

           • GMapCreator,

           • ...




Thursday, October 22, 2009
EXTREMELY FAST ONLINE MAPS
                              FOR 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:




                                                                                                    s
                • Fast parallelized rendering and merging of large data collections




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




                                                                                            r
                                                                                         fo
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 Service
                                  European Commission: Joint Research Center
                                           National Library of Scotland
                                        Mobile 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, 2008
                                         David Rumsey (DavidRumsey.com)
                               BRGM (Bureau des Recherches Geologiques et Minières)
                                       Moravian Library Brno, Czech Republic
                                              NIC.CZ: VIP competition
                                 Czech Technical University in Prague (prof. Veverka)



                                    PROJECT OLDMAPSONLINE.ORG
                                       Moravian 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
WWW . MAPTILER . ORG
                      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

Thursday, October 22, 2009

MapTiler: Map Publishing a la Google Maps