Skip to content
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

CI: Change tilemap source from Stamen to OpenStreetMap #2701

Merged
merged 4 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Change tilemap source to OpenStreetMap
Change tilemap source from contextily's default Stamen Terrain to OpenStreetmap's Standard tile layer (https://wiki.openstreetmap.org/wiki/Standard_tile_layer).
  • Loading branch information
weiji14 committed Sep 27, 2023
commit 49cd04066662185013eda6ec878a25fe21944b6e
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_tilemap_no_clip_False.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 9317080021b0ce6f3b9ea6d17feece00
size: 23275
- md5: 053bd9ad08c33c76a70fc6b426a31e34
size: 16475
hash: md5
path: test_tilemap_no_clip_False.png
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_tilemap_no_clip_True.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 83e6119b2351f9d472ca7e3cc45388c3
size: 60984
- md5: 086b9d21e6634ceaa5ef0fc9954e820c
size: 38892
hash: md5
path: test_tilemap_no_clip_True.png
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_tilemap_ogc_wgs84.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 3de0555d86aca49b92425c8d5272a934
size: 59286
- md5: 367a3f11637b1be006a437c9f93d0317
size: 37289
hash: md5
path: test_tilemap_ogc_wgs84.png
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_tilemap_web_mercator.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: a76d9a9a1890d6b1345305eaea598bc3
size: 122195
- md5: 7362261406771b5cfe1bcfb7a292105a
size: 62463
hash: md5
path: test_tilemap_web_mercator.png
8 changes: 7 additions & 1 deletion pygmt/tests/test_tilemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def test_tilemap_web_mercator():
fig.tilemap(
region=[-20000000.0, 20000000.0, -20000000.0, 20000000.0],
zoom=0,
source=contextily.providers.OpenStreetMap.Mapnik,
lonlat=False,
frame="afg",
)
Expand All @@ -31,7 +32,11 @@ def test_tilemap_ogc_wgs84():
"""
fig = Figure()
fig.tilemap(
region=[-180.0, 180.0, -90, 90], zoom=0, frame="afg", projection="R180/5c"
region=[-180.0, 180.0, -90, 90],
zoom=0,
source=contextily.providers.OpenStreetMap.Mapnik,
frame="afg",
projection="R180/5c",
)
return fig

Expand All @@ -47,6 +52,7 @@ def test_tilemap_no_clip(no_clip):
fig.tilemap(
region=[-180.0, 180.0, -90, 0.6886],
zoom=0,
source=contextily.providers.OpenStreetMap.Mapnik,
frame="afg",
projection="H180/5c",
no_clip=no_clip,
Expand Down
Loading