Skip to content

Commit

Permalink
MNT: Change deprecated GOOGLE_MERCATOR calls in tests
Browse files Browse the repository at this point in the history
These should use Mercator.GOOGLE now instead.
  • Loading branch information
greglucas committed Oct 8, 2021
1 parent 6f00822 commit e8b320f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cartopy/io/ogc_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
_URN_TO_CRS = collections.OrderedDict(
[('urn:ogc:def:crs:OGC:1.3:CRS84', ccrs.PlateCarree()),
('urn:ogc:def:crs:EPSG::4326', ccrs.PlateCarree()),
('urn:ogc:def:crs:EPSG::900913', ccrs.GOOGLE_MERCATOR),
('urn:ogc:def:crs:EPSG::900913', ccrs.Mercator.GOOGLE),
('urn:ogc:def:crs:EPSG::27700', ccrs.OSGB(approx=True)),
('urn:ogc:def:crs:EPSG::3031', ccrs.Stereographic(
central_latitude=-90,
Expand All @@ -80,8 +80,8 @@
central_longitude=-45,
central_latitude=90,
true_scale_latitude=70)),
('urn:ogc:def:crs:EPSG::3857', ccrs.GOOGLE_MERCATOR),
('urn:ogc:def:crs:EPSG:6.18.3:3857', ccrs.GOOGLE_MERCATOR)
('urn:ogc:def:crs:EPSG::3857', ccrs.Mercator.GOOGLE),
('urn:ogc:def:crs:EPSG:6.18.3:3857', ccrs.Mercator.GOOGLE)
])

# XML namespace definitions
Expand Down

0 comments on commit e8b320f

Please sign in to comment.