-
Notifications
You must be signed in to change notification settings - Fork 214
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
Add function to load raster tile maps using contextily #2125
Commits on Sep 19, 2022
-
Add function to load raster basemap tiles using contextily
New dataset function to load XYZ tiles! Uses contextily to retrieve the tiles based on a bounding box. Included an example doctest that shows how the map tiles can be loaded into an xarray.DataArray. Added a new section in the API docs and intersphinx mappings for contextily and xyzservices.
Configuration menu - View commit details
-
Copy full SHA for 6f7a4f0 - Browse repository at this point
Copy the full SHA 6f7a4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 917604d - Browse repository at this point
Copy the full SHA 917604dView commit details -
Use correct Spherical Mercator coordinates
Can't assume that the input bounding box (which can be in longitude/latitude) is the same as the returned extent (which is always in EPSG:3857).
Configuration menu - View commit details
-
Copy full SHA for 66f66cc - Browse repository at this point
Copy the full SHA 66f66ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for e99ed4d - Browse repository at this point
Copy the full SHA e99ed4dView commit details -
To fix pylint `C0103: Argument name "ll" doesn't conform to snake_case naming style (invalid-name)`.
Configuration menu - View commit details
-
Copy full SHA for 3c437c0 - Browse repository at this point
Copy the full SHA 3c437c0View commit details -
Reduce number of local variables to fix pylint R0914
Remove the extent and _image variables to prevent `R0914: Too many local variables (17/15) (too-many-locals)`.
Configuration menu - View commit details
-
Copy full SHA for c738375 - Browse repository at this point
Copy the full SHA c738375View commit details -
Add contextily to CI build matrix and include it as optional dependency
Let the Continuous Integration tests run with `contextily`, include it in pyproject.toml and environment.yml, and document it in `doc/install.rst` as an optional dependency.
Configuration menu - View commit details
-
Copy full SHA for 30fd9a2 - Browse repository at this point
Copy the full SHA 30fd9a2View commit details
Commits on Sep 20, 2022
-
Set default bounding box coordinates to be lonlat
Bounding box coordinates are assumed to be longitude/latitude by default, rather than in Spherical Mercator.
Configuration menu - View commit details
-
Copy full SHA for f913222 - Browse repository at this point
Copy the full SHA f913222View commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1270c3f - Browse repository at this point
Copy the full SHA 1270c3fView commit details -
Skip doctest when contextily is not installed
Using the `__doctest_requires__` variable, see https://github.com/astropy/pytest-doctestplus/tree/v0.12.1#doctest-dependencies
Configuration menu - View commit details
-
Copy full SHA for 0455bb4 - Browse repository at this point
Copy the full SHA 0455bb4View commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8b5317f - Browse repository at this point
Copy the full SHA 8b5317fView commit details -
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6142b40 - Browse repository at this point
Copy the full SHA 6142b40View commit details -
Add intersphinx link for rasterio
Also updated intersphinx link for xarray to new URL at https://docs.xarray.dev/en/stable
Configuration menu - View commit details
-
Copy full SHA for 5400710 - Browse repository at this point
Copy the full SHA 5400710View commit details
Commits on Dec 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8aa1c7a - Browse repository at this point
Copy the full SHA 8aa1c7aView commit details
Commits on Dec 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf1c007 - Browse repository at this point
Copy the full SHA bf1c007View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26dd404 - Browse repository at this point
Copy the full SHA 26dd404View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2959e58 - Browse repository at this point
Copy the full SHA 2959e58View commit details
Commits on Jan 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 241aec1 - Browse repository at this point
Copy the full SHA 241aec1View commit details -
Reorder deps and add a fullstop
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eeda973 - Browse repository at this point
Copy the full SHA eeda973View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cc86e7d - Browse repository at this point
Copy the full SHA cc86e7dView commit details -
Use PyGMT's convention for default values in docstrings
Modified from original contextily.bounds2img docstring to fit PyGMT's standards. Xref https://github.com/Generi cMappingTools/pygmt/pull/1182.
Configuration menu - View commit details
-
Copy full SHA for 67b17fc - Browse repository at this point
Copy the full SHA 67b17fcView commit details
Commits on Feb 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a446fb - Browse repository at this point
Copy the full SHA 5a446fbView commit details -
Rename load_map_tiles to load_tile_map
Also create new dedicated section for load_tile_map in the API docs index.
Configuration menu - View commit details
-
Copy full SHA for 3dc8846 - Browse repository at this point
Copy the full SHA 3dc8846View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c61779 - Browse repository at this point
Copy the full SHA 5c61779View commit details -
Add zoom parameter and remove kwargs
Wrap all of the parameters in contextily.bounds2img, and so can remove kwargs. Need to disable the pylint recommendation `R0914: Too many local variables`.
Configuration menu - View commit details
-
Copy full SHA for d06e2c0 - Browse repository at this point
Copy the full SHA d06e2c0View commit details -
Revert "Reduce number of local variables to fix pylint R0914"
This reverts commit c738375. Since we've ignored the too-many-locals pylint recommendation already.
Configuration menu - View commit details
-
Copy full SHA for 6b2d5cd - Browse repository at this point
Copy the full SHA 6b2d5cdView commit details
Commits on Feb 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b1ad795 - Browse repository at this point
Copy the full SHA b1ad795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 484b6c8 - Browse repository at this point
Copy the full SHA 484b6c8View commit details -
Apply suggestions from code review
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cf7ab34 - Browse repository at this point
Copy the full SHA cf7ab34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8563ecf - Browse repository at this point
Copy the full SHA 8563ecfView commit details
Commits on Mar 2, 2023
-
Document the three possible source options thoroughly
Split out the three possible source options into bullet points. Link to https://contextily.readthedocs.io/en/latest/providers_deepdive.html, give an example OpenStreetMap URL, and link to https://contextily.readthedocs.io/en/stable/working_with_local_files.html.
Configuration menu - View commit details
-
Copy full SHA for aa2d5fb - Browse repository at this point
Copy the full SHA aa2d5fbView commit details -
Remove extra fullstops and fix typos
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d74f878 - Browse repository at this point
Copy the full SHA d74f878View commit details -
Add more detail about the zoom level of detail
Co-Authored-By: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9f14d31 - Browse repository at this point
Copy the full SHA 9f14d31View commit details -
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b02b50c - Browse repository at this point
Copy the full SHA b02b50cView commit details -
Wrap integers in backticks and fix some typos
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 10af781 - Browse repository at this point
Copy the full SHA 10af781View commit details