How to use the tilted perspective Projection in Magics¶

This notebook will help you to discover it.
From your workstation:
load magics

module swap(or load) Magics/new
jupyter notebook

load this notebook

In [1]:
### Import Magics
In [2]:
import Magics.macro as magics

Define the projection¶

Its proj4 name is [tpers] (https://proj4.org/projections/tpers.html)

In [3]:
projection = magics.mmap(subpage_map_projection = 'tpers', 
                    subpage_map_projection_tilt = 0.,
                    subpage_map_projection_azimuth =  20.,
                    subpage_map_projection_view_latitude= 20.,
                    subpage_map_projection_view_longitude= -0.
                        )

Define some coastlines¶

In [4]:
coast = magics.mcoast( map_grid =  "on",
            map_grid_colour  =  "charcoal",
            map_coastline_land_shade  =  'on',
            map_coastline  =  'on',
            map_coastline_land_shade_colour  =  'grey',
            map_coastline_colour =  'charcoal',
            )
In [5]:
### Just plot the result
In [6]:
magics.plot(projection, coast, )
Out[6]:
In [ ]:
 
In [ ]:

In [ ]: