What is OmniSci?
is the analytics platform focused on speed. At the core is our open source SQL database that has been built from the ground up to run on GPUs, taking advantage of the massive parallel processing and fast, built-in memory to make SQL queries run 100-200 times faster than mainstream SQL databases on CPUs. On top of that we have built a rendering engine and a visualization platform that take advantage of the fast SQL core to make even the largest datasets fully interactive.
Check out our to see 12 billion rows of telematics data, queried and visualized in milliseconds, with no need for aggregation or sampling.
We’re very excited to be partnered with Uber for this challenge, using the Travel Times data. This public dataset includes average travel times between traffic analysis zones, and offers insight into how speeds are changing across an entire road network.
- Uber Movement Visualizer - create a custom web app, using OmniSci on the backend and Uber’s kepler.gl on the frontend, that visualizes all of the Uber Movement data. Take a look at the existing public . How would you improve it? If we wanted to make all of the data across all of the regions available in a single interface (which is possible with OmniSci), what would it look like? (See the app as a reference.)
- Traffic App - create a custom application (mobile or web app) that visualizes a key finding or predictive capability based on the Uber Movement data.
- Example 1: given a user’s location (GPS or zip code), estimate the current and future travel times to any other destination in the region.
- Example 2: given home and target locations, find optimal commuting times between the two destinations. Or, given a desired target location, find optimal locations that are within a given commute time.
(See the app as a reference.)
- Other Challenges - Feel free to use OmniSci with any of the other CalHack challenges, to help make data from your hack visual and interactive. We’re offering free instances of OmniSci to all CalHack participants, even if you’re not hacking one of our challenges.
Judging & Prizes
- We will be judging each hack on four equal criteria:
- Technical Innovation
- Polish (design)
- Effective use of OmniSci, Uber Movement, and kepler.gl
- Grand prize: each member of the team will get a pair of Apple AirPods or an Amazon gift card of equal amount.
- Second prize: each member of the team will receive $100 Uber credit.
- All OmniSci challenge participants will get the chance to have lunch and meet the engineers at our San Francisco office. We’d love to have you come by, share your experiences using OmniSci, and learn more about how we do what we do.
- Create an OmniSci Cloud Account - one person on the team should go to and register with your school associated .edu email.
- Invite the Rest of the Team - once your account is activated, click the SETTINGS link in the upper right corner of the OmniSci interface. From there, you’ll see a TEAM tab where you can invite the other members of the team. The invited users will have a role of Viewer by default, we suggest you change it to Admin to grant them full privileges.
- Load Uber Movement Data - To load the Uber Movement data into OmniSci:
- Click on DATA MANAGER in OmniSci Immerse -> click Import Data
- Click Import data from Amazon S3 -> select the S3 LINK tab
- Uncheck Private Data checkbox
- In FULL LINK URL textbox patse:
- Click Preview and you will see a sample rows from the imported dataset with the assigned data type
- The name of the table is auto-assigned, so click Import Table to save the dataset into the table.
- Explore the Data in a Dashboard (no coding required) - On the DASHBOARDS tab, click the NEW DASHBOARD button in the upper right side of the screen. Click Add Chart and select a chart type from the top of the chart editor. Helpful videos can be found on page, and detailed instructions on various chart types are available on the page. You can use the dashboard to explore the Uber Movement data and see what local traffic patterns are. You can also upload other public datasets to see how those traffic patterns are influenced by construction, accidents, weather, or other events. Be creative - find as many relevant datasets as you can.
- OmniSci API Access - OmniSci Cloud Super Admins, Admins, and Developers can each create a single read key and a single write key. To do this, select SETTINGS from the upper right-hand corner of OmniSci, and then the DEVELOPER tab. Click Create Write Key and note the API Key Name and API Key Secret.
- OmniSci Python Connection - The code segment below shows how you will use the API key name and key secret to connect to OmniSci using the python library. We’ll use the OmniSci API key name for write access and the corresponding API key secret to initialize the connection variable. All API access goes through the same host, use2-api.mapd.cloud, which then automatically forwards the request to the correct cloud instance based on the key name. The default database name is mapd and you will connect using HTTPS port 443.
- user_str = 'API Key Name'
- password_str = 'API Key Secret'
- host_str = 'use2-api.mapd.cloud'
- dbname_str = 'mapd'
- connection = connect(user=user_str, password=password_str, host=host_str, dbname=dbname_str, port=443, protocol='https')
- TweetMap Sample Code - We created a custom application using all of the relevant OmniSci APIs (connector, charting and rendering). Read the that talks about how we did it, and take a look at the .
- LIDAR Visualization - We created a custom, 3D application on a LIDAR dataset. The is explained in this , and shows how to connect to the OmniSci backend and run SQL queries. is an open source tool built on deck.gl for geospatial data analysis. The has examples and source code.
- Machine Learning Demo - We’ve created a few that explain how to integrate OmniSci into a Machine Learning pipeline. The code makes use of the Python library to extract the desired features into a dataframe, and then pass them off to ML libraries. Refer to this for more details.
- Join the CalHack and look for the #OmniSci channel. Our trusty tribe of engineers will be available online to answer any questions.
- Come to our on Saturday from 11am-12 noon at SCET, where we’ll walk through how to use the OmniSci APIs to build custom apps (#1 and #2 of our challenges). Come join to learn or ask questions. (We like donuts, so there will be donuts.)