SlideShare une entreprise Scribd logo
1  sur  117
Télécharger pour lire hors ligne
Map Curators’ Workshop 2009


 From paper to screen:
Putting maps on the web

   Christopher Fleet <c.fleet@nls.uk>
 Klokan Petr Přidal <klokan@klokan.cz>




         Edinburgh, 9-10th September, 2009
Main goal of this workshop:

• Present a complete workflow for:
 “Bartholomew 1912 map of Edinburgh”
• From scanning, image publishing and
  georeferencing up to the online map overlays
• Promote software you can use for free
• You should be able to reproduce this workflow
• Presented workflow is not the only one. There are
  different ways how to achieve the same goal.
Workshop structure



1    From paper to computer

2       Web presentation

3         Georeferencing

4    Online publishing of maps
1. From Paper to Computer
  A. Image Capture : scanners and cameras
  B. Digital Images
1. From Paper to Computer
  A. Image Capture : scanners and cameras
            Overhead studio cameras
            Sheet-feed scanners
            Flatbed scanners
            Sensors
METIS Digital
Reproduction
System (Rome)
Double A0 size
Icam Atlas camera used in Kent Tithe Map project
Lumiere Jumboscan – 30,000 x 18,000 pixels,
5 x 2 metre scan area
Colortrac 24120 – 24” x 36” flatbed scanner
1. From Paper to Computer
   B. Digital Images
       Resolution
       Pixel bit-depth
       Colour
       File formats
       Software
Representation of an object in Raster and
             Vector formats

   Raster – cell based        Vector – point, line
                                and area based
Resolution –
the spatial detail or number of pixels in an image…
Cornell University Quality Index
For 1-bit bitonal scanning:
 
x-height                      QI=3.6         QI=5          QI=8
(smallest dimension that
needs to be captured)

0.5 mm                        554 dpi        769 dpi       1231dpi
1.0 mm                        277 dpi        385 dpi       615 dpi
1.5 mm                        185 dpi        256 dpi       410 dpi
2.0 mm                        138 dpi        192 dpi       308 dpi
Cornell University Quality Index
For 8-bit greyscale/colour scanning
 
x-height                      QI=3.6         QI=5          QI=8
(smallest dimension that
needs to be captured)

0.5 mm                        277 dpi        385 dpi       615 dpi
1.0 mm                        138 dpi        192 dpi       308 dpi
1.5 mm                        92 dpi         128 dpi       205 dpi
2.0 mm                        69 dpi         96 dpi        154 dpi
400 dpi




300 dpi




200 dpi
1. From Paper to Computer
   B. Digital Images
       Resolution

       Pixel bit-depth
       Colour
       File formats
       Software
Pixel bit depth - the number of values for any pixel
  
•1 bit - 2 values - Black or white
•8 bit - 256 shades (of grey or colour). Effectively, a palette of 256 colours
•24 bit RGB (256 levels for each red, green and blue channel) - approx 17 million
colours (2563)
  
 Most archival/preservation colour imaging uses 24-bit colour. Higher bit levels
 allow greater colour precision, but such precision may not justify exponentially
 larger file sizes.
8-bit indexed colour
Recording 256 values for
every pixel from a look-up
table
24-bit RGB colour
recording 3 channels of
256 values for red,
green and blue for
every pixel
8-bit indexed colour
Recording 64 values for
every pixel from a look-up
table
Converting to bitonal using threshold
Resolution –
   the spatial detail or number of pixels in an image


Optical (true) resolution is the inherent resolution of the
scanner based on the size of the imaging sensor and the
magnification of the optical system.
Interpolated resolution is a synthetic or calculated
resolution that artificially increases the original optical
captured resolution by image processing.
1. From Paper to Computer
   B. Digital Images
       Resolution
       Pixel bit-depth

       Colour
       File formats
       Software
Additive colour –
                          Subtractive colour –
light based - scanners,
cameras, monitors         print and paper based
Device-dependent Colour
Transformations



                            T
             T         T                         T
                                 T
                                             T
         T                           T
                 T T         T           T
                 T


    T   = each a different device-to-device transform
Device-independent Colour
Transformation




                       T               T
               T          Standard           T
                        Colour Space

                   T        T          T



    T   = each a device-to-standard colour space transform
ICC Workflow


           Source profile            Destination profile



                                PCS


                            Colour Transform

Source device colour data             Destination device colour data
Generating an output or printer profile
Generating an input or capture profile
1. From Paper to Computer
   B. Digital Images
       Resolution
       Pixel bit-depth
       Colour

       File formats
       Software
File formats – masters, derivatives, and compression


Formats for preservation masters:
                     TIFF (Tagged Image File Format) - lossless
                     PNG (Portable Network Graphic) - lossless
                     JPEG2000 or JP2 (Joint Photographic Experts Group)
 
Formats for derivatives (display/distribution):
      GIF (Graphics Interchange Format) - lossy
      JPEG - lossy
      TIFF with (Lempel-Ziv-Welch compression) -lossy
 
