CartoType & OpenStreetMap

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    CartoType & OpenStreetMap - Presentation Transcript

    1. 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?
    2. CartoType architecture Single engine; plug-in data accessors, font accessors and graphics contexts. ctm1 shp fonts: TrueType, PostScript, etc. style sheet (xml)
    3. Portability and mobile devices
      • Slower
      • Less memory
      • Poor floating-point support (but now better)
      • Where is the map data kept?
    4. 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
    5. 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
    6. Routing
      • Works with any data including OSM
      • Sort points, find nodes, create arcs
      • Not mature – turn restrictions not implemented
    7. 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.
    8. 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

    + guest69c941guest69c941, 2 years ago

    custom

    852 views, 0 favs, 0 embeds more stats

    Graham Asher's talk at State of the Map 2008, Limer more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 852
      • 852 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 7
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories