-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getTile(x,y,z) method for zoom-able maps #13
Comments
Hello! I'm just adding the links from the e-mails we exchanged, for future reference:
|
probably need to store |
Yeah, that may help, not sure about the package performance and tree storage overhead though. For 2D point indexing, the simplest&fastest solution (by far) is usually to have the dataset pre-sorted by z-order integerized coordinates, and stored in full tree in array (like heaps, see e.g. treaps) for cache efficiency -- that's literally few lines of code, and doesn't have any memory overhead, which is a grave concern if we want to render 1G points. |
useful resource for implementing tile and image coordinates A python script that tiles images for you gdal2tiles.py -p raster path/to/image.png |
Hi Greg! Sorry for the longer delay, stuff has been quite dense. I've put together a demo (really primitive for now) that does the zoomable embedding trick with the javascript demo you sent: |
PS.
|
the above example is amazing! I think this will be very powerful. OpenLayers has all the functionality we need for gating and annotations too 😉 I cannot overstate how useful this is going to be. Its funny how human cell atlas projects will end up leveraging existing atlas tools! Caching Is there any way we can see which tiles are cached and for how long they are stored? I can see you have a nice info message in backend telling us which tile is being requested. Is there a similar message we can have in the front-end to tell us whether we are using a cached response or not? Space Partitioning I'm surprised how fast it is despite the loop through 1M points per tile request 😅 I think storing the points as a quad-tree is the perfect solution. I would again suggest https://github.com/rdeits/RegionTrees.jl for the sake of code re-use, its only one additional dependency 😉 |
We would like a getTile(x,y,z) type method that will eventually be called by some sort of front end such as OpenLayers that will allow us to zoom in and out of the beautiful SOM Embeddings. Making this work with the Makie plotting ecosystem with both GLMakie and WGLMakie backends would be ideal. Otherwise JSServe.jl can be used to connect to OpenLayers. Things to consider:
z/x/y.png
folder structure?The text was updated successfully, but these errors were encountered: