From 5e16a3fcb9cd4ad27e0d6d5cbbad0046062b29c7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 3 Dec 2024 20:24:34 +0800 Subject: [PATCH] Fix typos OGC:WGS84 to OGC:CRS84 --- pygmt/src/tilemap.py | 2 +- ...lemap_ogc_wgs84.png.dvc => test_tilemap_ogc_crs84.png.dvc} | 2 +- pygmt/tests/test_tilemap.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename pygmt/tests/baseline/{test_tilemap_ogc_wgs84.png.dvc => test_tilemap_ogc_crs84.png.dvc} (67%) diff --git a/pygmt/src/tilemap.py b/pygmt/src/tilemap.py index ab65c3ac3c9..e61cd82e868 100644 --- a/pygmt/src/tilemap.py +++ b/pygmt/src/tilemap.py @@ -50,7 +50,7 @@ def tilemap( **Note**: By default, standard web map tiles served in a Spherical Mercator (EPSG:3857) Cartesian format will be reprojected to a geographic coordinate - reference system (OGC:WGS84) and plotted with longitude/latitude bounds when + reference system (OGC:CRS84) and plotted with longitude/latitude bounds when ``lonlat=True``. If reprojection is not desired, please set ``lonlat=False`` and provide Spherical Mercator (EPSG:3857) coordinates to the ``region`` parameter. diff --git a/pygmt/tests/baseline/test_tilemap_ogc_wgs84.png.dvc b/pygmt/tests/baseline/test_tilemap_ogc_crs84.png.dvc similarity index 67% rename from pygmt/tests/baseline/test_tilemap_ogc_wgs84.png.dvc rename to pygmt/tests/baseline/test_tilemap_ogc_crs84.png.dvc index 518f7492c29..4cfc88b1133 100644 --- a/pygmt/tests/baseline/test_tilemap_ogc_wgs84.png.dvc +++ b/pygmt/tests/baseline/test_tilemap_ogc_crs84.png.dvc @@ -1,5 +1,5 @@ outs: - md5: 5f225e4dd26f44e07bcbd8e713c67dbe size: 37343 - path: test_tilemap_ogc_wgs84.png + path: test_tilemap_ogc_crs84.png hash: md5 diff --git a/pygmt/tests/test_tilemap.py b/pygmt/tests/test_tilemap.py index 6ec04decf95..f03c39e3b9b 100644 --- a/pygmt/tests/test_tilemap.py +++ b/pygmt/tests/test_tilemap.py @@ -41,9 +41,9 @@ def test_tilemap_web_mercator(): not (_HAS_CONTEXTILY and _HAS_RIOXARRAY), reason="contextily and rioxarray are not installed", ) -def test_tilemap_ogc_wgs84(): +def test_tilemap_ogc_crs84(): """ - Create a tilemap plot using longitude/latitude coordinates (OGC:WGS84), centred on + Create a tilemap plot using longitude/latitude coordinates (OGC:CRS84), centred on the international date line. """ fig = Figure()