Skip to content

Commit

Permalink
Export: Fix invalid export identifier
Browse files Browse the repository at this point in the history
This caused our setup to break; Follow up to 98e24d7
  • Loading branch information
tordans committed Jan 24, 2025
1 parent 60461f3 commit 432269e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions app/scripts/MapboxTilesets/datasets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,13 @@ export const tilesetConfigs: Record<
uploadUrl: 'https://studio.mapbox.com/tilesets/hejco.7h5266ql/#14/52.51622/13.37036',
bbox: bboxPartOfNorthGermany,
},
aggregated_lengths: {
sourceLayer: 'aggregated_lengths',
uploadUrl: 'https://studio.mapbox.com/tilesets/hejco.TODO/#14/52.51622/13.37036',
bbox: bboxPartOfNorthGermany,
},
// There is no export function for the statistics table, so we cannot use this script to update the data.
// See `app/src/app/regionen/[regionSlug]/_mapData/mapDataSources/export/exportIdentifier.ts` for more.
// aggregated_lengths: {
// sourceLayer: 'aggregated_lengths',
// uploadUrl: 'https://studio.mapbox.com/tilesets/hejco.TODO/#14/52.51622/13.37036',
// bbox: bboxPartOfNorthGermany,
// },
todos_lines: {
sourceLayer: 'todos_lines',
uploadUrl: 'https://studio.mapbox.com/tilesets/hejco.1yvm8bes/#14/52.51622/13.37036',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const exportApiIdentifier = [
'barrierLines',
'boundaries',
'boundaryLabels',
'aggregated_lengths',
// 'aggregated_lengths', // Does not work because the table does not conform to the required table structure with `tags` and `meta`
'todos_lines',
] as const

Expand Down

0 comments on commit 432269e

Please sign in to comment.