CartoType API
Public Member Functions | Static Public Member Functions
CartoType::COsmMapDataAccessor Class Reference

#include <cartotype_osm_accessor.h>

Inheritance diagram for CartoType::COsmMapDataAccessor:
CartoType::CMapDataAccessor

List of all members.

Public Member Functions

CMapDataBaseNewDataBase (TResult &aError, MInputStream &aInputStream)
CT_IMPORT CMapDataBaseNewDataBase (TResult &aError, MInputStream &aInputStream, const TRect &aView, const OsmAttrib::CRuleSet *aRuleSet)
TResult SetPointFormat (TPointFormat aPointFormat)

Static Public Member Functions

static CT_IMPORT CMapDataAccessorNew (TResult &aError)

Detailed Description

A data accessor for OSM (Open Street Map) data files. See http://wiki.openstreetmap.org/index.php/XML_Schema.


Member Function Documentation

CT_EXPORT CMapDataBase * COsmMapDataAccessor::NewDataBase ( TResult aError,
MInputStream aInputStream,
const TRect aView,
const OsmAttrib::CRuleSet aRuleSet 
)

Create a database to read an OpenStreetMap OSM data file.

If aView is non-empty it is the view bounds for the purpose of coastline joining, in 65536ths of degrees.

TResult COsmMapDataAccessor::SetPointFormat ( TPointFormat  aPointFormat) [virtual]

A virtual function that allows the caller to request that map databases created by this accessor return objects in a different point format. The base implementation disallows this and returns KErrorUnimplemented.

Reimplemented from CartoType::CMapDataAccessor.


The documentation for this class was generated from the following files: