Skip to content

Commit

Permalink
Merge pull request SciTools#504 from rhattersley/ogc-27700
Browse files Browse the repository at this point in the history
WMTS support for EPSG 27700.
  • Loading branch information
esc24 committed Oct 29, 2014
2 parents 9c4d599 + ca98394 commit d850849
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/cartopy/io/ogc_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@
_WGS84_METERS_PER_UNIT = 2 * math.pi * 6378137 / 360

METERS_PER_UNIT = {
'urn:ogc:def:crs:EPSG::27700': 1,
'urn:ogc:def:crs:EPSG::900913': 1,
'urn:ogc:def:crs:OGC:1.3:CRS84': _WGS84_METERS_PER_UNIT,
}

_URN_TO_CRS = {
'urn:ogc:def:crs:EPSG::27700': ccrs.OSGB(),
'urn:ogc:def:crs:EPSG::900913': ccrs.GOOGLE_MERCATOR,
'urn:ogc:def:crs:OGC:1.3:CRS84': ccrs.PlateCarree(),
}
Expand Down

0 comments on commit d850849

Please sign in to comment.