Wavelet-based compression:
 
      JPEG2000 - can choose lossy or lossless versions
      MrSID (Multi-resolution Seamless Image Database), DjVu or ECW (Enhanced
      Compressed Wavelet - lossy
Calculating image sizes (of uncompressed TIFF images)
 
Use formula: (height x width x bit depth x dpi2) / 8 = size in Kb
 
eg. for a 24 x 36" map
in greyscale at 200 dpi          - 24" x 36" x 8 x 2002 = 35 Mb
in colour at 200 dpi             - 24" x 36" x 24 x 2002 = 103 Mb
in colour at 300 dpi             - 24" x 36" x 24 x 3002 = 233 Mb
in colour at 400 dpi             - 24" x 36" x 24 x 4002 = 415 Mb
 
Maps are often much larger! A 48 x 50” document scanned in colour at
400 dpi will generate a 1.1 Gb TIFF file.
1. From Paper to Computer
   B. Digital Images
       Resolution
       Pixel bit-depth
       Colour
       File formats

       Software
Photoshop… rotating the image
Photoshop – rotated and aligned image
Photoshop – altering image size
Photoshop – cropping an image
Photoshop – altering colour bit depth
Photoshop – saving image in various formats
Open source software for processing and
presentation of scanned images


 Standard images

 • Gimp (alternative to Adobe Photoshop)
   ImageMagic and Irfanview (batch processing)

 Stitching and correcting images

 • Hugin, AutoStitch, Enblend (PanoTools)

 Large images of over 10,000 pixels

 • NIP2 and VIPS library
NIP2 and VIPS library


• Free software (GPL) for Windows/Mac/Linux

• Processing of images with unlimited size

• Support for High Dynamic Range images

• Correct colour handling with ICC profiles

• A Graphical User Interface “Excel for images” changeable steps
ICC Profile

  • LProf
    – Creation ICC profiles for scaners, monitors and printers
    – OpenSource: http://lprof.sf.net/

  • VIPS
    – Can create an ICC profile as well
    – Conversion of different ICCs
Workshop structure



1    From paper to computer

2       Web presentation

3         Georeferencing

4    Online publishing of maps
400 DPI
         9606 x 7322 px



 202 MB uncompressed TIFF
~107 MB JPEG2000 (lossless)

     15 MB JPEG 85%
 ~ 8 MB JPEG2000 (loosy)
High resolution imagery on the web

• Image size is too big for the traditional display in
  the web browser - to keep the details we need to
  provide the image in parts - cutting into tiles
• Technique of the “pyramid” provide
  zooming and panning
• The viewer software assemble the
  tiles and allows experience of
  browsing over a seamless image
Viewers

• Different technology, look & feel, license and
  authors, but the same principle
  – JavaScript: OpenLayers, MooViewer, PanoJS,
    SeaDragonJS, ...
  – Flash: Zoomify, OpenZoom, Closer, ...
  – iPhone: Microsoft SeaDragon (DeepZoom), ...
  – 3D: Google Earth, ...
• For one image source more viewers
ZOOMIFY, MOOVIEWER, OPENZOOM
TILES PREGENERATED OR SERVED BY IIPIMAGE
Pregenerated tiles
• The easiest, fastest and most efficient way how to
  publish high-resolution images on the web
• A desktop application cut your master image into
  the tiles (hundreds of small pictures) in advance
• You just have to copy the result to the web, no
  extra server configuration - “it just runs”
• Formats: Zoomify, SeaDragon (DeepZoom),
  OpenZoom, ... - differences in the name of the
  tiles files: “z-x-y.jpg”, “x_y_z.jpg”, ...
• [disadvantage: thousands of small files]
• Really simple to use, almost no technical
  knowledge for publishing the high
  resolution images to the Internet

• You generate tiles and copy them on your
  server, no further configuration is needed

• Original: http://www.zoomify.com/
• Existing open-source implementation for
  tiling software as well as viewers
Dynamically generated tiles

• On your server is a program, which generates the
  tiles from your images in the moment of visit
• You can keep just one copy of the image - serve
  from the masters (“open archive”)
• Easily support for more viewers
• Dynamic color corrections
• Formats: JPEG2000, MrSID, ECW, pyr. TIFF
• [disadvantage: you need to install software on the
  server, can be slow (scalability)]
Dynamically generated tiles 2

• Software: image server
  – Commercial: LizardTech, Aware, XLImage, ...
  – Open-source for JPEG2000: IIPImage, Djatoka
• Usually need of special formats: JPEG2000, MrSID,
  ECW, pyramid TIFF
• You need your own server, you need IT knowledge
  to set it up. Usage is quite simple: add new .jp2 to
  a relevant directory
ImageServer: IIPImage
• Fast image server, OpenSource GPL: for free
• Color Correct (ICC profile, L a*b* space)
• SourceForge: http://iipimage.sf.net/
• Displays TIFF images (stored on the server)
• Zoomify-compatible (we supported dev)
• Support for JPEG2000 (we supported dev)
Open-Source and JPEG2000

• Software: image server
  – Commercial: LizardTech, Aware, XLImage, ...
  – Open-source for JPEG2000: IIPImage, Djatoka
• Usually need of special formats: JPEG2000, MrSID,
  ECW, pyramid TIFF
• You need your own server, you need IT knowledge
  to set it up. Usage is quite simple
• http://help.oldmapsonline.org/jpeg2000/
DEMO

        Zoomify Express




       Described step-by-step at:
http://help.oldmapsonline.org/publish/
2. Web Presentation (recapitulation)
• Publishing of large images on the web: always tiles!
• Pan & Zoom viewers are assembling the tiles again
• Pregenerated (zoomify, deep zoom..)
   – Viewers: Zoomify, OpenZoom, OpenLayers, PanoJS,... Google
     Earth ... Mobile phone ... ?
   – Hosting on the web: no configuration. Upload only.
   – Advanced hosting: Amazon S3, Google App Engine, CDN
   – DEMO: http://help.oldmapsonline.org/publish/
   – DEMO: Zoomify Express “www.zoomify.com”
   – DEMO: Firefox “S3Fox” and Amazon S3
• Dynamic delivery (image servers):
  – From JPEG2000, TIFF, MrSID, ECW, jpeg files
  – Software on the server: LizardTech, Aware, ...
  – Open-Source: IIPImage (JPEG2000, TIFF), Djatoka
Workshop structure



1    From paper to computer

2       Web presentation

3         Georeferencing

4    Online publishing of maps
Why geo-reference early maps?



1. Provides new ways of integrating early maps with other
      information


2. Provides new ways of understanding the content of early maps


3. Provides a better means of accessing early maps
1 Geo-referencing to integrate tithe map
information within historical GIS


Alastair Pearson ‘Digitizing and analyzing historical maps to provide new
perspectives on the development of the agricultural landscape of England and
Wales’ e-Perimetron
(www.e-perimetron.org/Vol_1_3/Vol1_3.htm)
1 Integrating early maps with
height information


Michael F. Davie & Mitia Frumin, ‘Late 18th century Russian
Navy maps and the first 3D visualization of the walled city of
Beirut’ e-Perimetron
(www.e-perimetron.org/Vol_2_2/Vol2_2.htm)
2 Geo-referencing for
understanding the content of
early portolan charts

JA Gaspar
‘The Myth of the Square Chart’ e-Perimetron
(/www.e-perimetron.org/Vol_2_2/Vol2_2.htm)
2. Geo-referencing for using in digital
     transparency techniques and animation




Miltiadis Daniil ‘Comparing by digital
transparency the differences
between two almost identical 17th
century maps of North Aegean Sea’
e-Perimetron
(www.e-perimetron.org/Vol_1_4/)
Principles of geo-referencing
Fitting old map to present day real-world location
      1. Open early map as image.
      2. Add or specify Control Points or Link Points of known locations to image
      3. Transform image to the new position based on these control points
     (software eg. ESRI ArcMap, MetaCarta Rectifier, Microsoft MapCruncher)

    Need to be clear about the coordinate system, particularly of the
        destination image:
     • Within the UK, the British National Grid is often easiest to use, and
        allows integration with Ordnance Survey gazetteers and mapping
     • Internationally, a conversion to the Global Mercator projection on a
        spherical approximation of the Earth is widely used for overlays in
        Google Maps and Earth, Microsoft Virtual Earth, Yahoo Maps, etc.
    Need to be clear about the transformation method from the original to the
        destination images
Open Bartholomew 1912 Edinburgh map to be geo-
referenced in ArcMap
Georeferencing toolbar




                         Geo-referencing toolbar
Add first control point to Bartholomew map…
In Table of Contents, zoom to target geo-referenced
Edinburghshire 1860s map
The Edinburghshire 1860s geo-referenced map
Destination control point on the Edinburghshire
geo-referenced target map
Bartholomew map after first control point added
Adding second control point to Bartholomew map…
…and positioning its destination point on the target
Third control point in bottom left of Bartholomew map
Adjusting transparency of Bartholomew map to
view alignment and accuracy of geo-referencing
Editable link table of control points and
transformation choices for geo-referencing
Specifying the coordinate system
Clearing black edges through nodata pixel
Clearing black edges through a nodata pixel value
The black edges taken away
Saving the geo-referenced Bartholomew map
Exporting the geo-referenced Bartholomew map
DEMO

Online Georeferencing Tool
  (under development)




http://www.georeferencer.org/
Workshop structure



1    From paper to computer

2       Web presentation

3         Georeferencing

4    Online publishing of maps
Dynamic vs. pregenerated tiles
• Traditional dynamic publishing: MapServer,
  GeoServer, ArcIMS - standard: OGC WMS
• Advantages: possibility to change map projections
  on the fly, interoperability with all GIS tools,
  broadly accepted standard
• Disadvantages: SLOW (not well scalable), not as
  user-friendly for web visitors, lower quality output
  (because of the limited rendering time)
• New approach: tiles
A Brief Look Behind
           Google Maps...

• User-friendly interface. Fast! FAST!
• Maps are rendered in advance in a batch,
 during update of geodata (different approach
 then with dynamic WMS servers)
• The map is cut into tiles, user receives just
 tiles for extent he is looking at. All tiles has
 fixed predefined geographic boundaries.
• Pre-rendered tiles stored in Google BigTable
 database. Redundancy. Load-balancing.
FIXED ZOOM LEVELS
PROJECTION AND COORDINATE
        SYSTEM OF GOOGLE MAPS
• Lat/Long WGS84 datum coordinates always displayed
  to users. Popular from GPS devices, strictly used in the
  KML format.
• Map rasters are projected by a global Mercator
  projection: “Spherical Mercator”. EPSG:900913 /
  EPSG:3785 (meters)
• Conformal, cylindrical. Cropped to square (maximal
  latitude ~ 85.05 degrees)
• Simplified calculation: WGS84 ellipsoid is handled as
  sphere in all calculation!
CONVERSION OF COORDINATES FOR GOOGLE MAPS
         (GLOBALMAPTILES.PY MODULE)




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
TILE ADDRESSING


• Google XYZ: origin (x,y)=(0,0) in top-left corner
• OSGEO Tile Map Service (TMS) XYZ: origin (x,y)=(0,0)
  in bottom-left corner of extent
• Microsoft QuadTree: by quadrants “12022”
• WMS-C (WMS requests for predefined tile extents -
  cache) / OGC Cashed WMS (extension for tile query)
• OGC Web Map Tile Service (WMTS) - draft
HOW CAN I PUBLISH MY
     OWN MAPS
  THE SAME WAY?
TILES ARE SAVED (CACHED)
FROM EXISTING DYNAMIC WMS SERVER
• Open Source Projects:
  • TileCache.org (Python)
  • GeoWebCache.org (Java Servlet)

                          WMS                  WMS
 WMS                                           Client
 Server
              WMS          Tile
                          Cache                 Web
                                    Tiles   Client (tiles)
                                   (TMS,
                                  WMS-C)
TILES ARE PRE-RENDERED DIRECTLY

    • Raster input:
      • GDAL2Tiles (my GSoC) & MapTiler GUI
      • MSR MapCruncher
    • Features (vectors)
      • Mapnik, GMapCreator

                                 Tiles
Tiles as static       TMS   (TMS or others)
                            WMS Proxy
                                              WMS       Web
                                                       WMS
     files                   (MapServer)             Client (tiles)
                                                       Client
MAPTILER (GDAL2TILES)


• Generates image tiles (PNG files) from a raster maps
  (GeoTIFF, JPEG2000, MrSID, ECW, Erdas HFA, BSB, ...)
• It uses existing geometadata (WKT, EPSG, World Files)
  and supports huge rasters (unlimited filesize)
• Simple web viewer (OpenLayers, Google Maps API)
• KML SuperOverlay Metadata (Google Earth, indexing)
• Tile Map Service (TMS) compatibility
• Raster warping to Spherical Mercator.
DEMO

             MapTiler




       Described step-by-step at:
http://help.oldmapsonline.org/publish/
Recapitulation
• http://help.oldmapsonline.org/publish/
• Image publishing: tiles: Zoomify, ...
• Alternative: IIPImage (direct from jp2,tif) or commercial tools
• Several pan&zoom viewers


• Georeferencing: GIS tools
• Under development: Georeferencer.org


• Map publishing: tiles: MapTiler (beta)
• Alternative: MapServer, GeoServer and TileCache, GeoWebCache or
  commercial ESRI ArcIMS.
• Standard: OGC WMS, tiles: TMS & OGC WMTS

Contenu connexe

Tendances

Chapter 3 data representations
Chapter 3 data representationsChapter 3 data representations
Chapter 3 data representationsABDUmomo
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyVideoguy
 
2a Bitmapped Graphics Hardware
2a Bitmapped Graphics Hardware2a Bitmapped Graphics Hardware
2a Bitmapped Graphics Hardwaremrsmackenzie
 
Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compressionasodariyabhavesh
 
Chapter 2 Digital Data
Chapter 2 Digital DataChapter 2 Digital Data
Chapter 2 Digital Datashelly3160
 
Information Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and GraphicsInformation Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and Graphicspezhappy99
 
Image processing (Signal Processing)
Image processing (Signal Processing)Image processing (Signal Processing)
Image processing (Signal Processing)Muhammad Waqas
 
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVECIMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVECMathankumar S
 
Chapter 8 Video
Chapter 8 VideoChapter 8 Video
Chapter 8 Videoshelly3160
 
Image processing presentation
Image processing presentationImage processing presentation
Image processing presentationBibus Poudel
 
Rainbow Storage Technology
Rainbow Storage TechnologyRainbow Storage Technology
Rainbow Storage TechnologyAnandhu Natesh
 
5 multimedia elements - animation
5   multimedia elements - animation5   multimedia elements - animation
5 multimedia elements - animationKelly Bauer
 
4 multimedia elements - video
4   multimedia elements - video4   multimedia elements - video
4 multimedia elements - videoKelly Bauer
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEOazira96
 
Sismulmed 04 b. image processing intro
Sismulmed 04 b. image processing introSismulmed 04 b. image processing intro
Sismulmed 04 b. image processing introNurfitri Anbarsanti
 
Chapter 6 Graphics
Chapter 6 GraphicsChapter 6 Graphics
Chapter 6 Graphicsshelly3160
 

Tendances (20)

Chapter 3 data representations
Chapter 3 data representationsChapter 3 data representations
Chapter 3 data representations
 
Week 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information TechnologyWeek 4 LBSC 690 Information Technology
Week 4 LBSC 690 Information Technology
 
2a Bitmapped Graphics Hardware
2a Bitmapped Graphics Hardware2a Bitmapped Graphics Hardware
2a Bitmapped Graphics Hardware
 
Chapter 8 image compression
Chapter 8 image compressionChapter 8 image compression
Chapter 8 image compression
 
Chapter 2 Digital Data
Chapter 2 Digital DataChapter 2 Digital Data
Chapter 2 Digital Data
 
Information Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and GraphicsInformation Processes and Technology Multimedia and Graphics
Information Processes and Technology Multimedia and Graphics
 
Module 4
Module 4Module 4
Module 4
 
Image processing (Signal Processing)
Image processing (Signal Processing)Image processing (Signal Processing)
Image processing (Signal Processing)
 
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVECIMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
 
Soundpres
SoundpresSoundpres
Soundpres
 
Chapter 8 Video
Chapter 8 VideoChapter 8 Video
Chapter 8 Video
 
Ch1
Ch1Ch1
Ch1
 
Image processing presentation
Image processing presentationImage processing presentation
Image processing presentation
 
Rainbow Storage Technology
Rainbow Storage TechnologyRainbow Storage Technology
Rainbow Storage Technology
 
5 multimedia elements - animation
5   multimedia elements - animation5   multimedia elements - animation
5 multimedia elements - animation
 
4 multimedia elements - video
4   multimedia elements - video4   multimedia elements - video
4 multimedia elements - video
 
Multimedia
MultimediaMultimedia
Multimedia
 
Chapter 6 : VIDEO
Chapter 6 : VIDEOChapter 6 : VIDEO
Chapter 6 : VIDEO
 
Sismulmed 04 b. image processing intro
Sismulmed 04 b. image processing introSismulmed 04 b. image processing intro
Sismulmed 04 b. image processing intro
 
Chapter 6 Graphics
Chapter 6 GraphicsChapter 6 Graphics
Chapter 6 Graphics
 

Similaire à From paper to screen: Putting maps on the web

Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.pptMalleshBettadapura1
 
P1 powerpoint presentation
P1 powerpoint presentationP1 powerpoint presentation
P1 powerpoint presentationAishahBegum
 
Scct2013 topic 3_graphics
Scct2013 topic 3_graphicsScct2013 topic 3_graphics
Scct2013 topic 3_graphicsAnies Syahieda
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphicsKelly Bauer
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systemsNirmal Kumar
 
Prinsip gambar digital
Prinsip gambar digitalPrinsip gambar digital
Prinsip gambar digitalOno Trader
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 
12.m3 cms content-updating-pt1
12.m3 cms content-updating-pt112.m3 cms content-updating-pt1
12.m3 cms content-updating-pt1tarensi
 
Graphics Primitives and CG Display Devices
Graphics Primitives and CG Display DevicesGraphics Primitives and CG Display Devices
Graphics Primitives and CG Display DevicesDIPIKA83
 
Digital Image File Formats
Digital Image File FormatsDigital Image File Formats
Digital Image File Formatsindiangarg
 
Output devices of Computer
Output devices of ComputerOutput devices of Computer
Output devices of ComputerImtiAz Karim
 
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.Com
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.ComOce TDS 450 Euro Ozalit Makinası - GenisFormat.Com
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.Comuzburo
 
الوسائط المتعددة Multimedia تاج
الوسائط المتعددة  Multimedia تاجالوسائط المتعددة  Multimedia تاج
الوسائط المتعددة Multimedia تاجmaaz hamed
 

Similaire à From paper to screen: Putting maps on the web (20)

Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
 
P1 powerpoint presentation
P1 powerpoint presentationP1 powerpoint presentation
P1 powerpoint presentation
 
Digital Imaging Basics
Digital Imaging BasicsDigital Imaging Basics
Digital Imaging Basics
 
Scct2013 topic 3_graphics
Scct2013 topic 3_graphicsScct2013 topic 3_graphics
Scct2013 topic 3_graphics
 
graphics
graphicsgraphics
graphics
 
Stem 71 24 multimedia elements - graphics
Stem 71 24   multimedia elements - graphicsStem 71 24   multimedia elements - graphics
Stem 71 24 multimedia elements - graphics
 
Digital Image Processing and gis software systems
Digital Image Processing and gis software systemsDigital Image Processing and gis software systems
Digital Image Processing and gis software systems
 
Prinsip gambar digital
Prinsip gambar digitalPrinsip gambar digital
Prinsip gambar digital
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Contex HD iFLEX
Contex HD iFLEXContex HD iFLEX
Contex HD iFLEX
 
12.m3 cms content-updating-pt1
12.m3 cms content-updating-pt112.m3 cms content-updating-pt1
12.m3 cms content-updating-pt1
 
Graphics Primitives and CG Display Devices
Graphics Primitives and CG Display DevicesGraphics Primitives and CG Display Devices
Graphics Primitives and CG Display Devices
 
Digital Image File Formats
Digital Image File FormatsDigital Image File Formats
Digital Image File Formats
 
Output devices of Computer
Output devices of ComputerOutput devices of Computer
Output devices of Computer
 
Computer ed.
Computer ed.Computer ed.
Computer ed.
 
Image & Graphics
Image & GraphicsImage & Graphics
Image & Graphics
 
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.Com
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.ComOce TDS 450 Euro Ozalit Makinası - GenisFormat.Com
Oce TDS 450 Euro Ozalit Makinası - GenisFormat.Com
 
Unit ii
Unit iiUnit ii
Unit ii
 
الوسائط المتعددة Multimedia تاج
الوسائط المتعددة  Multimedia تاجالوسائط المتعددة  Multimedia تاج
الوسائط المتعددة Multimedia تاج
 
MAT Chapter 1
MAT Chapter 1MAT Chapter 1
MAT Chapter 1
 

Dernier

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Dernier (20)

How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

From paper to screen: Putting maps on the web

  • 1. Map Curators’ Workshop 2009 From paper to screen: Putting maps on the web Christopher Fleet <c.fleet@nls.uk> Klokan Petr Přidal <klokan@klokan.cz> Edinburgh, 9-10th September, 2009
  • 2. Main goal of this workshop: • Present a complete workflow for: “Bartholomew 1912 map of Edinburgh” • From scanning, image publishing and georeferencing up to the online map overlays • Promote software you can use for free • You should be able to reproduce this workflow • Presented workflow is not the only one. There are different ways how to achieve the same goal.
  • 3. Workshop structure 1 From paper to computer 2 Web presentation 3 Georeferencing 4 Online publishing of maps
  • 4. 1. From Paper to Computer A. Image Capture : scanners and cameras B. Digital Images
  • 5. 1. From Paper to Computer A. Image Capture : scanners and cameras Overhead studio cameras Sheet-feed scanners Flatbed scanners Sensors
  • 6.
  • 7.
  • 9. Icam Atlas camera used in Kent Tithe Map project
  • 10. Lumiere Jumboscan – 30,000 x 18,000 pixels, 5 x 2 metre scan area
  • 11.
  • 12.
  • 13. Colortrac 24120 – 24” x 36” flatbed scanner
  • 14. 1. From Paper to Computer B. Digital Images Resolution Pixel bit-depth Colour File formats Software
  • 15. Representation of an object in Raster and Vector formats Raster – cell based Vector – point, line and area based
  • 16. Resolution – the spatial detail or number of pixels in an image…
  • 17. Cornell University Quality Index For 1-bit bitonal scanning:   x-height QI=3.6 QI=5 QI=8 (smallest dimension that needs to be captured) 0.5 mm 554 dpi 769 dpi 1231dpi 1.0 mm 277 dpi 385 dpi 615 dpi 1.5 mm 185 dpi 256 dpi 410 dpi 2.0 mm 138 dpi 192 dpi 308 dpi
  • 18. Cornell University Quality Index For 8-bit greyscale/colour scanning   x-height QI=3.6 QI=5 QI=8 (smallest dimension that needs to be captured) 0.5 mm 277 dpi 385 dpi 615 dpi 1.0 mm 138 dpi 192 dpi 308 dpi 1.5 mm 92 dpi 128 dpi 205 dpi 2.0 mm 69 dpi 96 dpi 154 dpi
  • 20. 1. From Paper to Computer B. Digital Images Resolution Pixel bit-depth Colour File formats Software
  • 21. Pixel bit depth - the number of values for any pixel   •1 bit - 2 values - Black or white •8 bit - 256 shades (of grey or colour). Effectively, a palette of 256 colours •24 bit RGB (256 levels for each red, green and blue channel) - approx 17 million colours (2563)   Most archival/preservation colour imaging uses 24-bit colour. Higher bit levels allow greater colour precision, but such precision may not justify exponentially larger file sizes.
  • 22. 8-bit indexed colour Recording 256 values for every pixel from a look-up table
  • 23. 24-bit RGB colour recording 3 channels of 256 values for red, green and blue for every pixel
  • 24. 8-bit indexed colour Recording 64 values for every pixel from a look-up table
  • 25. Converting to bitonal using threshold
  • 26. Resolution – the spatial detail or number of pixels in an image Optical (true) resolution is the inherent resolution of the scanner based on the size of the imaging sensor and the magnification of the optical system. Interpolated resolution is a synthetic or calculated resolution that artificially increases the original optical captured resolution by image processing.
  • 27. 1. From Paper to Computer B. Digital Images Resolution Pixel bit-depth Colour File formats Software
  • 28. Additive colour – Subtractive colour – light based - scanners, cameras, monitors print and paper based
  • 29.
  • 30. Device-dependent Colour Transformations T T T T T T T T T T T T T T = each a different device-to-device transform
  • 31. Device-independent Colour Transformation T T T Standard T Colour Space T T T T = each a device-to-standard colour space transform
  • 32. ICC Workflow Source profile Destination profile PCS Colour Transform Source device colour data Destination device colour data
  • 33. Generating an output or printer profile
  • 34. Generating an input or capture profile
  • 35. 1. From Paper to Computer B. Digital Images Resolution Pixel bit-depth Colour File formats Software
  • 36. File formats – masters, derivatives, and compression Formats for preservation masters:   TIFF (Tagged Image File Format) - lossless PNG (Portable Network Graphic) - lossless JPEG2000 or JP2 (Joint Photographic Experts Group)   Formats for derivatives (display/distribution): GIF (Graphics Interchange Format) - lossy JPEG - lossy TIFF with (Lempel-Ziv-Welch compression) -lossy   Wavelet-based compression:   JPEG2000 - can choose lossy or lossless versions MrSID (Multi-resolution Seamless Image Database), DjVu or ECW (Enhanced Compressed Wavelet - lossy
  • 37. Calculating image sizes (of uncompressed TIFF images)   Use formula: (height x width x bit depth x dpi2) / 8 = size in Kb   eg. for a 24 x 36" map in greyscale at 200 dpi - 24" x 36" x 8 x 2002 = 35 Mb in colour at 200 dpi - 24" x 36" x 24 x 2002 = 103 Mb in colour at 300 dpi - 24" x 36" x 24 x 3002 = 233 Mb in colour at 400 dpi - 24" x 36" x 24 x 4002 = 415 Mb   Maps are often much larger! A 48 x 50” document scanned in colour at 400 dpi will generate a 1.1 Gb TIFF file.
  • 38. 1. From Paper to Computer B. Digital Images Resolution Pixel bit-depth Colour File formats Software
  • 40. Photoshop – rotated and aligned image
  • 43. Photoshop – altering colour bit depth
  • 44. Photoshop – saving image in various formats
  • 45. Open source software for processing and presentation of scanned images Standard images • Gimp (alternative to Adobe Photoshop) ImageMagic and Irfanview (batch processing) Stitching and correcting images • Hugin, AutoStitch, Enblend (PanoTools) Large images of over 10,000 pixels • NIP2 and VIPS library
  • 46. NIP2 and VIPS library • Free software (GPL) for Windows/Mac/Linux • Processing of images with unlimited size • Support for High Dynamic Range images • Correct colour handling with ICC profiles • A Graphical User Interface “Excel for images” changeable steps
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58. ICC Profile • LProf – Creation ICC profiles for scaners, monitors and printers – OpenSource: http://lprof.sf.net/ • VIPS – Can create an ICC profile as well – Conversion of different ICCs
  • 59. Workshop structure 1 From paper to computer 2 Web presentation 3 Georeferencing 4 Online publishing of maps
  • 60. 400 DPI 9606 x 7322 px 202 MB uncompressed TIFF ~107 MB JPEG2000 (lossless) 15 MB JPEG 85% ~ 8 MB JPEG2000 (loosy)
  • 61. High resolution imagery on the web • Image size is too big for the traditional display in the web browser - to keep the details we need to provide the image in parts - cutting into tiles • Technique of the “pyramid” provide zooming and panning • The viewer software assemble the tiles and allows experience of browsing over a seamless image
  • 62. Viewers • Different technology, look & feel, license and authors, but the same principle – JavaScript: OpenLayers, MooViewer, PanoJS, SeaDragonJS, ... – Flash: Zoomify, OpenZoom, Closer, ... – iPhone: Microsoft SeaDragon (DeepZoom), ... – 3D: Google Earth, ... • For one image source more viewers
  • 63. ZOOMIFY, MOOVIEWER, OPENZOOM TILES PREGENERATED OR SERVED BY IIPIMAGE
  • 64.
  • 65. Pregenerated tiles • The easiest, fastest and most efficient way how to publish high-resolution images on the web • A desktop application cut your master image into the tiles (hundreds of small pictures) in advance • You just have to copy the result to the web, no extra server configuration - “it just runs” • Formats: Zoomify, SeaDragon (DeepZoom), OpenZoom, ... - differences in the name of the tiles files: “z-x-y.jpg”, “x_y_z.jpg”, ... • [disadvantage: thousands of small files]
  • 66. • Really simple to use, almost no technical knowledge for publishing the high resolution images to the Internet • You generate tiles and copy them on your server, no further configuration is needed • Original: http://www.zoomify.com/ • Existing open-source implementation for tiling software as well as viewers
  • 67. Dynamically generated tiles • On your server is a program, which generates the tiles from your images in the moment of visit • You can keep just one copy of the image - serve from the masters (“open archive”) • Easily support for more viewers • Dynamic color corrections • Formats: JPEG2000, MrSID, ECW, pyr. TIFF • [disadvantage: you need to install software on the server, can be slow (scalability)]
  • 68. Dynamically generated tiles 2 • Software: image server – Commercial: LizardTech, Aware, XLImage, ... – Open-source for JPEG2000: IIPImage, Djatoka • Usually need of special formats: JPEG2000, MrSID, ECW, pyramid TIFF • You need your own server, you need IT knowledge to set it up. Usage is quite simple: add new .jp2 to a relevant directory
  • 69. ImageServer: IIPImage • Fast image server, OpenSource GPL: for free • Color Correct (ICC profile, L a*b* space) • SourceForge: http://iipimage.sf.net/ • Displays TIFF images (stored on the server) • Zoomify-compatible (we supported dev) • Support for JPEG2000 (we supported dev)
  • 70. Open-Source and JPEG2000 • Software: image server – Commercial: LizardTech, Aware, XLImage, ... – Open-source for JPEG2000: IIPImage, Djatoka • Usually need of special formats: JPEG2000, MrSID, ECW, pyramid TIFF • You need your own server, you need IT knowledge to set it up. Usage is quite simple • http://help.oldmapsonline.org/jpeg2000/
  • 71. DEMO Zoomify Express Described step-by-step at: http://help.oldmapsonline.org/publish/
  • 72. 2. Web Presentation (recapitulation) • Publishing of large images on the web: always tiles! • Pan & Zoom viewers are assembling the tiles again • Pregenerated (zoomify, deep zoom..) – Viewers: Zoomify, OpenZoom, OpenLayers, PanoJS,... Google Earth ... Mobile phone ... ? – Hosting on the web: no configuration. Upload only. – Advanced hosting: Amazon S3, Google App Engine, CDN – DEMO: http://help.oldmapsonline.org/publish/ – DEMO: Zoomify Express “www.zoomify.com” – DEMO: Firefox “S3Fox” and Amazon S3 • Dynamic delivery (image servers): – From JPEG2000, TIFF, MrSID, ECW, jpeg files – Software on the server: LizardTech, Aware, ... – Open-Source: IIPImage (JPEG2000, TIFF), Djatoka
  • 73. Workshop structure 1 From paper to computer 2 Web presentation 3 Georeferencing 4 Online publishing of maps
  • 74. Why geo-reference early maps? 1. Provides new ways of integrating early maps with other information 2. Provides new ways of understanding the content of early maps 3. Provides a better means of accessing early maps
  • 75. 1 Geo-referencing to integrate tithe map information within historical GIS Alastair Pearson ‘Digitizing and analyzing historical maps to provide new perspectives on the development of the agricultural landscape of England and Wales’ e-Perimetron (www.e-perimetron.org/Vol_1_3/Vol1_3.htm)
  • 76. 1 Integrating early maps with height information Michael F. Davie & Mitia Frumin, ‘Late 18th century Russian Navy maps and the first 3D visualization of the walled city of Beirut’ e-Perimetron (www.e-perimetron.org/Vol_2_2/Vol2_2.htm)
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82. 2 Geo-referencing for understanding the content of early portolan charts JA Gaspar ‘The Myth of the Square Chart’ e-Perimetron (/www.e-perimetron.org/Vol_2_2/Vol2_2.htm)
  • 83. 2. Geo-referencing for using in digital transparency techniques and animation Miltiadis Daniil ‘Comparing by digital transparency the differences between two almost identical 17th century maps of North Aegean Sea’ e-Perimetron (www.e-perimetron.org/Vol_1_4/)
  • 84. Principles of geo-referencing Fitting old map to present day real-world location 1. Open early map as image. 2. Add or specify Control Points or Link Points of known locations to image 3. Transform image to the new position based on these control points (software eg. ESRI ArcMap, MetaCarta Rectifier, Microsoft MapCruncher) Need to be clear about the coordinate system, particularly of the destination image: • Within the UK, the British National Grid is often easiest to use, and allows integration with Ordnance Survey gazetteers and mapping • Internationally, a conversion to the Global Mercator projection on a spherical approximation of the Earth is widely used for overlays in Google Maps and Earth, Microsoft Virtual Earth, Yahoo Maps, etc. Need to be clear about the transformation method from the original to the destination images
  • 85. Open Bartholomew 1912 Edinburgh map to be geo- referenced in ArcMap
  • 86. Georeferencing toolbar Geo-referencing toolbar
  • 87. Add first control point to Bartholomew map…
  • 88. In Table of Contents, zoom to target geo-referenced Edinburghshire 1860s map
  • 89. The Edinburghshire 1860s geo-referenced map
  • 90. Destination control point on the Edinburghshire geo-referenced target map
  • 91. Bartholomew map after first control point added
  • 92. Adding second control point to Bartholomew map…
  • 93. …and positioning its destination point on the target
  • 94. Third control point in bottom left of Bartholomew map
  • 95. Adjusting transparency of Bartholomew map to view alignment and accuracy of geo-referencing
  • 96. Editable link table of control points and transformation choices for geo-referencing
  • 98. Clearing black edges through nodata pixel
  • 99. Clearing black edges through a nodata pixel value
  • 100. The black edges taken away
  • 101. Saving the geo-referenced Bartholomew map
  • 102. Exporting the geo-referenced Bartholomew map
  • 103. DEMO Online Georeferencing Tool (under development) http://www.georeferencer.org/
  • 104. Workshop structure 1 From paper to computer 2 Web presentation 3 Georeferencing 4 Online publishing of maps
  • 105. Dynamic vs. pregenerated tiles • Traditional dynamic publishing: MapServer, GeoServer, ArcIMS - standard: OGC WMS • Advantages: possibility to change map projections on the fly, interoperability with all GIS tools, broadly accepted standard • Disadvantages: SLOW (not well scalable), not as user-friendly for web visitors, lower quality output (because of the limited rendering time) • New approach: tiles
  • 106. A Brief Look Behind Google Maps... • User-friendly interface. Fast! FAST! • Maps are rendered in advance in a batch, during update of geodata (different approach then with dynamic WMS servers) • The map is cut into tiles, user receives just tiles for extent he is looking at. All tiles has fixed predefined geographic boundaries. • Pre-rendered tiles stored in Google BigTable database. Redundancy. Load-balancing.
  • 108. PROJECTION AND COORDINATE SYSTEM OF GOOGLE MAPS • Lat/Long WGS84 datum coordinates always displayed to users. Popular from GPS devices, strictly used in the KML format. • Map rasters are projected by a global Mercator projection: “Spherical Mercator”. EPSG:900913 / EPSG:3785 (meters) • Conformal, cylindrical. Cropped to square (maximal latitude ~ 85.05 degrees) • Simplified calculation: WGS84 ellipsoid is handled as sphere in all calculation!
  • 109. CONVERSION OF COORDINATES FOR GOOGLE MAPS (GLOBALMAPTILES.PY MODULE) 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
  • 110. TILE ADDRESSING • Google XYZ: origin (x,y)=(0,0) in top-left corner • OSGEO Tile Map Service (TMS) XYZ: origin (x,y)=(0,0) in bottom-left corner of extent • Microsoft QuadTree: by quadrants “12022” • WMS-C (WMS requests for predefined tile extents - cache) / OGC Cashed WMS (extension for tile query) • OGC Web Map Tile Service (WMTS) - draft
  • 111.
  • 112. HOW CAN I PUBLISH MY OWN MAPS THE SAME WAY?
  • 113. TILES ARE SAVED (CACHED) FROM EXISTING DYNAMIC WMS SERVER • Open Source Projects: • TileCache.org (Python) • GeoWebCache.org (Java Servlet) WMS WMS WMS Client Server WMS Tile Cache Web Tiles Client (tiles) (TMS, WMS-C)
  • 114. TILES ARE PRE-RENDERED DIRECTLY • Raster input: • GDAL2Tiles (my GSoC) & MapTiler GUI • MSR MapCruncher • Features (vectors) • Mapnik, GMapCreator Tiles Tiles as static TMS (TMS or others) WMS Proxy WMS Web WMS files (MapServer) Client (tiles) Client
  • 115. MAPTILER (GDAL2TILES) • Generates image tiles (PNG files) from a raster maps (GeoTIFF, JPEG2000, MrSID, ECW, Erdas HFA, BSB, ...) • It uses existing geometadata (WKT, EPSG, World Files) and supports huge rasters (unlimited filesize) • Simple web viewer (OpenLayers, Google Maps API) • KML SuperOverlay Metadata (Google Earth, indexing) • Tile Map Service (TMS) compatibility • Raster warping to Spherical Mercator.
  • 116. DEMO MapTiler Described step-by-step at: http://help.oldmapsonline.org/publish/
  • 117. Recapitulation • http://help.oldmapsonline.org/publish/ • Image publishing: tiles: Zoomify, ... • Alternative: IIPImage (direct from jp2,tif) or commercial tools • Several pan&zoom viewers • Georeferencing: GIS tools • Under development: Georeferencer.org • Map publishing: tiles: MapTiler (beta) • Alternative: MapServer, GeoServer and TileCache, GeoWebCache or commercial ESRI ArcIMS. • Standard: OGC WMS, tiles: TMS & OGC WMTS