GithubHelp home page GithubHelp logo

Comments (6)

rafaqz avatar rafaqz commented on August 19, 2024

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.

evetion avatar evetion commented on August 19, 2024

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.

rafaqz avatar rafaqz commented on August 19, 2024

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.

john-waczak avatar john-waczak commented on August 19, 2024

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.

rafaqz avatar rafaqz commented on August 19, 2024

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.

evetion avatar evetion commented on August 19, 2024

Possibly define Extent (and crs?) on different plotlike things?

from tyler.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.