Skip to content

Commit

Permalink
POI: multiple categories improvements #950 #991
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Sep 19, 2017
1 parent 4327eb2 commit 2ce3237
Show file tree
Hide file tree
Showing 12 changed files with 535 additions and 557 deletions.
1 change: 1 addition & 0 deletions docs/Changelog.md
Expand Up @@ -6,6 +6,7 @@
- Map frame buffer improvements [#977](https://github.com/mapsforge/mapsforge/issues/977)
- XmlPullParser different implementations [#974](https://github.com/mapsforge/mapsforge/issues/974)
- Desktop: fix blurred map view [#978](https://github.com/mapsforge/mapsforge/issues/978)
- POI: version 2 with multiple categories [#950](https://github.com/mapsforge/mapsforge/issues/950)
- POI: multiple patterns in search [#988](https://github.com/mapsforge/mapsforge/issues/988)
- POI: add non-closed ways [#947](https://github.com/mapsforge/mapsforge/issues/947)
- POI: add geo tagging [#946](https://github.com/mapsforge/mapsforge/issues/946)
Expand Down
8 changes: 4 additions & 4 deletions docs/POI.md
@@ -1,8 +1,6 @@
# POI API

This article describes how to use the POI API from the mapsforge POI library.

**The library is currently in beta state.** It came from the `prototypes` branch.
This article describes how to use the POI API in mapsforge POI library (from `prototypes` branch).

If you have any questions or problems, don't hesitate to ask our public [mapsforge-dev](https://groups.google.com/group/mapsforge-dev) mailing list for help. You can also report bugs and improvement requests via our [issue tracker](https://github.com/mapsforge/mapsforge/issues).

Expand All @@ -14,7 +12,7 @@ The mapsforge POI library uses SQLite for storing POIs. For efficiency reasons A

All reading and writing operations are done via classes implementing the `PoiPersistenceManager` interface. This allows adding, removing and changing POIs at any time. POI categories can be defined on creation time only. Categories are implemented as trees and can be accessed via classes implementing the `PoiCategoryManager` interface.

Externally you can use your favorite SQLite manager for browsing the database, e.g. spatialite-gui.
Externally you can use your favorite SQLite manager for browsing the database, e.g. [spatialite-gui](https://www.gaia-gis.it/fossil/spatialite_gui/index).

## Quick Start

Expand Down Expand Up @@ -91,6 +89,7 @@ Then you add them to a list `tagList.add(new Tag("addr:street", "Bodestraße"))`
The DB schema consists of:
- `poi_categories` with the categories tree
- `poi_data` with the POI information
- `poi_category_map` with the POI categories mapping
- Virtual & shadow correlated tables holding the R-tree index
- `metadata` with the DB metadata

Expand All @@ -99,3 +98,4 @@ The DB schema consists of:
|**Version**|**Date**|**Changes**|
|-----------|--------|-----------|
|1|2015-11-04|Initial release of the specification|
|2|2017-09-12|<ul><li>POI multiple categories</li></ul>|

0 comments on commit 2ce3237

Please sign in to comment.