project longitude-latitude pairs to different projections
a longitude value between -180 and 180
a latitude value between -90 and 90
an n by 2 Array or Matrix, or a list of n lists each consisting of 2 numbers: the input points
(optional) equation(s) of the form projection=proj or mode=m, where proj is one of the projections in List of Projections and m is one of point, points, curve, or polygon
The Project command applies the specified projection to the set of input points.
For the first calling sequence, unless projection=Globe, this command returns a two element list of the projected x and y coordinates.
If projection=Globe, a three element list of the projected x, y, and z coordinates is returned.
For the second calling sequence, a list of lists is returned if the input is a list of lists. Otherwise, a Matrix is returned.
The projection option determines which projection is used. The default is the Geographic projection.
If projection=Globe, then the mode option is ignored. Otherwise:
If mode=points (the default value), then each input point is projected and one corresponding output point is returned.
The option mode=point is a synonym for mode=points.
If mode=curve, then the n input points are interpreted as describing a sequence of n−1 line segments between these points in the Geographic projection. In order to draw the same curve in the given projection, it may not suffice to just project the input points and draw straight line segments between them. Using the mode=curve option instructs Maple to insert extra points in between the original input points to remedy this.
If mode=polygon, then the same process as for mode=curve is followed, but any points projected to coordinates that evaluate to non-numeric values (i.e., positive or negative infinity, or undefined) to be removed from the end result.
Unlike most other commands in the WorldMap package, this command does not operate on a WorldMap object.
For a large number of points, it is more efficient to use the second form of the command than projecting each point separately.
The Mercator projection diverges at the poles.
The line segment connecting the following two points in the geographic projection runs through the Sahara desert.
x1 := [-90, 10];
x2 := [70, 30];
input := [x1, x2];
m := DataSets:-Builtin:-WorldMap():
But in the Bonne projection, the line segment runs through Ireland.
output := DataSets:-Builtin:-WorldMap:-Project(input, projection=Bonne);
plots:-display(Display(m, projection=Bonne), plottools:-curve(output));
To get a faithful projection of the line segment, we can use the mode=curve option. This inserts a number of extra points into the result.
output2 := DataSets:-Builtin:-WorldMap:-Project(input, projection=Bonne, mode=curve);
plots:-display(Display(m, projection=Bonne), plottools:-curve(output2));
The DataSets[Builtin][WorldMap][Project] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
The DataSets[Builtin][WorldMap][Project] command was updated in Maple 2019.
List of Projections
Download Help Document
What kind of issue would you like to report? (Optional)