diff --git a/backend/app/nodes/nearby/here.py b/backend/app/nodes/nearby/here.py index 624b485..1c19ec4 100644 --- a/backend/app/nodes/nearby/here.py +++ b/backend/app/nodes/nearby/here.py @@ -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 diff --git a/backend/tables/travel_time_cache.sql b/backend/tables/travel_time_cache.sql index a030f0e..e2406b3 100644 --- a/backend/tables/travel_time_cache.sql +++ b/backend/tables/travel_time_cache.sql @@ -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) ); diff --git a/frontend/src/Map/index.jsx b/frontend/src/Map/index.jsx index 015561a..2057c89 100644 --- a/frontend/src/Map/index.jsx +++ b/frontend/src/Map/index.jsx @@ -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'