|
CartoType API
|
#include <cartotype_osm_accessor.h>
Public Member Functions | |
| CMapDataBase * | NewDataBase (TResult &aError, MInputStream &aInputStream) |
| CT_IMPORT CMapDataBase * | NewDataBase (TResult &aError, MInputStream &aInputStream, const TRect &aView, const OsmAttrib::CRuleSet *aRuleSet) |
| TResult | SetPointFormat (TPointFormat aPointFormat) |
Static Public Member Functions | |
| static CT_IMPORT CMapDataAccessor * | New (TResult &aError) |
A data accessor for OSM (Open Street Map) data files. See http://wiki.openstreetmap.org/index.php/XML_Schema.
| 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.
1.7.5.1