- TileGen An open source Softw are for applying cartographic - - PowerPoint PPT Presentation

tilegen an open source softw are for applying
SMART_READER_LITE
LIVE PREVIEW

- TileGen An open source Softw are for applying cartographic - - PowerPoint PPT Presentation

Faculty of Environm ental Sciences, Department of Geosciences, Institute for Cartography - TileGen An open source Softw are for applying cartographic Generalisation to Tile-Base Mapping Ralf Klammer 26 th International Cartographic


slide-1
SLIDE 1
  • TileGen –

An open source Softw are for applying cartographic Generalisation to Tile-Base Mapping

Faculty of Environm ental Sciences, Department of Geosciences, Institute for Cartography

Ralf Klammer 26th International Cartographic Conference Dresden, August 25-30, 2013

slide-2
SLIDE 2

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 2 of 15

  • 0. Structure of the presentation

1 . Motivation 2 . Facts & Term s 3 . TileGen - Concept 4 . TileGen - I m plem entations 5 . Conclusion & Outlook

slide-3
SLIDE 3

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 3 of 15

source: en.wikipedia.org/wiki/Web_2.0

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook
  • 1. Motivation
slide-4
SLIDE 4

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 4 of 15

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook
  • 1. Motivation – Web Generalisation Services

'WebGen' 'WebGen' 'WebGen 'WebGen-

  • WPS'

WPS'

WPS WPS Web 2.0 Web 2.0 applications applications

1. 1.

'WebGen 2.0' 'WebGen 2.0'

2. 2.

Static requests for available processes

Upload own processes status-quo needed developments

slide-5
SLIDE 5

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 5 of 15

  • 2. Facts & Terms

tile tile-based mapping tile-based mapping system cartographic parameter tile-based tile-based map renderer automatic rendering

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

Web 2.0 Mapnik

slide-6
SLIDE 6

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 6 of 15

What is a tile-based mapping system?

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

Core properties:

  • 1. Map views are based on multiple

discrete zoom levels (corresponding to a fixed map scale)

  • 2. Multiple image tiles are used to virtualize a single map view
  • 3. Image tiles are accessible using a discrete addressing scheme
  • 4. Tiles are sent to client with minimal processing – as much as possible is done

ahead of time

(cf. Sample & Ioup 2010)

map tiles Z

  • m

l e v e l s mapview at zoomlevel 1

0,0 0,1 1,0 1,1

Tiling scheme Tile-based map

Data & cartographic definition Rendering & Storing of Tiles Downloading & Assembling of Tiles Tile-based mapping system

slide-7
SLIDE 7

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 7 of 15

Tasks to set up a tile-based mapping system

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. Realised process flow - 5. Discussion & future work

1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript 1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript 1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript 1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript 1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript 1st: organize geospatial data (prepare a tile-based map) → primary 'language': GIS (SQL, shapefile, ...) 2nd: define cartographic parameters (prepare ...) → primary language: XML 3rd: initialize automatic rendering (generate ...) → primary language: Python 4th: build a mapping framework (display ...) → primary language: JavaScript [ 5th: add mash-ups, interaction, statistics, etc. (refine ...) → primary language: JavaScript

manual generalization automatic generalization

T i l e G e n

Data & cartographic definition Rendering & Storing of Tiles Downloading & Assembling of Tiles Tile-based mapping system

Klammer, R. & Burghardt, D. (2012): Approaches for enhancing tile - based mapping with cartographic generalisation. In: Proceedings 15th ICA Workshop

  • n Generalisation and Multiple Representation, Istanbul, Turkey
slide-8
SLIDE 8

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 8 of 15

  • 3. TileGen – The Concept
  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

1 . Graphical User I nterface, for visual:

  • definition of cartographic parameters
  • evaluation of (carto-) graphic quality (readability & legibility)
  • semantic selection and classification (schematic transformations)

2 . Autom atic Topological Evaluation 3 . Test and Define Spatial Transform ations 4 . Export W PS-Execute-Param eters for autom atic processing

slide-9
SLIDE 9

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 9 of 15

  • 4. TileGen - Implementation
  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

WebGen-WPS

slide-10
SLIDE 10

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 10 of 15

Styling and Information retrieval

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

Read XML-file Immediate preview Define cartographic parameters evaluate topographic constraints

slide-11
SLIDE 11

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 11 of 15

Spatial Transformation

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

Select feature type Execute web generalization service Evaluate result of processing

slide-12
SLIDE 12

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 12 of 15

  • 5. Conclusion
  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook
  • proof-of-concept implementation
  • general feasability of concept demonstrated
  • visual feedback supports definition of

cartographic parameters

  • WebGen-WPS applicable, but should be

developed to:

→ enable Web2.0 communication structure → good to have also evaluation processes

slide-13
SLIDE 13

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 13 of 15

  • 5. Outlook
  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook
  • implement export & automatic processing
  • outsource topologic evaluation to WebGen
  • implement as online-tool
  • further experiments on client-applications
slide-14
SLIDE 14

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 14 of 15

Other Web2.0 Applications???

  • 1. Motivation - 2. Facts & Terms - 3. TileGen - Concept - 4. TileGen - Implementation - 5. Conclusion & Outlook

JavaScript-frameworks build with D3.js, Leaflet.js & TopoJSON

For example… scale dependent simplification

slide-15
SLIDE 15

Dresden, 28.08.2013 Ralf Klammer TilGen – An open source software for applying cartographic generalisation to tile-based mapping page 15 of 15

“Whether for good or bad,

  • nline mapping is currently

in a tile-based era and will likely be so for the foreseeable future”

Michael P. Peterson (2012)

The Tile-Based Mapping Transition in Cartography. In: L. Zentai, J. R. Nunez (eds.): Maps for the Future, Children, Education and Internet. Lecture Notes in Geoinformation and Cartography, 5:151-163.

Thank you for your attention! Thank you for your attention! Questions!?! Questions!?!

Resources & Contact

About About TileGen TileGen: :

https: / / github.com/ milkbread/ TileGen

About About WebGen WebGen: :

http: / / kartographie.geo.tu-dresden.de/ webgen_docs/

About About me me: :

Ralf.Klammer@tu-dresden.de http: / / wwwpub.zih.tu-dresden.de/ ~ rklammer