Comments (6)
The idea is to be able to put interactive Tyler underneath the current plot, and make it use the current CRS?
I guess we need to attach the crs to the axis somehow. Probably GeoMakie GeoAxis
already has that, and we can just build on it instead?
Maybe we need to move to plotting tiles onto a mesh so it can be in any projection, rather than just tiling onto a regular grid. That would also facilitate using a globe, 3d terrain and other fun things. We would also have to increase the mesh detail as we zoom in like google earth does, but I'm not sure how to do that.
from tyler.jl.
Well, I also would want it to work in the general Plots.jl ecosystem. This package is half generic code, half specific to Makie. Maybe this should be moved to GeoInterface for the implementation?
from tyler.jl.
Yes that makes sense, maybe we can move some things to MapTiles.jl and define Plots.jl recipes in an extension there?
I'm not sure how we will get that exact code to work in Plots.jl, probably you would need to pass the crs to background
from tyler.jl.
To @evetion's point, it would be super helpful to have a non-interactive version (perhaps using CairoMakie as the backend) to enable plotting geographic data on top of background maps with a fixed (or automatically determined) spatial extent.
I've been using Contextily via PythonCall for a hacky way to do this, but it would be great have native Julia implementation that can easily allow something like this matlab code
Happy to help work on something like this as it would be super helpful for my own work!
from tyler.jl.
Yeah, we need to separate out plotting from the interactivity.
Have a go at a PR.
Im not sure how to structure it because currently so much is done in Map
. Maybe you can define a MapSnapshot
or something that just makes one map, and see how you can to refactor Map
so they can share code.
from tyler.jl.
Possibly define Extent (and crs?) on different plotlike things?
from tyler.jl.
Related Issues (20)
- display needs to be removed from Tyler to support WGLMakie HOT 1
- Never delete z=0, z=1, even z=2 tile plots
- Fade in opacity of tile plots as they load
- Google 3d tiles HOT 3
- Add compat bounds for dependencies HOT 1
- ImageMagick_jll dependancies causing issues HOT 1
- https://github.com/rafaqz/Extents.jl/pull/10 breaks Tyler HOT 1
- Tyler.Map fails occasionally in VS Code HOT 3
- Zoom in not respecting vertical mouse position
- Add Rasters.jl extension to automatically resample rasters.
- Use `GeoInterface.extent` and `GeoInterface.crs` to set tyler map extent to any compatible object
- suppress globally warning downloads
- Make it work with GeoAxis HOT 2
- increase label sizes
- Tyler is plotting the wrong tiles with Makie 0.21 HOT 8
- Making Tyler generically available
- [Feature Idea] Scalebar that adjust on zoom HOT 3
- Requirements for Tyler on the sphere
- Advanced Provider with heavy dependencies HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tyler.jl.