Skip to content

Commit

Permalink
Merge branch 'deploy' into min-bins
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate-Wessel committed Jan 16, 2025
2 parents ee28261 + fd2ad68 commit 076cf84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app/nodes/nearby/here.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
cg_nodes.geom::geography <-> ST_MakePoint(%(longitude)s, %(latitude)s)::geography AS distance,
array_agg(DISTINCT InitCap(streets.st_name)) FILTER (WHERE streets.st_name IS NOT NULL) AS street_names
FROM congestion.network_nodes AS cg_nodes
JOIN here.routing_nodes_21_1 AS here_nodes USING (node_id)
JOIN here_gis.streets_att_21_1 AS streets USING (link_id)
JOIN here.routing_nodes_23_4 AS here_nodes USING (node_id)
JOIN here_gis.streets_att_23_4 AS streets USING (link_id)
GROUP BY
cg_nodes.node_id,
cg_nodes.geom
Expand Down
1 change: 1 addition & 0 deletions backend/tables/travel_time_cache.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CREATE TABLE nwessel.cached_travel_times (
uri_string text CHECK(uri_string ~ '^\/\d+\/\d+\/\d{1,2}\/\d{1,2}\/\d{4}-\d{2}-\d{2}\/\d{4}-\d{2}-\d{2}\/(true|false)\/[1-7]{1,7}$'),
commit_hash text,
results jsonb NOT NULL,
first_requested timestamptz DEFAULT NOW(),
PRIMARY KEY (uri_string, commit_hash)
);

Expand Down
1 change: 1 addition & 0 deletions frontend/src/Map/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Map as MapGL, useMap, Source, Layer } from 'react-map-gl/maplibre'
import "maplibre-gl/dist/maplibre-gl.css"
import { useContext, useState, useEffect } from 'react'
import { DataContext } from '../Layout'
import { domain } from '../domain.js'
Expand Down

0 comments on commit 076cf84

Please sign in to comment.