Skip to content

Point of Interest Management

Tim Baccaert edited this page Jul 26, 2017 · 5 revisions

JSON Structure

Every POI set has the following structure:

{
    "name": "<your-name-here>"
    "elements": [
        {
            "lat": 51.1065,
            "lon": 3.7064,
            "name": "<your-point-name-here>",
            "description": "<your-point-description-here>"
        }
    ]
}

If you want a real example you can look inside data/poisets at any of the already existing sets. Save the file as <your-name-here>.json inside the data/poisets folder.

Updating the database

To make the app use the new set, all you have to do is run the data/update.sh shell script and restart the server. Please note that every set can be used either positively or negatively at the moment.

Partners

imec - IDLab - Ghent University

Clone this wiki locally