Giter Club home page Giter Club logo

Comments (9)

martinfleis avatar martinfleis commented on July 29, 2024

I am not sure contextily is built for this kind of a use case. It would probably be interesting to see some profiling of the download to understand where the bottleneck is but it may be better to switch something more suitable (and probably written in JavaScript if that is an option).

from contextily.

mikilterribile avatar mikilterribile commented on July 29, 2024

I know nothing about JavaScript, and even if I did, I wouldn't know how to use JavaScript libraries within a Python program. So, I don't think JavaScript is a good option for me. I could try to access the Python code of the 'Bound2Draster' function in Contextily and try to understand how to speed it up and optimize it. However, honestly, I don't think I am capable of doing it.

Thank you for your answer.

Best regards,

Michele Zucchelli.

from contextily.

darribas avatar darribas commented on July 29, 2024

Depending on your application, something like geopandas.GeoDataFrame.explore() might be a Python solution that provides what you want? Under the hood, it is using Leafmap, which is a javascript framework, but you do not need to touch it directly. My sense is that this would be the best way to provide an "infinite map" than contextily, which is designed for static (finite) maps.

from contextily.

mikilterribile avatar mikilterribile commented on July 29, 2024

from contextily.

darribas avatar darribas commented on July 29, 2024

Ahhh I see. I'm not sure I have an answer for this, I'm sorry. This is not a use case we had in mind when developing contextily so it is possible it's not ideally suited. Best luck!

from contextily.

mikilterribile avatar mikilterribile commented on July 29, 2024

Hi, trying to develop this functionality for my gis application, I had to improve some contextily functionalities, speeding up the download of the tiles and the reproject (warp) function. I'll be very glad to share this improvement with you, the contextily team, but I don't know what is the best way to do it or wheter if you are interested in. Let me know about it. Best regards, Michele Zucchelli.

from contextily.

martinfleis avatar martinfleis commented on July 29, 2024

We are surely interested! Ideally, open a pull request within this repository. Alternatively, you can point us to the code uploaded somewhere if you're not comfortable with PRs.

from contextily.

mikilterribile avatar mikilterribile commented on July 29, 2024

from contextily.

mikilterribile avatar mikilterribile commented on July 29, 2024

from contextily.

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.