Saturday, December 20, 2008

Meet us at ELAG 2009!


We have proposed to organize a workshop as a part of the ELAG 2009: New Tools of the Trade conference, which will be held on 22-24 April 2009 in Bratislava, Slovakia. We have just been informed that our proposal has been accepted by the programme committee.

The emphasis of the ELAG conference is on new developments and practical experience with library technology, but workshops make ELAG different from most conferences. They are taking place during the first two days in between plenary sessions while on the last day, each workshop will present its results in a plenary meeting.

We look forward to see you and to discuss our project and related topics!

Thursday, November 27, 2008

Mashups and tiles a la Google Maps

Old maps publishing is an important part of the workflow which is being developed by our project. We would like to simplify this process as much as possible and that is why OldMapsOnline.org supported the development of the MapTiler application, which is in early beta now.

Once you have a georeference for your maps, MapTiler can greatly simplify the rest of the publishing process. It is as easy to use as Zoomify: it generates tiles from your maps and you just place those tiles on your web server in the same way you did with Zoomify tiles.

The main difference is that MapTiler can produce tiles which are compatible with Google Maps, Virtual Earth, Yahoo Maps and also with Google Earth for 3D presentation. You can use such tiles to overlay the satellite imagery in mashups, combine them together and create new map applications.

A simple presentation similar to Grand Canyon USGS raster map example is generated by the MapTiler automatically.

But you can go further. You can put on the map some placemarks, add search functionality, overlay other data or different raster maps etc. just by playing with the template and modify a bit the JavaScript code.

If you plan to create such mashups with map tiles you should read the Google Maps API documentation or alternatively you can use OpenLayers open-source project if you don't want to depend on a commercial company like Google.

Google Maps Coordinates, Tile Bounds, ProjectionWe have just released a new online tool which could be an excellent starting point for people who are interested in publishing raster maps as tiles and are already familiar a bit with Google Maps API. This tool can help you to understand how the tiling using Spherical Mercator works in Google Maps, Virtual Earth, Yahoo Maps, OpenStreeMap and other services. It shows you how the tiles are referenced and how they are stitched together in the web browser. It is part of MapTiler documentation.

It also contains all the math you might need to overlay your own geodata from external sources be it tiles pre-generated by Maptiler/GDAL2Tiles, MSR MapCruncher, tiles generated dynamically by WMS servers and cached by TileCache etc.

The online tool visualizing the tiles is available here:



BTW Some old maps were published with the beta version of the MapTiler/GDAL2Tiles already. Have a look at Historical Map Overlays from National Library of Scotland: http://geo.nls.uk/maps/.

Monday, October 27, 2008

MapAnalyst Online: Accuracy of old maps

MapAnalyst is a software for the accurate analysis of old maps. Its main purpose is to compute distortion grids and other types of visualizations that illustrate the geometrical accuracy and distortion of historical maps.

The software uses pairs of control points on an old map and on a new reference map. The control points are used to construct distortion grids, vectors of displacement, accuracy circles, and isolines of local scale and rotation. As a by-product, MapAnalyst also computes the old map's scale, rotation and statistical indicators.



Bernhard Jenny from ETH Zurich, author of this tool, is working with us on an online interface for the generation of the accuracy visualizations. Our online georeference tool will give excellent base for this functionality, because we will have there already a database of Ground Contol Points, which we use to reference the maps and to generate metadata. We would like to use those GCPs also to generate visualizations a la MapAnalyst directly from the webbrowser.

Right now we just have simple prototypes and a lot of work in front of us. But in the end, as soon as you specify the control points for your map, you will be able to get a visualization similar to the one you see in this blog post just by one click of a mouse. The visualization will appear directly over the web presentation of your map. There will also be a possibility to download a high quality print-ready version (probably in SVG format).

The prototypes of the accuracy analysis online visualization of an old map of Switzerland:
MapAnalyst Online: Raster Demo

We will be using GeoJSON vector format like in this prototype to display the visualization:
MapAnalyst Online: Vector Demo

MapAnalyst is an open-source project so the online version is going to be available as an open-source as well. We will post progress reports on this blog.

Tuesday, September 2, 2008

Article: Tiles as an approach to on-line publishing of scanned old maps, vedute and other historical documents




An article describing open-source tools for publishing scanned old maps and also prototypes and planned tools of our grant was published in the latest issue of e-Perimetron - the international quarterly e-journal on sciences and technologies affined to history of cartography and maps.

Summary of the article:

