Giter Site home page Giter Site logo

jiazheng0609 / taginfo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taginfo/taginfo

0.0 2.0 0.0 4.13 MB

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

Home Page: http://wiki.openstreetmap.org/wiki/Taginfo

License: GNU General Public License v3.0

Ruby 35.81% Shell 2.79% Makefile 0.44% C++ 12.69% CSS 3.87% JavaScript 20.47% HTML 23.92%

taginfo's Introduction

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

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.