beyond "press ctrl-p" in web map printing jan de moerloose– co-creator of geomajas...
TRANSCRIPT
![Page 1: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/1.jpg)
Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of GeomajasFOSS4G 2009, Sydney
![Page 2: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/2.jpg)
2
The company:
Geosparc commercially supports Geomajas, the Open Source GIS application framework, coupling
the innovation of Open Source with the reliability of a true enterprise-class platform.
www.geosparc.com
![Page 3: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/3.jpg)
3
The product:
• Open Source GIS application framework• It is downloadable at http://www.geomajas.org/– Integrated client-server architecture– Geometry editing + validation– Custom attribute definitions– Advanced querying capabilities
![Page 4: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/4.jpg)
4
Are printed maps still relevant ?(they used to…)
![Page 5: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/5.jpg)
5
The world’s first map ?
![Page 6: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/6.jpg)
6
Soleto map or hoax ?
![Page 7: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/7.jpg)
7 Artistic world map
![Page 8: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/8.jpg)
8
• Reprint of the historical atlas Ferraris• Weighs 12.5 kg• 14000 copies sold• All of them to male
individuals !
![Page 9: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/9.jpg)
9
Map printing hall of shame (1)
![Page 10: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/10.jpg)
10
Map printing hall of shame (2)
![Page 11: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/11.jpg)
11
Map printing hall of shame (3)
![Page 12: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/12.jpg)
12
What’s wrong with these ?
![Page 13: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/13.jpg)
13
Problems
• Use of Ctrl-P : the nature of HTML• Several other problems
• fixed page size/orientation • fixed component arrangements• fixed component sizes• fixed resolution• no storage or reuse
• These are inherent limitations of the form-based approach !
![Page 14: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/14.jpg)
14
Form-based approach
Title
Map Legend
size (A0, A1, …)
left/right
![Page 15: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/15.jpg)
15
Form-based approach
• What ?• small set of parameters in an HTML form• send to the server for interpretation
• Result• very limited impact on the outcome• fixed template• fixed component placement• no storage or reuse
![Page 16: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/16.jpg)
16
Can we do better ?
![Page 17: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/17.jpg)
17
Component-based approach
Title
Map Legend
Title
Map Legend
Viewport
Viewport
![Page 18: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/18.jpg)
18
Component-based approach
• What ?• client-side representation of the printed map• using SVG/VML (true vector graphics)• component model is sent to the server
• Advantages• possibility to drag/resize individual parts/components
of the map• possibility to add components• customizable templates/layouts• limitless storage/reuse• and so much more…
![Page 19: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/19.jpg)
19
Component zoölogy
• Map component• Legend component• Vector layer component• Raster layer component• Scalebar component• Label component• Image component• View port component
![Page 20: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/20.jpg)
20
Component layout
Left Right
Top
Bottom
marginX
marginY
Parent
Child
![Page 21: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/21.jpg)
21
Component Layout
North arrow
Legend
Title
map
scalebar
viewport
![Page 22: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/22.jpg)
22
User freedom: editing components
• Dragging• Resizing
![Page 23: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/23.jpg)
23
User freedom: panning modes
• Pan the map• Pan the print
![Page 24: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/24.jpg)
24
User freedom: view ports
• Zooms into interesting part of the map• Combination of 2 rectangular boxes:
• View port• Map region
• Resizing view port changes the zoom scale• Resizing map region changes the aspect ratio
![Page 25: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/25.jpg)
25
View port result
![Page 26: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/26.jpg)
26
User freedom: persistence and reuse
• Simple XML format • Based on annotated Java objects• Persisted in a PostGIS database
![Page 27: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/27.jpg)
27
Rendering technology: PDF with iText
• Why PDF ?• Html is not printable• most portable format• that supports raster and vector representations !
• Why iText ?• easy to use and performant• low-level pdf access• PdfGraphics component with great drawing support
![Page 28: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/28.jpg)
28
Real world project: Westtoer
• Tourism organisation (Flanders/Belgium)• Management of bicycle networks/hiking trails• System of voluntary maintainers• Need to produce printed maps for a large
number of routes on a weekly basis based on the latest route information
![Page 29: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/29.jpg)
29
What’s next ?
• Better usability• Editing colors, fonts and layout properties in
the browser• Uploading images• Batch processing• Multipage maps• Multilayer pdfs
![Page 30: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/30.jpg)
30
Conclusion
• Printed maps matter !• Component-based approach offers
• Power to the end user• Persistence and reuse• Desktop-like stuff: view ports• better prints !
![Page 31: Beyond "press Ctrl-P" in web map printing Jan De Moerloose– co-creator of Geomajas FOSS4G 2009, Sydney](https://reader030.vdocuments.mx/reader030/viewer/2022032702/56649ca55503460f9496735e/html5/thumbnails/31.jpg)
31
Thank you !
• http://www.geomajas.org