Maps, mashups and metadata:geospatial standards for access and retrieval

2,154 views
2,054 views

Published on

Showing geo-referenced historical maps overlaid upon Google maps, satellite and terrain layers presentation by C. Fleet, NLS, given at Metadata issues and Web 2.0 services CIGS seminar, Fri 30 Jan, 2009.
http://geo.nls.uk/maps/

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,154
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
58
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Maps, mashups and metadata:geospatial standards for access and retrieval

  1. 1. Chris Fleet, National Library of Scotland <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  2. 2. <ul><li>Geo 2.0 - geospatial applications and data </li></ul><ul><li>Organisations </li></ul><ul><li>Standards Web Map Service Tile Map Service </li></ul><ul><li>Retrieving geo-referenced mapping - selected examples </li></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  3. 3. 1843 mapping mashups (January 2009) http://www.programmableweb.com/tag/mapping
  4. 4. Everything 2.0 - 273 Geo 2.0 initiatives http://bobstumpel.blogspot.com/search/label/GEO 2.0
  5. 5. 2. Open source spatial organisations The Open Geospatial Consortium (OGC) - an international consortium of companies, government agencies and universities who collaborate to develop publicly available interface specifications. eg. Web Map Service. ( www.opengeospatial.org ) The Open Source Geospatial Foundation, or OSGeo , is a not-for-profit organisation whose mission is to support and promote the collaborative development of open geospatial technologies and data. eg. Tile Map Service. OpenLayers (openlayers.org) (www.osgeo.org ) <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  6. 6. <ul><li>3. Standards </li></ul><ul><li>OGC’s Web Map Service </li></ul><ul><ul><li>(www.opengeospatial.org/standards/wms) </li></ul></ul><ul><li>OSGeo’s Tile Map Service </li></ul><ul><ul><li>(wiki.osgeo.org/wiki/Tile_Map_Service_Specification) </li></ul></ul><ul><li>KML (Keyhole Markup Language) </li></ul><ul><ul><li>(code.google.com/apis/kml/documentation/) </li></ul></ul><ul><li>Javascript / AJAX </li></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  7. 7. 3. Standards - OGC’s Web Map Service WMS defines standard protocols for requesting geo-referenced mapping as a URL string: http://geo.nls.uk/wmsconnector/com.esri.wms.Esrimap?SERVICE=WMS &VERSION=1.1.1 &REQUEST=GetMap &LAYERS=Scotland_Small,OS_Quarter,Bart_Half,OS_Popular &STYLES= &SRS=EPSG:4326 &BBOX= -9.25805308169, 54.4515932002, -0.605194997975, 60.8904036625 &WIDTH=900 &HEIGHT=900 &FORMAT=image/png &reaspect=false <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  8. 8. <ul><li>3. Standards - OGC’s Web Map Service </li></ul><ul><li>The Google maps API can easily display an overlay through WMS requests: </li></ul><ul><ul><li> // WMS Server address </li></ul></ul><ul><ul><li>var WMS_NLS = 'http://geo.nls.uk:80/wmsconnector/com.esri.wms.Esrimap?';                 // Create WMSSpec var NLS = createWMSSpec(WMS_NLS, 'NLS', 'NLS', 'Scotland_Small,OS_Quarter,Bart_Half,OS_Popular,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,67,55,56,58,59,60,61,62,63,64,65,66,36,57,68,69,70', 'default','image/jpeg', &quot;1.1.1&quot;);                 // Create a transparent overlay on a Google MapSpec var G_MAP_NLS = createWMSOverlaySpec(G_NORMAL_MAP, NLS, &quot;Historic&quot;, &quot;Historic&quot;);                 // var map = new GMap(document.getElementById(&quot;map&quot;), mapSpecs); map.addMapType(G_MAP_NLS); </li></ul></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  9. 9. NLS WMS delivering 1930s historical mapping: (geo.nls.uk/os6inch/google.html)
  10. 15. Gazetteer for Scotland – mashup using NLS’ Web Map Service layers (www.geo.ed.ac.uk/scotgaz/gaztitle.html)
  11. 16. 3. Standards - OSGeo’s Tile Map Service Much faster results by pre-creating tiles using the Tile Map Service <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  12. 17. (www.maptiler.org/google-maps-coordinates-tile-bounds-projection/)
  13. 18. Tiles of Bartholomew half-inch and OS Popular edition 1930s mosaics http://geo.nls.uk/maps/small/7/62/88.png
  14. 19. 3. Standards - OSGeo’s Tile Map Service Much faster results by pre-creating tiles using the Tile Map Service Format: server-and-url/zoom/x/y.png eg. http://geo.nls.uk/maps/11/1092/1397.png Javascript in Google maps file: var tilelayer = new GTileLayer(GCopyrightCollection(''), mapMinZoom, mapMaxZoom); var mercator = new GMercatorProjection(mapMaxZoom+1); tilelayer.getTileUrl = function(tile,zoom) { if ((zoom < mapMinZoom) || (zoom > mapMaxZoom)) { return &quot;/img/none.png&quot;; } var ymax = 1 << zoom; var y = ymax - tile.y -1; var tileBounds = new GLatLngBounds( mercator.fromPixelToLatLng( new GPoint( (tile.x)*256, (tile.y+1)*256 ) , zoom ), mercator.fromPixelToLatLng( new GPoint( (tile.x+1)*256, (tile.y)*256 ) , zoom ) ); if (mapBounds.intersects(tileBounds)) { return zoom+&quot;/&quot;+tile.x+&quot;/&quot;+y+&quot;.png&quot;; } else { return &quot;/img/none.png&quot;; } } <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  15. 20. MapTiler - open source overlay generator (www.maptiler.org/)
  16. 21. MapCruncher – map geo-referencing and tiling tool (research.microsoft.com/en-us/um/redmond/projects/mapcruncher/)
  17. 22. (geo.nls.uk/maps/glasgow1857/openlayers.html)
  18. 23. Landscape, Environment & History MSc course – Edinburgh University Google maps mashup with historical NLS maps of Edinburgh
  19. 26. (geo.nls.uk/maps/newpopular/google.html)
  20. 27. (geo.nls.uk/maps/lomond_gdal/googlemaps.html)
  21. 30. <ul><li>4. Retrieving geo-referenced mapping – selected examples </li></ul><ul><ul><li>Geo-referenced MARC authority records </li></ul></ul><ul><ul><li>DIGMAP </li></ul></ul><ul><ul><li>Geo-referenced source mapping </li></ul></ul><ul><ul><li>WMS Get Capabilities and TMS tilemapresource.xml </li></ul></ul><ul><ul><li>MapSynthesizer </li></ul></ul><ul><ul><li>CygNUS </li></ul></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  22. 31.   USERS INFORMATION indexed database records - locations Gazetteers - eg. addresses - burghs placenames - parishes counties counties postcodes geo-referenced historical maps Maps - zoomable geographic Catalogue subject headings interface etc. / auto-geo-referencing (current and historical maps) Geographical Co-ordinates Eg. Points or Regions   Geo-referenced search and retrieval using co-ordinates
  23. 32. <ul><li>4. Retrieving geo-referenced mapping </li></ul><ul><li> Geo-referenced MARC authority records </li></ul><ul><ul><li>4.1. Authority records for Minnesota </li></ul></ul><ul><ul><li>Authority record for Minnesota: n 79021675 </li></ul></ul><ul><ul><li>035 -- ‡a (OCoLC)oca00255473 </li></ul></ul><ul><ul><li>040 -- ‡a DLC ‡b eng ‡c DLC ‡d DLC ‡d WaU </li></ul></ul><ul><ul><li>043 -- ‡a n-us-mn </li></ul></ul><ul><ul><li>151 -- ‡a Minnesota </li></ul></ul><ul><ul><li>667 -- ‡a AACR 1 form: Minnesota. </li></ul></ul><ul><ul><li>781 -0 ‡z Minnesota </li></ul></ul><ul><ul><li>034 for the bounding box would be: </li></ul></ul><ul><ul><li>034 -- ‡d W097.5000 ‡e W089.0000 ‡f N049.5000 ‡g N043.0000 $2 [code for Minnesota </li></ul></ul><ul><ul><li>Geographic Data Clearinghouse] </li></ul></ul><ul><ul><li>Authority record for Todd County, Minn.: 81093353 </li></ul></ul><ul><ul><li>035 -- ‡a (OCoLC)oca00638538 </li></ul></ul><ul><ul><li>040 -- ‡a DLC ‡b eng ‡c DLC ‡d WaU </li></ul></ul><ul><ul><li>043 -- ‡a n-us-mn </li></ul></ul><ul><ul><li>151 -- ‡a Todd County (Minn.) </li></ul></ul><ul><ul><li>451 -- ‡w nnaa ‡a Todd Co., Minn. </li></ul></ul><ul><ul><li>781 -0 ‡z Minnesota ‡z Todd County </li></ul></ul><ul><ul><li>034 for the bounding box would be: </li></ul></ul><ul><ul><li>034 -- ‡d W095.1400 ‡e W094.6500 ‡f N046.3800 ‡g N045.7600 $2 [code for Minnesota </li></ul></ul><ul><ul><li>Geographic Data Clearinghouse] </li></ul></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  24. 33. DIGMAP Project - Discovering our Past World with Digitised Maps eContentplus Project: 2005-8 (portal.digmap.eu/)
  25. 37. <ul><li>4. Retrieving geo-referenced mapping – selected examples </li></ul><ul><ul><li>Geo-referenced MARC authority records </li></ul></ul><ul><ul><li>DIGMAP </li></ul></ul><ul><ul><li>Geo-referenced source mapping </li></ul></ul><ul><ul><li>WMS Get Capabilities and TMS tilemapresource.xml </li></ul></ul><ul><ul><li>MapSynthesizer </li></ul></ul><ul><ul><li>CygNUS </li></ul></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  26. 44. 4. Retrieving geo-referenced mapping - WMS GetCapabilities eg. http://geo.nls.uk/wmsconnector/com.esri.wms.Esrimap/NLS?Request=GetCapabilities <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <!DOCTYPE WMT_MS_Capabilities SYSTEM &quot;http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd&quot;> <WMT_MS_Capabilities version=&quot;1.1.1&quot;> <Service> <Name>OGC:WMS</Name> <Title>Web Map Service NLS</Title> <Abstract>ArcIMS 9.2.0 NLS Web Map Service</Abstract> <KeywordList> <Keyword>ArcIMS</Keyword> </KeywordList> <OnlineResource xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot; xlink:href=&quot;http://193.130.15.4:80/wmsconnector/com.esri.wms.Esrimap/NLS?&quot; xlink:type=&quot;simple&quot;/> cont… <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  27. 45. 4. Retrieving geo-referenced mapping - WMS GetCapabilities <ContactInformation> <ContactPersonPrimary> <ContactPerson/> <ContactOrganization/> </ContactPersonPrimary> <ContactPosition/> <ContactAddress> <AddressType>postal</AddressType> <Address/> <City/> <StateOrProvince/> <PostCode/> <Country/> </ContactAddress> <ContactVoiceTelephone/> <ContactFacsimileTelephone/> <ContactElectronicMailAddress/> </ContactInformation> <Fees>none</Fees> cont… <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  28. 46. 4. Retrieving geo-referenced mapping - WMS GetCapabilities <Name>0</Name> <Title>Mini</Title> <SRS>EPSG:4326</SRS> <LatLonBoundingBox minx=&quot;-9.4974214273&quot; miny=&quot;49.7666002469&quot; maxx=&quot;3.6338914748&quot; maxy=&quot;61.5821267789&quot;/> </Layer> <Name>1</Name> <Title>Scotland_Small</Title> <SRS>EPSG:4326</SRS> <LatLonBoundingBox minx=&quot;-8.8991773696&quot; miny=&quot;54.3197736752&quot; maxx=&quot;-0.0406149313&quot; maxy=&quot;61.0333698894&quot;/> </Layer> cont… <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  29. 47. 4. Retrieving geo-referenced mapping – TMS tilemapresource.xml   <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?> <TileMap version=&quot; 1.0.0 &quot; tilemapservice=&quot; http://tms.osgeo.org/1.0.0 &quot;>   <Title> Ordnance Survey 1:1056 Town Plan of Edinburgh mosaic, 1876-7 </Title>   <Abstract />   <SRS> EPSG:900913 </SRS>   <BoundingBox minx=&quot; 55.92116542336204 &quot; miny=&quot; -3.24989585974644 &quot; maxx=&quot; 55.99966056322133 &quot; maxy=&quot; -3.12835862947301 &quot; />   <Origin x=&quot; 55.92116542336204 &quot; y=&quot; -3.24989585974644 &quot; />   <TileFormat width=&quot; 256 &quot; height=&quot; 256 &quot; mime-type=&quot; image/png &quot; extension=&quot; png &quot; /> <TileSets profile=&quot; mercator &quot;>   <TileSet href=&quot; 11 &quot; units-per-pixel=&quot; 292.45173230329510 &quot; order=&quot; 11 &quot; />   <TileSet href=&quot; 12 &quot; units-per-pixel=&quot; 584.90346460659021 &quot; order=&quot; 12 &quot; />   <TileSet href=&quot; 13 &quot; units-per-pixel=&quot; 1169.80692921318040 &quot; order=&quot; 13 &quot; />   <TileSet href=&quot; 14 &quot; units-per-pixel=&quot; 2339.61385842636080 &quot; order=&quot; 14 &quot; />   <TileSet href=&quot; 15 &quot; units-per-pixel=&quot; 4679.22771685272160 &quot; order=&quot; 15 &quot; />   <TileSet href=&quot; 16 &quot; units-per-pixel=&quot; 9358.45543370544330 &quot; order=&quot; 16 &quot; />   <TileSet href=&quot; 17 &quot; units-per-pixel=&quot; 18716.91086741088700 &quot; order=&quot; 17 &quot; />   <TileSet href=&quot; 18 &quot; units-per-pixel=&quot; 37433.82173482177300 &quot; order=&quot; 18 &quot; />   <TileSet href=&quot; 19 &quot; units-per-pixel=&quot; 74867.64346964354600 &quot; order=&quot; 19 &quot; />   <TileSet href=&quot; 20 &quot; units-per-pixel=&quot; 149735.28693928709000 &quot; order=&quot; 20 &quot; />   </TileSets>   </TileMap> <ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  30. 48. MapSynthesizer “a prototype user interface for browsing, searching, and discovering information in a world with millions of maps online” (research.microsoft.com/en-us/um/people/jelson/mapcruncher/mapsynthesizer/)
  31. 49. ‘ Connecting Your Geographies’ (CYGnus) Project - “Getting beyond the silos”
  32. 50. ‘ Connecting Your Geographies’ (CYGnus) Project - Technical Overview http://maps.google.com/maps?q=http://cygnus.geos.ed.ac.uk/cgi_bin/cygnus.pl?CRS=EN%26x=326760%26y=672785%26sg=400%26grm=1000%26hs=150%26rcahms=150%26nls=100%26par=100
  33. 54. <ul><li>4. Retrieving geo-referenced mapping – GeoTIFF metadata </li></ul><ul><ul><li>Driver: GTiff/GeoTIFF </li></ul></ul><ul><ul><li>Files: c:Lomond_S_export.tif </li></ul></ul><ul><ul><li>Size is 6643, 7930 </li></ul></ul><ul><ul><li>Coordinate System is: </li></ul></ul><ul><ul><li>PROJCS[&quot; Projection Name = Transverse Mercator Units = meters GeoTIFF Units = meters&quot;, </li></ul></ul><ul><ul><li>GEOGCS[&quot;OSGB 1936&quot;, </li></ul></ul><ul><ul><li>DATUM[&quot;OSGB_1936&quot;, </li></ul></ul><ul><ul><li>SPHEROID[&quot;Airy 1830&quot;,6377563.396,299.3249646000044, </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;7001&quot;]], </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;6277&quot;]], </li></ul></ul><ul><ul><li>PRIMEM[&quot;Greenwich&quot;,0], </li></ul></ul><ul><ul><li>UNIT[&quot;degree&quot;,0.0174532925199433], </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;4277&quot;]], </li></ul></ul><ul><ul><li>PROJECTION[&quot;Transverse_Mercator&quot;], </li></ul></ul><ul><ul><li>PARAMETER[&quot;latitude_of_origin&quot;,49], </li></ul></ul><ul><ul><li>PARAMETER[&quot;central_meridian&quot;,-2], </li></ul></ul><ul><ul><li>PARAMETER[&quot;scale_factor&quot;,0.999601272], </li></ul></ul><ul><ul><li>PARAMETER[&quot;false_easting&quot;,400000], </li></ul></ul><ul><ul><li>PARAMETER[&quot;false_northing&quot;,-100000], </li></ul></ul><ul><ul><li>UNIT[&quot;metre&quot;,1, </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;9001&quot;]]] </li></ul></ul><ul><ul><li>Origin = (228721.187000000010000,701502.853000000000000) </li></ul></ul><ul><ul><li>Pixel Size = (3.000000000000000,-3.000000000000000) </li></ul></ul><ul><ul><li>Metadata: </li></ul></ul><ul><ul><li>AREA_OR_POINT=Area </li></ul></ul><ul><ul><li>TIFFTAG_SOFTWARE=IMAGINE TIFF Support </li></ul></ul><ul><ul><li>Copyright 1991 - 1999 by ERDAS, Inc. All Rights Reserved </li></ul></ul><ul><ul><li>@(#)$RCSfile: etif.c $ $Revision: 1.10.1.9.1.9.2.11 $ $Date: 2004/09/15 18:42:01EDT $ </li></ul></ul><ul><ul><li>TIFFTAG_XRESOLUTION=1 </li></ul></ul><ul><ul><li>TIFFTAG_YRESOLUTION=1 </li></ul></ul><ul><ul><li>TIFFTAG_RESOLUTIONUNIT=1 (unitless) </li></ul></ul><ul><ul><li>Image Structure Metadata: </li></ul></ul><ul><ul><li>INTERLEAVE=PIXEL </li></ul></ul><ul><ul><li>Corner Coordinates: </li></ul></ul><ul><ul><li>Upper Left ( 228721.187, 701502.853) ( 4d45'34.02&quot;W, 56d10'31.42&quot;N) </li></ul></ul><ul><ul><li>Lower Left ( 228721.187, 677712.853) ( 4d44'39.21&quot;W, 55d57'42.74&quot;N) </li></ul></ul><ul><ul><li>Upper Right ( 248650.187, 701502.853) ( 4d26'19.41&quot;W, 56d10'55.71&quot;N) </li></ul></ul><ul><ul><li>Lower Right ( 248650.187, 677712.853) ( 4d25'30.96&quot;W, 55d58'6.83&quot;N) </li></ul></ul><ul><ul><li>Center ( 238685.687, 689607.853) ( 4d35'30.87&quot;W, 56d 4'19.55&quot;N) </li></ul></ul><ul><ul><li>Band 1 Block=64x64 Type=Byte, ColorInterp=Red </li></ul></ul><ul><ul><li>Band 2 Block=64x64 Type=Byte, ColorInterp=Green </li></ul></ul><ul><ul><li>Band 3 Block=64x64 Type=Byte, ColorInterp=Blue </li></ul></ul><ul><ul><li>Maps, mashups and metadata : </li></ul></ul><ul><ul><li>geospatial standards for access and retrieval </li></ul></ul>
  34. 55. Geo-referenced map information - GeoTIFF coordinates WMS TMS Mashup Future standards ? Prioritise long-term geo-referenced map information for multiple outputs <ul><ul><li>Driver: GTiff/GeoTIFF </li></ul></ul><ul><ul><li>Files: c:Lomond_S_export.tif </li></ul></ul><ul><ul><li>Size is 6643, 7930 </li></ul></ul><ul><ul><li>Coordinate System is: </li></ul></ul><ul><ul><li>PROJCS[&quot; Projection Name = Transverse Mercator Units = meters GeoTIFF Units = meters&quot;, </li></ul></ul><ul><ul><li>GEOGCS[&quot;OSGB 1936&quot;, </li></ul></ul><ul><ul><li>DATUM[&quot;OSGB_1936&quot;, </li></ul></ul><ul><ul><li>SPHEROID[&quot;Airy 1830&quot;,6377563.396,299.3249646000044, </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;7001&quot;]], </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;6277&quot;]], </li></ul></ul><ul><ul><li>PRIMEM[&quot;Greenwich&quot;,0], </li></ul></ul><ul><ul><li>UNIT[&quot;degree&quot;,0.0174532925199433], </li></ul></ul><ul><ul><li>AUTHORITY[&quot;EPSG&quot;,&quot;4277&quot;]], </li></ul></ul><ul><ul><li>etc.! </li></ul></ul>
  35. 56. NLS Historical Map Overlays (geo.nls.uk/maps)

×