Navigation

Operators and Keywords

Function List:

C++ API

mapping

Simple mapping and GIS .shp and raster file functions.

Select category:

Paths in curves

azimuth
Calculates the great circle azimuth from a point 1 to a point 2.
distance
Calculates the great circle distance DIST between PT1 and PT2 and optionally the azimuth AZ.
reckon
Compute the coordinates of the end-point of a displacement on a sphere.

Lengths and angles

deg2rad
Converts angles input in degrees to the equivalent in radians.
degtorad
Converts angles input in degrees to the equivalent in radians.
degrees2dm
Convert decimal degrees to its degrees and minutes components.
degrees2dms
Convert decimal degrees to its degrees, minutes, and seconds components.
dm2degrees
Convert degrees, minutes, and seconds components into decimal degrees.
dms2degrees
Convert degrees, and minutes components into decimal degrees.
fromDegrees
Convert angles from radians.
fromRadians
Convert angles from radians.
km2deg
Convert distance to angle.
km2rad
Converts distance to angle by dividing distance by radius.
km2nm
Convert kilometers into nautical miles.
km2sm
Convert kilometers into U.S.
nm2km
Convert nautical miles into kilometers.
nm2sm
Convert nautical miles into U.S.
nm2rad
Converts distance to angle by dividing distance by radius.
nm2deg
Converts distance to angle by dividing distance by radius.
rad2deg
Converts angles input in radians to the equivalent in degrees.
radtodeg
Converts angles input in radians to the equivalent in degrees.
rad2km
Converts angle to distance by multiplying angle with radius.
sm2km
Convert U.S.
sm2nm
Convert U.S.
sm2rad
Converts distance to angle by dividing distance by radius.
sm2deg
Converts distance to angle by dividing distance by radius.
toDegrees
Convert angles into degrees.
toRadians
Convert angles into radians.
unitsratio
Return ratio for conversion between units.
wrapTo180
Wraps X into the [-180 to 180] interval.
wrapTo360
Wraps X into the [0 to 360] interval.
wrapToPi
Wraps X into the [-pi to pi] interval
wrapTo2Pi
Wraps x into the [0 to 2pi] interval

Utilities

extractfield
Extract field values from struct array.
removeExtraNanSeparators
Remove groups of NaN and leave a single separator.
roundn
Round to multiples of 10.
validateLengthUnit
Check validity and standardize unit of length.

Shape files

mapshow
Draw a map based on raster or shapefile data.
geoshow
Plot a mapstruct created by shaperead.
makesymbolspec
Create a symbol specification structure for use with mapshow.
shapedraw
Plot contents of a shapefile, a map-/geostruct or a struct made by shaperead.m.
shapeinfo
Returns a struct with info on shapefile FNAME.
shaperead
Read an ArcGis shapefile set (shp, shx and dbf).
shapewrite
Write contents of map- or geostruct to a GIS shape file.

Raster files

gdalread
Get raster data and info or (optionally) just info from a GIS raster file.
rasterdraw
Draw a GIS raster map.
rasterinfo
Return various info about a GIS raster file: a.o., file type, bit depth, raster size, projection and geotransformation.
rasterread
Read a GIS raster file

Package: mapping