Code Monkey home page Code Monkey logo

of4osm's Introduction

OF4OSM: Ontology from Folksonomy for OpenStreetMap

Model, method and tools for building a knowledge base from the OpenStreetMap folksonomy: the OF4OSM ontology.

Principle

OpenStreetMap (OSM) is a citizen science project that aims at building a spatial database of the World. The geographic features represented in this database (buildings, highways, land use, etc.) are described via geometries (points, ways and polygones) and attributes by the OSM community. The attributes, also called tags, are represented by a key=value pair. For instance, amenity=school describes a school. The OSM folksonomy is the unstructured bag that contains all these OSM tags. Tags are very convenient to use for the OSM contributors. However, the lack of structure inherent to the OSM folksonomy is a major obstacle both for data acquisition and data retrieval. The OF4OSM project aims at semantically lifting the OSM folksonomy into an OSM knowledge base under the form of an ontology : OF4OSM.

What the OF4OSM project does:

  1. Takes a bounding box (bbox) as input
  2. Retrieves OSM tags on the given bbox
  3. Outputs an ontology axtracted from the retrieved OSM tags

Download

Download all-in-one Java archive distribution: of4osm-distrib-1.0.jar

Usage

How to use the .jar file:

  1. Find the bbox of your study area. The boundingbox.klokantech.com Web site can help here. The bbox must be of the form bbox1 bbox2 bbox3 bbox4. For example, the bbox enclosing the city of Grenoble is: 5.677606 45.15414 5.753118 45.214077

  2. Run the of4osm-distrib-1.0.jar file with the bbox as first argument:

java -jar of4osm-distrib-1.0.jar "bbox1 bbox2 bbox3 bbox4"

For example, for Grenoble:

java -jar of4osm-distrib-1.0.jar "5.677606 45.15414 5.753118 45.214077"
  1. Open the output ontology (.owl file) that has been dumped to your current directory (the ontology editor Protégé can help here).

Modules

OF4OSM is a multi-module project composed of the following submodules:

  • CORE: Model and default implementation of the OF4OSM project
    of4osm-core

  • IMPL: Default implementation of the of4osm-core module
    of4osm-impl

  • WS: Tools for querying OpenStreetMap oriented Web Services
    of4osm-ws

  • TOOLS: Tools for manipulating the OSM folksonomy and OF4OSM ontology
    of4osm-tools

  • DISTRIB: The distribution module for building a single-jar of the whole OF4OSM project
    of4osm-distrib


UGA LIG STeamer IdeasLab

of4osm's People

Contributors

adelmehiris avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

of4osm's Issues

negative box's coordinates

Please check the Box's filter, it doesn't permit negative coordinates.

java -jar of4osm-distrib-1.0.jar "-15.8965911469 48.5520968079 4.1424713531 62.8996161452"
INFO: The BBOX must be in the format "decimal decimal decimal decimal".

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.