diff --git a/backend/README.md b/backend/README.md index 2711bffcd..ec70ffaac 100644 --- a/backend/README.md +++ b/backend/README.md @@ -30,6 +30,7 @@ Names and regions should match above. 1. `gcloud storage --project=$PROJECT buckets create gs://$PROJECT --location=EUROPE-WEST2 --uniform-bucket-level-access` 2. Generate fake scheme data and upload it: `npm run generate-random-schemes && gsutil cp random_schemes.geojson gs://$PROJECT/` 3. Sync current public layers to GCS. This only works if you have S3 access (aka Dustin). Skip these otherwise, or download another way. This might take a few minutes, depending on your connection: `aws s3 sync s3://atip.uk/layers layers; gsutil -m cp -r ./layers gs://$PROJECT/` +4. Also copy private files (currently [only from Ordnance Survey](https://github.com/acteng/atip-data-prep/tree/main/ordnance_survey_layers)) into `gs://$PROJECT/private_layers/v1/`. These have to be generated by a developer; they can't be mirrored from S3, because our S3 bucket is only appropriate for public data. ### Deploy diff --git a/src/lib/browse/LayerControls.svelte b/src/lib/browse/LayerControls.svelte index 566b04777..9c6a790fa 100644 --- a/src/lib/browse/LayerControls.svelte +++ b/src/lib/browse/LayerControls.svelte @@ -1,5 +1,6 @@ + + + OS Speeds + + +

+ The average speed data is collected over a six-month period by + Basemap + from 135,000 vehicle telematic systems and provided through + Ordnance Survey. The averages are grouped by different time periods for weekdays + and weekends. This map shows the highest average. +

+

Data valid as of 1 September, 2023

+

+ License: Contains OS data © Crown copyright and database right + 2023. Made available under the + Public Sector Geospatial Agreement + . +

+
+
+
+{#if show} + + +{/if} + + diff --git a/src/lib/browse/layers/RoadWidthsLayerControl.svelte b/src/lib/browse/layers/RoadWidthsLayerControl.svelte new file mode 100644 index 000000000..8901c7809 --- /dev/null +++ b/src/lib/browse/layers/RoadWidthsLayerControl.svelte @@ -0,0 +1,70 @@ + + + + OS Road widths + + +

+ This is average and minimum road carriageway width (in meters) from + Ordnance Survey. The coloring shows the average width, and the line + thickness has no meaning. Be careful interpreting the data near dual + carriageways and crossing islands. +

+

Data valid as of 1 September, 2023

+

+ License: Contains OS data © Crown copyright and database right + 2023. Made available under the + Public Sector Geospatial Agreement + . +

+
+
+
+{#if show} + +{/if} + + diff --git a/src/lib/maplibre/utils.ts b/src/lib/maplibre/utils.ts index 6c04045b1..b7b94a9d3 100644 --- a/src/lib/maplibre/utils.ts +++ b/src/lib/maplibre/utils.ts @@ -324,6 +324,8 @@ const layerZorder = [ "vehicle_counts", "pct_commute", "pct_school", + "road_widths", + "road_speeds", // Polygons are bigger than lines, which're bigger than points. When geometry // overlaps, put the smaller thing on top