This paper describes a complete process of publishing of historical maps using a collection of freely available open-source tools. Special attention is being paid to the tiling approach for online map publishing to achieve compatibility with mapping web applications like Google Maps or Google Earth. Format and cartographic projection of the tiles used in such systems is described together with software projects which can be used to produce them.

The article also proposes an alternate simplified workflow for scanned old maps publishing. It is targeted on libraries and other memory institutions which are digitizing historical documents but do not have the resources for their correct geo-referencing. The web-based tools necessary for this workflow are now in the development through the OldMapsOnline.org project (http://www.oldmapsonline.org/).

Citation:

Pridal, P; Zabicka, P. (2008). 'Tiles as an approach to on-line publishing of scanned old maps, vedute and other historical documents'. e-Perimetron Vol. 3, No. 1, pp. 10-21:
http://www.e-perimetron.org/Vol_3_1/Pridal_Zabicka.pdf

Wednesday, August 27, 2008

Old Maps Search Interface - ideas and existing projects

How should the search interface produced by our project look like ?

Let's have a look first at existing implementations of such search...

One of the best map search interfaces is now definitively the Google Maps interface. Clean, straightforward, user-friendly and not over-complicated. This will surely be the first inspiration for our work.

But we need more than a text search, in fact we need "Where, When, What and Who" search approach analogous to Electronic Culture Atlas Initiative (ECAI):



Other inspiring interfaces were developed by Alexandria Digital Library (look at their WebClient) and by DigMap.eu (look at their Portal) and other related projects.

Some time a go we used (open source) TimeMap.net system for similar kind of search on a small collection in the Moravian Library in Brno (you can search subset of Old Map and Manuscript collection on the map and filter results by time and fulltext query at http://timemap.mzk.cz/).

Unfortunately the TimeMap project is not able to handle any larger number of documents as all the data are loaded into a client-side based Java Applet.

Therefore, we are looking for usable building blocks for a new search interface, which should be strictly web-based (JavaScript, AJAX) and which will allow us to use powerful spatial search algorithms on the server side (we will write about them later).

For a map query window we would like use maps data published by Google, Microsoft, Yahoo or OpenStreetMap. That should be relatively easy as all of these are supported by an open-source OpenLayers project.

Second component of the search interface is a web-based timeline widget, similar to the one implemented in Google Labs Experimental Timeline View:



We did a research into projects implementing Timeline for selecting a time range or date range and summarized the result list on our Wiki.

If the publishing format of digitized maps and an existing georeference data allow us to overlay maps we will implement an interface similar to MapSynthesizer - a scalable prototype user interface for browsing, searching, and information discovery. MapSynthesizer has been developed by Microsoft Research and published online as open-source. Unfortunately, its source code is almost unusable and we would like to base this kind of interface on OpenLayers anyway, rather than on one specific map API (Virtual Earth in this case).

Anyway, you can have a look at this really nice vision of a future user interface for online map libraries:




More info about MapSynthesizer including source code, live prototype (IE only) and a PDF article about this project is available online.


In case you have anything to say about your expectations from search interface, or feel that some project is missing on the linked lists... don't hesitate and write a comment to this blog post!

Wednesday, July 23, 2008

Georeferencing Images by Control Points: TransGen and gcps2wld utility

We have just released TransGen, a utility based on GeoTools/Java. It allows you to generate a best fitting affine transformation from the set of control points.

The set of control points can be generated for example by our online tool prototype and has a simple text format: "latitude longitude pixelx pixely" per line. A sample of file with GCPS points and related JPG image derived from Natural Earth II is available in our code repository.

The utility generates a World File, which represents the best fitting transformation for given set of ground control points (GCPs) in a format that can be used by virtually any GIS system.

The process of image registration is done by an algorithm, which allows you to restrict some of the standard operations. By default all the six affine operations are applied (translate x, translate y, scale x, scale y, rotate, skew).



But you can set constant value for some of the operations, thus for example eliminating the skew/shear (this is what you need for generation of KML for Google Earth which only supports affine5) or rotation (when you know that the map has north orientation already). There is also a possibility to compute the best similarity transformation.

You can download the command line utility implementing this algorithms:


TransGen source code is available in our code repository. The programming and design of the algorithm was done by Jan Jezek and was funded from our grant. The main functionality is now available as part of Java GeoTools package, and therefore available to the community as well as to other programmers.

We are going to embed the algorithms from this tool in the user friendly web-based tool we plan to develop to produce georeference for scanned maps. We have converted this utility to the Python programming language for production use (gcps2wld.py), where we used Affine6 and Affine5 implementation from excellent open-source MapAnalyst application.

Note:
GeoTools.org is being used by OpenSource projects like GeoServer or uDig. Plenty of websites and information systems are profiting from the functionality provided by this library. For example Great Britain Historical GIS Project is utilizing it for development of its http://www.visionofbritain.org.uk/ website)

Tuesday, July 15, 2008

Introduction of OldMapsOnline.org

The presentation of our project, together with a demo of prototype tools is the fastest way for anybody to see what we are working on.

If you have 15 minutes you can have a look at the OldMapsOnline.org related part of the presentation "Tiles as an approach to on-line publishing of scanned old maps, vedute and other historical documents" (SlideShow) from 3rd International Workshop on Digital Approaches to Cartographic Heritage, Barcelona, Catalunya, Spain 26 - 27 June 2008 organized by the ICA Commission on Digital Technologies in Cartographic Heritage and the Institut Cartogràfic de Catalunya.



Link to the video playback.

Monday, June 23, 2008

Image Server IIPImage now supports Zoomify

Zoomify tiles are very popular for publishing old maps and other historical documents - it is the easiest way of publishing of large scanned images on the web. Also, the free Flash based Zoomify Viewer looks very nice. Zoomify works with directory structure which contains image tiles and accompanying XML. You can just upload it all to a server and you have your image online. Zoomify tiles are going to be supported in all our tools for georeferencing and searching of old maps.

Now you can also use the freely available image server IIPImage to deliver tiles from your TIFF files on demand, but still use the same viewer. This way the data from your digital repository can be used both for long-term digital preservation and also for online publishing.

IIPImage support for JPEG2000 format as the source raster image is scheduled for the next year by our grant.

IIPImage is quite easy to setup on your server which runs UNIX or Windows (now Microsoft IIS is supported too).

The default Zoomify viewer with tiles generated by IIPImage:










Fullscreen version of the same viewer

Behaviour for the user is practically identical to the images served from small static files from the disk. IIPImage has support for cashing and is already a mature project, used for example in labs of Louvre in Paris.

Your image is at the same time available also by an IIP protocol, therefore you can also use the native clients supporting this protocol. One of the best such viewers is a very nice AJAX based IIPMooViewer.

Development of Zoomify extension was done with our funding by Ruven Pillay, maintainer and developer of the IIPImage. Source code is now available in IIPImage SVN at SourceForge. It is going to appear in next stable version.

Note: a project j2ktilerenderer is also generating Zoomify tiles - from JPEG2000.

Thursday, June 12, 2008

OpenLayers support for Zoomify - first version

OpenLayers is an open-source JavaScript based mapping client a la Google Maps.

OpenLayers can display several map sources, like maps from Google Maps, Yahoo, Microsoft Live Maps as well as from any WMS compatible map server. Therefore you can combine maps from different sources, you can even create and modify vector features or sketch on top of the maps - just like when you create your own maps in Google My Maps.

We have extended OpenLayers project with functionality needed to display Zoomify tiles (source code of this patch is here).

Simple example displaying Zoomify tiles in OpenLayers is in our code repository:

http://oldmapsonline.googlecode.com/svn/trunk/openlayers/examples/zoomify.html

(we will improve this patch - it's loading is very slow for now as OpenLayers is not merged into one file and it is not compressed)

This is the core functionality of our planned georeference tool (GUI prototype), which will allow anyone to generate georeference metadata for already published maps: especially those published as zoomify tiles, TMS Tiles or through a WMS standard from a MapServer.

Friday, May 30, 2008

OldMapsOnline Project Started

We are pleased to announce a start of the OldMapsOnline project! We aim to devolop freely available/open source tool chain and methodology which will allow anyone (namely libraries, archives and museums) to publish scanned old maps in both GIS and user friendly, standards based way.

The system will:

  • provide online georeferencing tool and online rectifier for large digitised maps which will generate geo-metadata for cataloguing the maps, search purposes as well as presentation and overlay of maps
  • suggest or develop software tools useful for publishing huge collections of scanned old maps
  • facilitate search for digitised maps and graphics linked to a certain geographic location
  • provide user friendly search interface using geographic and temporal information (marking an area on a map, timeline, map ranking)
  • be available in English and Czech and it will be possible to translate it into other languages.


We also plan to contribute to existing open source projects such as OpenLayers, MapServer, GDAL and IIPImage.

The four-year project (2008-2011) is backed by the Moravian Library in Brno with financial support from the Ministry of Culture of the Czech Republic as a R&D project# DC08P02OUK006.

Have a look at online video from presentation of prototypes of our tools to get more information.