Giter VIP home page Giter VIP logo

overscape-server's Introduction

Overscape

Overscape is a replacement for some of the backend services for the Microsoft Soundscape iOS app.

It serves map data by sending queries to a public or privately-hosted Overpass server. Since it doesn't store its own data, it should be simpler to deploy and run than the server code provided by Microsoft.

Using with Soundscape app in a simulator

  1. In this repository, run the server:
    1. To use a public Overpass server as the data source, run:
    $ docker build -t overscape .
    $ docker run -it --rm -p 8080:8080 overscape
    
    1. Alternatively, to create a local Overpass container with a small dataset (Washington, DC):
    $ docker-compose up --build
    
    1. To confirm the server is up and serving JSON data, use a browser to visit a tile URL like http://localhost:8080/tiles/16/18745/25070.json
  2. In the Soundscape repository, in source code file apps/ios/GuideDogs/Code/Data/Services/Helpers/ServiceModel.swift at line 36, set the productionServicesHostName value to http://localhost:8080.
  3. Open apps/ios/GuideDogs.xcworkspace in Xcode, and run the iOS simulator.
    1. To trigger queries to our local server, set "Location" (under the "Feature" menu) to a value that simulates moving, like "City Run."
    2. You may also need to install a text-to-speech voice in the iOS settings.

Running the original Soundscape server

It is also possible to run the original Soundscape server code as provided by Microsoft. Unlike Overscape, the Microsoft version involves loading and hosting of bulk OpenStreetMap data in a PostGIS database. I have put together a docker-compose file that contains instructions on how to spin up the necessary services.

overscape-server's People

Contributors

steinbro avatar

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.