RemovePath - Maple Help

DataSets[Builtin][WorldMap]

 RemovePath
 remove one or more great circle path(s) from a WorldMap object

 Calling Sequence RemovePath(m,p1,p2,option) RemovePath(m,ref1,ref2,option)

Parameters

 m - a WorldMap object p1,p2 - a list representing a point ref1,ref2 - a Reference to the GeoNames dataset option - (optional) keyword option of the form option=value, where option can be endpoints

Options

 • endpoints : truefalse; determines whether or not the two points are added to the list of points that m stores. By default, endpoints is set to true.

Description

 • The RemovePath command removes all paths which connect the two specified end points.
 • If p1 and p2 are given, both p1 and p2 must be lists of either two or three elements. The first element is the longitude (x-coordinate in the Geographic projection), and the second element is the latitude (y-coordinate in the Geographic projection). The optional third element is a string label for the point.
 • If ref1 and ref2 are given, both ref1 and ref2 must contain exactly one row, so they each corresponds to exactly one point.

Examples

 > $m≔\mathrm{DataSets}:-\mathrm{Builtin}:-\mathrm{WorldMap}\left(\right)$
 ${m}{≔}\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (1)
 > $\mathrm{AddPath}\left(m,\left[0,0\right],\left[-100,40\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 2 points}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (2)
 > $\mathrm{AddPath}\left(m,\left[0,45\right],\left[0,0\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 4 points}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (3)
 > $\mathrm{Display}\left(m\right)$
 > $\mathrm{RemovePath}\left(m,\left[0,0\right],\left[0,45\right]\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 1 point}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (4)
 > $\mathrm{ResetView}\left(m\right)$
 $\left(\begin{array}{cc}\left[{\mathrm{PLOT}}{}\left({\mathrm{...}}\right)\right]& \begin{array}{c}{\mathrm{A map of the world with 1 point}}\\ {\mathrm{projection: MillerCylindrical}}\end{array}\end{array}\right)$ (5)
 > $\mathrm{Display}\left(m\right)$
 > 

Compatibility

 • The DataSets[Builtin][WorldMap][RemovePath] command was introduced in Maple 2017.