Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Mapping Toolbox Functions

Alphabetical List By Category
aer2ecefLocal spherical AER to geocentric ECEF
aer2enuLocal spherical AER to local Cartesian ENU
aer2geodeticLocal spherical AER to geodetic
aer2nedLocal spherical AER to local Cartesian NED
angl2strConvert angles to character array
antipodePoint on opposite side of globe
append Append features to geographic or planar vector
arcgridreadRead gridded data set in ArcGrid ASCII or GridFloat format
areaintSurface area of polygon on sphere or ellipsoid
areamatSurface area covered by nonzero values in binary data grid
areaquadSurface area of latitude-longitude quadrangle
AuthalicLatitudeConverter Convert between geodetic and authalic latitudes
avhrrgoodeRead AVHRR data product stored in Goode Projection
avhrrlambertRead AVHRR data product stored in eqaazim projection
axes2eccEccentricity of ellipse from axes lengths
axesmDefine map axes and set map properties
axesmuiDefine map axes and modify map projection and display properties
azimuthAzimuth between points on sphere or ellipsoid
boundImageSize Bound size of raster map
buffermBuffer zones for latitude-longitude polygons
bufgeoquadExpand limits of geographic quadrangle
camposmSet camera position using geographic coordinates
camtargmSet camera target using geographic coordinates
camupmSet camera up vector using geographic coordinates
catConcatenate geographic or planar vector
clabelmAdd contour labels to map contour display
clegendmAdd legend labels to map contour display
clipdataClip data at +/-pi in longitude, +/-pi in latitude
clmaClear current map axes
closePolygonPartsClose all rings in multipart polygon
clrmenuAdd colormap menu to figure window
ConformalLatitudeConverter Convert between geodetic and authalic latitudes
containsDetermine if geographic or map raster contains points
contour3mProject 3-D contour plot of map data
contourcbarColor bar for filled contour map display
contourcmapContour colormap and colorbar for current axes
contourfmProject filled 2-D contour plot of map data
contourmProject 2-D contour plot of map data
daspectmControl vertical exaggeration in map display
defaultmInitialize or reset map projection structure
deg2kmConvert spherical distance from degrees to kilometers
deg2nmConvert spherical distance from degrees to nautical miles
deg2radConvert angle from degrees to radians
deg2smConvert spherical distance from degrees to statute miles
degrees2dm Convert degrees to degrees-minutes
degrees2dms Convert degrees to degrees-minutes-seconds
degtoradConvert angles from degrees to radians
demcmapColormaps appropriate to terrain elevation data
demdatauiUI for selecting digital elevation data
departureDeparture of longitudes at specified latitudes
disp Display properties of WMS layers or capabilities
dispDisplay geographic or planar vector
distanceDistance between points on sphere or ellipsoid
distortcalcDistortion parameters for map projections
dm2degrees Convert degrees-minutes to degrees
dms2degrees Convert degrees-minutes-seconds to degrees
dtedRead U.S. Department of Defense Digital Terrain Elevation Data (DTED)
dtedsDTED filenames for latitude-longitude quadrangle
earthRadiusMean radius of planet Earth
ecc2flatFlattening of ellipse from eccentricity
ecc2nThird flattening of ellipse from eccentricity
ecef2aerGeocentric ECEF to local spherical AER
ecef2enuGeocentric ECEF to local Cartesian ENU
ecef2enuvRotate vector from geocentric ECEF to local ENU
ecef2geodeticTransform geocentric (ECEF) to geodetic coordinates
ecef2lvConvert geocentric (ECEF) to local vertical coordinates
ecef2nedGeocentric ECEF to local Cartesian NED
ecef2nedvRotate vector from geocentric ECEF to local NED
ecefOffsetCartesian ECEF offset between geodetic positions
egm96geoidRead 15-minute gridded geoid heights from EGM96
ellipse1Geographic ellipse from center, semimajor axes, eccentricity, and azimuth
enu2aerLocal Cartesian ENU to local spherical AER
enu2ecefLocal Cartesian ENU to geocentric ECEF
enu2ecefvRotate vector from local ENU to geocentric ECEF
enu2geodeticLocal Cartesian ENU to geodetic
etopoRead gridded global relief data (ETOPO products)
etopo5Read global 5-min digital terrain data
extractfieldField values from structure array
fieldnamesReturn dynamic property names of geographic or planar vector
fillmProject filled 2-D patch objects on map axes
firstCornerXReturn world x-coordinate of map raster index (1,1)
firstCornerYReturn world y-coordinate of map raster index (1,1)
flat2eccEccentricity of ellipse from flattening
flatearthpolyInsert points along date line to pole
forward Convert geodetic latitude to authalic, conformal, isometric, or rectifying latitude
framemToggle and control display of map frame
fromDegrees Convert angles from degrees
fromRadians Convert angles from radians
gc2scCenter and radius of great circle
gcmCurrent map projection structure
gcpmapCurrent mouse point from map axes
gcxgcIntersection points for pairs of great circles
gcxscIntersection points for great and small circle pairs
geocentricLatitudeConvert geodetic to geocentric latitude
geocontourxyContour grid in local system with latitude-longitude results
geodetic2aerGeodetic to local spherical AER
geodetic2ecefTransform geodetic to geocentric (ECEF) coordinates
geodetic2enuGeodetic to local Cartesian ENU
geodetic2nedGeodetic to local Cartesian NED
geodeticLatitudeFromGeocentricConvert geocentric to geodetic latitude
geodeticLatitudeFromParametricConvert parametric to geodetic latitude
GeographicCellsReferenceReference raster cells to geographic coordinates
GeographicPostingsReferenceReference raster postings to geographic coordinates
geographicToDiscrete Transform geographic to discrete coordinates
geographicToIntrinsic Transform geographic to intrinsic coordinates
geointerpGeographic raster interpolation
geoloc2gridConvert geolocated data array to regular data grid
geopeaksGenerate synthetic data set on sphere
geopointGeographic point vector
geoquadlineGeographic quadrangle bounding multi-part line
geoquadptGeographic quadrangle bounding scattered points
georasterrefConstruct geographic raster reference object
georefcellsReference raster cells to geographic coordinates
georefpostingsReference raster postings to geographic coordinates
geoshapeGeographic shape vector
geoshowDisplay map latitude and longitude data
geotiff2mstructConvert GeoTIFF information to map projection structure
geotiffinfoInformation about GeoTIFF file
geotiffreadRead GeoTIFF file
geotiffwriteWrite GeoTIFF file
getCapabilities Get capabilities document from server
getmMap object properties
getMapGet raster map from server
getworldfilenameDerive worldfile name from image filename
globedemRead Global Land One-km Base Elevation (GLOBE) data
globedemsGLOBE data filenames for latitude-longitude quadrangle
gpxreadRead GPX file
gradientmCalculate gradient, slope, and aspect of data grid
grid2imageDisplay regular data grid as image
gridmToggle and control display of graticule lines
gshhsRead Global Self-Consistent Hierarchical High-Resolution Geography
gtextmPlace text on map using mouse
gtopo30Read 30-arc-second global digital elevation data (GTOPO30)
gtopo30sGTOPO30 data filenames for latitude-longitude quadrangle
handlemHandles of displayed map objects
handlem-uiGUI for selecting mapped objects
histaBin counts for geographic points using equal-area bins
histrHistogram for geographic points with equirectangular bins
imbedmEncode data points into regular data grid
imreadRead image from graphics file
imwriteWrite image to graphics file
ingeoquadTrue for points inside or on lat-lon quadrangle
inputmLatitudes and longitudes of mouse-click locations
interpmDensify latitude-longitude sampling in lines or polygons
intersectgeoquadIntersection of two latitude-longitude quadrangles
intrinsicToGeographic Transform intrinsic to geographic coordinates
intrinsicToWorld Transform intrinsic to planar world coordinates
intrinsicXToLongitudeConvert from intrinsic x to longitude coordinates
intrinsicYToLatitudeConvert from intrinsic y to latitude coordinates
intrplatInterpolate latitude at given longitude
intrplonInterpolate longitude at given latitude
inverse Convert authalic, conformal, isometric, or rectifying latitude to geodetic latitude
isemptyDetermine if geographic or planar vector is empty
isfieldDetermine if dynamic property exists in geographic or planar vector
ismapTrue for axes with map projection
IsometricLatitudeConverter Convert between geodetic and isometric latitudes
ispolycwTrue if polygon vertices are in clockwise order
ispropDetermine if property exists in geographic or planar vector
isShapeMultipartTrue if polygon or line has multiple parts
km2degConvert spherical distance from kilometers to degrees
km2nmConvert kilometers to nautical miles
km2radConvert spherical distance from kilometers to radians
km2smConvert kilometers to statute miles
kmlwriteWrite geographic data to KML file
kmlwritelineWrite geographic line data to KML file
kmlwritepoint Write geographic point data to KML file
kmlwritepolygonWrite geographic polygon to KML file
latitudeToIntrinsicYConvert from latitude to intrinsic y coordinates
length Return number of elements in geographic or planar vector
lightmProject light objects on map axes
limitmDetermine latitude and longitude limits of regular data grid
linecircIntersections of circles and lines in Cartesian plane
linemProject line object on map axes
longitudeToIntrinsicXConvert from longitude to intrinsic x coordinates
lookAtSpheroidLine of sight intersection with oblate spheroid
los2Line-of-sight visibility between two points in terrain
ltln2valExtract data grid values for specified locations
lv2ecefConvert local vertical to geocentric (ECEF) coordinates
majaxisSemimajor axis of ellipse
makeattribspecAttribute specification from geographic data structure
makedbfspecDBF specification from geographic data structure
makerefmatConstruct affine spatial-referencing matrix
makesymbolspecConstruct vector layer symbolization specification
map.geodesy.isdegree True if input matches'degree' and false if 'radian'
map.geotiff.RPCCoefficientTagCreate a Rational Polynomial Coefficients Tag object
MapCellsReference Reference raster cells to map coordinates
mapinterpMap raster interpolation
maplistAvailable Mapping Toolbox map projections
mapoutlineCompute outline of georeferenced image or data grid
mappointPlanar point vector
MapPostingsReference Reference raster postings to map coordinates
mapprofileInterpolate between waypoints on regular data grid
maprasterrefConstruct map raster reference object
maprefcellsReference raster cells to map coordinates
maprefpostingsReference raster postings to map coordinates
mapsList available map projections and verify names
mapshapePlanar shape vector
mapshowDisplay map data without projection
maptoolAdd menu-activated tools to map figure
maptrimInteractively trim and convert map data from vector to raster format
maptrimlTrim lines to latitude-longitude quadrangle
maptrimpTrim polygons to latitude-longitude quadrangle
maptrimsTrim regular data grid to latitude-longitude quadrangle
mapviewInteractive map viewer
mdistortDisplay contours of constant map distortion
meridianarcEllipsoidal distance along meridian
meridianfwdReckon position along meridian
meshlsrm3-D lighted shaded relief of regular data grid
meshmProject regular data grid on map axes
mfwdtranProject geographic features to map coordinates
minaxisSemiminor axis of ellipse
minvtranUnproject features from map to geographic coordinates
mlabelToggle and control display of meridian labels
mlabelzero22piConvert meridian labels to 0-360 degree range
n2eccEccentricity of ellipse from third flattening
namemNames of graphics objects
ned2aerLocal Cartesian NED to local spherical AER
ned2ecefLocal Cartesian NED to geocentric ECEF
ned2ecefvRotate vector from local NED to geocentric ECEF
ned2geodeticLocal Cartesian NED to geodetic
newpoleOrigin vector to place specific point at pole
nm2degConvert spherical distance from nautical miles to degrees
nm2kmConvert nautical miles to kilometers
nm2radConvert spherical distance from nautical miles to radians
nm2smConvert nautical to statute miles
northarrowAdd graphic element pointing to geographic North Pole
oblateSpheroidOblate ellipsoid of revolution
org2polLocation of north pole in rotated map
originuiInteractively modify map origin
outlinegeoquadPolygon outlining geographic quadrangle
paralleluiInteractively modify map parallels
parametricLatitudeConvert geodetic to parametric latitude
patchesmProject patches on map axes as individual objects
patchmProject patch objects on map axes
pcolormProject regular data grid on map axes in z = 0 plane
plabelToggle and control display of parallel labels
plot3mProject 3-D lines and points on map axes
plotmProject 2-D lines and points on map axes
polcmap Create colormap appropriate to political regions
poly2ccwConvert polygon contour to counterclockwise vertex ordering
poly2cwConvert polygon contour to clockwise vertex ordering
poly2fvConvert polygonal region to patch faces and vertices
polyboolSet operations on polygonal regions
polyjoinConvert line or polygon parts from cell arrays to vector form
polymergeMerge line segments with matching endpoints
polysplitConvert line or polygon parts from vector form to cell arrays
polyxpolyIntersection points for lines or polygon edges
projfwdForward map projection using PROJ.4 map projection library
projinvInverse map projection using PROJ.4 map projection library
projlistMap projections supported by projfwd and projinv
propertiesReturn property names of geographic or planar vector
putpoleOrigin vector to place north pole at specified point
quiver3mProject 3-D quiver plot on map axes
quivermProject 2-D quiver plot on map axes
rad2degConvert angle from radians to degrees
rad2kmConvert spherical distance from radians to kilometers
rad2nmConvert spherical distance from radians to nautical miles
rad2smConvert spherical distance from radians to statute miles
radtodegConvert angles from radians to degrees
rcurveEllipsoidal radii of curvature
reckonPoint at specified azimuth, range on sphere or ellipsoid
RectifyingLatitudeConverter Convert between geodetic and rectifying latitudes
reducemReduce density of points in vector data
referenceEllipsoidReference ellipsoid
referenceSphereReference ellipsoid
refineRefine search of WMS layers
refineLimits Refine search of WMS layers based on geographic limits
refmatToGeoRasterReferenceReferencing matrix to geographic raster reference object
refmatToMapRasterReferenceReferencing matrix to map raster reference object
refmatToWorldFileMatrixConvert referencing matrix to world file matrix
refvecToGeoRasterReferenceReferencing vector to geographic raster reference object
removeExtraNanSeparatorsClean up NaN separators in polygons and lines
resizemResize regular data grid
restackRestack objects within map axes
rhxrhIntersection points for pairs of rhumb lines
rmfieldRemove dynamic property from geographic or planar vector
rmpropRemove property from geographic or planar vector
rotatemTransform vector map data to new origin and orientation
rotatetextRotate text to projected graticule
roundnRound to multiple of 10n
RPCCoefficientTag Rational Polynomial Coefficients Tag
rsphereRadii of auxiliary spheres
satbathRead 2-minute terrain/bathymetry from Smith and Sandwell
scalerulerAdd or modify graphic scale on map axes
scattermProject point markers with variable color and area
scircle1Small circles from center, range, and azimuth
scircle2Small circles from center and perimeter
scirclegSmall circle defined via mouse input
scircluiGUI to display small circles on map axes
scxscIntersection points for pairs of small circles
sdtsdemreadRead data from SDTS raster/DEM data set
sdtsinfoInformation about SDTS data set
sectorgSector of small circle defined via mouse input
servers Return URLs of unique WMS servers
serverTitles Return titles of unique WMS servers
setmSet properties of map axes and graphics objects
shaderelConstruct cdata and colormap for shaded relief
shapeinfoInformation about shapefile
shapereadRead vector features and attributes from shapefile
shapewriteWrite geographic vector data structure to shapefile
showaxesToggle display of map coordinate axes
sizeReturn size of geographic or planar vector
sizesMatchDetermine if geographic or map raster object and image or raster are size-compatible
sm2degConvert spherical distance from statute miles to degrees
sm2kmConvert statute miles to kilometers
sm2nmConvert statute to nautical miles
sm2radConvert spherical distance from statute miles to radians
stem3mProject stem plot on map axes
str2angleConvert text to angles in degrees
struct Convert geographic or planar vector to scalar structure
surfacemProject and add geolocated data grid to current map axes
surflm3-D shaded surface with lighting on map axes
surflsrm3-D lighted shaded relief of geolocated data grid
surfmProject geolocated data grid on map axes
symbolmProject point markers with variable size
tagmSet Tag property of map graphics object
tbaseRead 5-minute global terrain elevations from TerrainBase
tightmapRemove white space around map
tissotProject Tissot indicatrices on map axes
toDegrees Convert angles to degrees
toRadians Convert angles to radians
track1Geographic tracks from starting point, azimuth, and range
track2Geographic tracks from starting and ending points
trackgGreat circle or rhumb line defined via mouse input
trackuiGUI to display great circles and rhumb lines on map axes
unitsratioUnit conversion factors
unwrapMultipartUnwrap vector of angles with NaN-delimited parts
updateLayersUpdate layer properties
usamapConstruct map axes for United States of America
usgs24kdemRead USGS 7.5 minute (30 meter or 10 meter) Digital Elevation Models
usgsdemRead USGS 1-degree (3-arc-second) Digital Elevation Model
usgsdemsUSGS 1-degree (3-arc-sec) DEM filenames for latitude-longitude quadrangle
utmgeoidSelect ellipsoids for given UTM zone
utmzoneSelect UTM zone given latitude and longitude
utmzoneuiChoose or identify UTM zone by clicking map
validateLengthUnitValidate and standardize length unit
vec2mtxConvert latitude-longitude vectors to regular data grid
vertcatVertically concatenate geographic or planar vectors
vfwdtranDirection angle in map plane from azimuth on ellipsoid
viewshedAreas visible from point on terrain elevation grid
vinvtranAzimuth on ellipsoid from direction angle in map plane
vmap0dataRead selected data from Vector Map Level 0
vmap0readRead Vector Map Level 0 file
vmap0rheadRead Vector Map Level 0 file headers
vmap0uiUI for selecting data from Vector Map Level 0
webmap Open web map
WebMapServerWeb map server
wgs84EllipsoidReference ellipsoid for World Geodetic System 1984
wmcenterSet or obtain web map center point
wmclose Close web map
wmlimits Set or obtain web map limits
wmline Display geographic line on web map
wmmarker Display geographic marker on web map
wmpolygonDisplay geographic polygon on web map
wmprint Print web map
wmremove Remove overlay on web map
WMSCapabilities Web Map Service capabilities document
wmsfindSearch local database for Web map servers and layers
wmsinfoInformation about WMS server from capabilities document
WMSLayer Web Map Service layer
WMSMapRequest Web Map Service map request
wmsreadRetrieve WMS map from server
wmsupdateSynchronize WMSLayer object with server
wmzoomSet or obtain zoom level of web map
worldFileMatrixReturn world file parameters for transformation
worldFileMatrixToRefmatConvert world file matrix to referencing matrix
worldfilereadRead world file and return referencing object or matrix
worldfilewriteWrite world file from referencing object or matrix
worldmapConstruct map axes for given region of world
worldToDiscrete Transform planar world to discrete coordinates
worldToIntrinsicTransform planar world to intrinsic coordinates
wrapTo180Wrap angle in degrees to [-180 180]
wrapTo2PiWrap angle in radians to [0 2*pi]
wrapTo360Wrap angle in degrees to [0 360]
wrapToPiWrap angle in radians to [−pi pi]
zdatamAdjust z-plane of displayed map objects
Was this topic helpful?