QutEcoacoustics / workbench-client

workbench-client: a client side browser application for interacting with acoustic workbenches
Other
8 stars 1 forks source link

Visualize #210

Open Allcharles opened 4 years ago

Allcharles commented 4 years ago

Create visualize page (/visualize)(https://www.ecosounds.org/visualize?siteId=1925&extent0=1300543200000&extent1=1304172000000&lane=1925).

Should accept the folloing HTTP Parameters:

atruskie commented 4 years ago

The primary intention here is to port the page.

siteId (number)

(id). Also needs to accept sitedIds (comma delimited) and projectId - each of these is exclusive

extent0 (number) Milliseconds? beginning offset of image to display

Date as a primitive. See Date.valueOf. Represents the left edge of the current view on data.

extent1 (number) Milliseconds? ending offset of image to display

Date as a primitive. See Date.valueOf. Represents the right edge of the current view on data.

lane (number) ???

The currently selected lane/row.

Note the last three parameters are used for making permalinks to the current view (date extent (pan/zoom) and the selected/focused site (lane)). They do not have to be modelled into URL generation features for use elsewhere in the client. Only the visualize page will modify these QSPs.