Comments (9)
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.
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.
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.
from contextily.
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.
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.
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.
from contextily.
from contextily.
Related Issues (20)
- CI failing HOT 3
- Force basemap to be greyscale HOT 3
- Caching and terms of service? HOT 2
- Wrong lat and lon from contextily bbox HOT 3
- No Gaode provider? HOT 2
- attributions severely wrapped upon savefig HOT 1
- Mistake in matching basemap through contextily HOT 2
- Reset_extent is not behaving as expected with local file when raster extents is smaller than the shape extents. HOT 2
- Add the ability to fetch tiles in parallel HOT 8
- Add timeout parameter to add_basemap HOT 1
- Save as editable object HOT 2
- Change the default basemap from Stamen HOT 2
- ValueError: could not broadcast input array from shape (256,256,4) into shape (512,512,4) HOT 18
- Input array error when loading contextily basemap HOT 1
- SSLError HOT 1
- How to clip background image to circle? HOT 1
- Stamen not available as a valid provider HOT 2
- `TypeError` raised in `add_basemap()` as shown in Geopandas contextily docs HOT 9
- os.wait fails in tile.py HOT 1
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 contextily.