CartoType & OpenStreetMap
Upcoming SlideShare
Loading in...5
×
 

CartoType & OpenStreetMap

on

  • 2,800 views

Graham Asher's talk at State of the Map 2008, Limerick, Ireland, 13th July '08

Graham Asher's talk at State of the Map 2008, Limerick, Ireland, 13th July '08

Statistics

Views

Total Views
2,800
Views on SlideShare
2,796
Embed Views
4

Actions

Likes
0
Downloads
10
Comments
0

1 Embed 4

http://www.slideshare.net 4

Accessibility

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CartoType & OpenStreetMap CartoType & OpenStreetMap Presentation Transcript

  • CartoType & OpenStreetMap Graham Asher – Cartography Ltd
    • CartoType: a portable map rendering and route finding library written in C++
    • Plug-in data sources
    • How does it use OpenStreetMap data?
  • CartoType architecture Single engine; plug-in data accessors, font accessors and graphics contexts. ctm1 shp fonts: TrueType, PostScript, etc. style sheet (xml)
  • Portability and mobile devices
    • Slower
    • Less memory
    • Poor floating-point support (but now better)
    • Where is the map data kept?
  • The CTM1 data format
    • Table-based binary format
    • First split into layers
    • Then recursive spatial partitioning
    • Name index uses packed trie
    • Compact: current UK data takes 37Mb
  • Converting OSM data to CTM1
    • Existing conversion tool reads SHP files
    • Write new data accessor for OSM
    • Use the Expat XML parser (already used in CartoType for reading style sheets)
    + generate_map_data_type1 data accessors *.osm *.ctm1
  • Routing
    • Works with any data including OSM
    • Sort points, find nodes, create arcs
    • Not mature – turn restrictions not implemented
  • CartoType API & style sheet docs http://www.cartotype.com API docs created using Doxygen. Reasonably full description of how style sheets work. Some ideas may be useful: feature sizes based on map metres, and logarithmic feature scaling, for example.
  • Licensing
    • CartoType commercial license: annual fee pays for source code, support, access to SVN etc.
    • Considering dual license like QT but I know nothing...
    • Perhaps give compiled library to free & open source projects
    • Ideas welcome
    • Plan to add track collection to Windows Mobile demo, which then becomes a free mapping tool