Metacity
  • Welcome
  • Metacity
    • Installation
    • [dev] CGAL Dependency
    • Data Import
    • Models and Attributes
    • Layers
    • Grids
    • Quad-trees
    • Dockerized Processor
    • Development notes
  • Archives
    • DataAPI
      • Development
    • MetacityGL
      • Installation
      • Creating a MetacityGL App
      • Writing Custom Layers
      • Loading Metacity Data
      • Development notes
    • BananaGL
      • Development
    • AMOS
      • Synthetic Population
        • Case Studies
        • Data Specification
        • Activity Chains
        • Spatial Distribution
        • MATSim population input and comparison
        • Households
      • MATSim
        • Basic Info
        • Running Scenario
          • Config File
          • Current state
        • Input information
          • OSM
          • Filtering GTFS
          • Coordinates
        • Output
          • Processing
      • OICT
        • MapResolver
      • Resources
        • Trafic Simulation
        • MATSim
        • Vis and Meta Software
        • Synthetic Population
        • Public Relations
        • Inspiration
    • Metacity Block Edition
      • Epic Games Mega Grant
      • 🧠Internal notes
  • Links
    • Homepage
    • GitHub
  • Code of Conduct
Powered by GitBook
On this page
  • Publishing Data
  • Data API Frontend
  • Dataset Descriptions
Edit on GitHub
  1. Archives

DataAPI

Tile service providing GLTF models for BananaGL library

PreviousDevelopment notesNextDevelopment

Last updated 2 years ago

The service frontend is available at .

As this is a service, it consists of several components:

  • The data storage is just a good old filesystem on our server. It contains folders of data exported from Metacity - see

  • The catalog frontend is a small Flask application called

  • The data is served by Nginx - for more details, see

Publishing Data

Currently, we need to upload the processed data to the server manually. If you are interested in us opening the access to others, !

Data API Frontend

The frontend is a small Flask application, which scans the filesystem on request and presents a list of found datasets. It operates based on a simple config:

{
    //root directory, where the dataset directories are stored
    "datasetDir": "/home/monika/data", 
    //url to prepend before each directory name 
    "rootAddress": "https://data.metacity.cc/"
}

Dataset Descriptions

It is possible to add a more detailed description to each datasets by placing a description.json file into the dataset directory next to the obligatory layout.json. The json gets rendered on the frontend above the dataset url.

api.metacity.cc
DataAPI
Development page
get in touch with us
Exporting data