Skip to content

Latest commit

 

History

History
95 lines (64 loc) · 2.43 KB

README.md

File metadata and controls

95 lines (64 loc) · 2.43 KB

Taginfo

Brings together information about OpenStreetMap tags and makes it searchable and browsable.

Documentation: See the Taginfo page at the OpenStreetMap wiki.

Live System: taginfo.openstreetmap.org

Files

  • /sources - import scripts
  • /web - web user interface and API
  • /examples - some misc example stuff
  • /tagstats - C++ programs to create database statistics etc.

Prerequisites

It uses:

  • Ruby (must be at least 1.9.1)
  • Mongrel or Apache2 mod_passenger
  • Sinatra web framework
  • Rack Contrib Gem (for Rack::JSONP)
  • JSON gem (install with gem, Debian/Ubuntu packages are too old and buggy)
  • curl binary
  • sqlite3 binary and ruby libs
  • Optional: Parallel bzip (pzbip2)

Install the Debian/Ubuntu packages:

$ sudo apt-get install curl sqlite3 ruby-sqlite3
$ sudo apt-get install ruby-passenger libapache2-mod-passenger

Install the Gems:

$ sudo gem install rack rack-contrib sinatra sinatra-r18n json

Data Import

See Taginfo/Installation at OpenStreetMap's wiki.

Web User Interface

You need a /data directory (in the parent directory of the directory where this README.md is). It must contain the sqlite database files created in the data import step or downloaded from page taginfo.openstreetmap.org/download.

To start the web user interface:

$ cd web
$ ./taginfo.rb

Javascript

Taginfo uses the following Javascript libraries:

All the Javascript and CSS needed is already included.

Thanks

To the many people helping with bug reports, code and translations.

Contact

There is a mailing list for developers and people running their own instances of taginfo: taginfo-dev

Author

Jochen Topf ([email protected]) - https://jochentopf.com/