Skip to content

Commit

Permalink
Fix the download bbox path specs to conform to the latest geoparquet-…
Browse files Browse the repository at this point in the history
…wasm release.
  • Loading branch information
Benjamin Clark committed Nov 14, 2024
1 parent 2a06446 commit 6f71cf5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions site/src/nav/DownloadButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ function DownloadButton({ mode, zoom, setZoom, visibleTypes}) {
console.log(bounds);

//Send those to the download engine
const minxPath = ["bbox", "xmin"];
const minyPath = ["bbox", "ymin"];
const maxxPath = ["bbox", "xmax"];
const maxyPath = ["bbox", "ymax"];
const xmin = ["bbox", "xmin"];
const ymin = ["bbox", "ymin"];
const xmax = ["bbox", "xmax"];
const ymax = ["bbox", "ymax"];

const readOptions = {
bbox: bbox,
bboxPaths: {
minxPath,
minyPath,
maxxPath,
maxyPath,
xmin,
ymin,
xmax,
ymax,
},
};
let downloadCatalog = getDownloadCatalog(bbox, visibleTypes);
Expand Down

0 comments on commit 6f71cf5

Please sign in to comment.