Closed fm3 closed 12 months ago
We need to determine what we want to read: Here is an example Neuroglancer URI JSON:
{"dimensions":{"x":[4e-9,"m"],"y":[4e-9,"m"],"z":[3e-8,"m"]},"position":[100074.5,100000.5,4998.23583984375],"crossSectionScale":1,"projectionScale":262144,"layers":[{"type":"image","source":"precomputed://s3://bossdb-open-data/morgan2020/lgn/em","tab":"rendering","opacity":0.46,"blend":"additive","shaderControls":{"normalized":{"range":[78,255]}},"crossSectionRenderScale":0.12019062105556629,"name":"em"}],"selectedLayer":{"visible":true,"layer":"em"},"layout":"4panel","selection":{"layers":{"em":{"annotationId":"data-bounds","annotationSource":0,"annotationSubsource":"bounds"}}}}
We could read:
These are partly DatasetViewConfig and partly LayerViewConfig. Possibly not everything can be done by using the regular explore (since we only return layers there, not datasets)
There are also some additional properties, I don't understand all of them. What should be read within the scope of this issue?
I’d say layer name, type and source uri should be enough for the moment :) Thanks for looking into this!
It would be nice if you could just paste the URI of a dataset viewed in neuroglancer into wk and have it searched for explorable dataset layers.