Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

Version 3.0 (R2009b) Mapping Toolbox Software

This table summarizes what's new in Version 3.0 (R2009b):

New Features and Changes

Version Compatibility Considerations

Fixed Bugs and Known Problems

Related Documentation at Web Site

Yes
Details below

Yes — Details labeled as Compatibility Considerations in descriptions of changes, below. See also Summary.

Bug Reports at Web site

Printable Release Notes: PDF

Current product documentation

New Features for Creating Web Map Service Maps

New functions and classes now make it possible to interact with Web Map Service (WMS) servers and render WMS maps. Use the new features to search a built-in database of pre-qualified WMS servers and layers. Retrieve customized geographic data sets and related metadata from WMS servers. The new classes encapsulate WMS servers, data layers, metadata, and map requests. See the Creating Web Map Service Maps chapter in the User's Guide and related Class Reference for more information.

New makerefmat Syntax for Constructing Referencing Matrices

A new parameter name-value pair syntax makes it easier to construct referencing matrices with makerefmat. You can use the new syntax for an image or raster grid that is referenced to and aligned with a geographic coordinate system but not for one that is referenced to a 2-D map coordinate system. Use parameters to set the number of rows (M) and columns (N) of the raster or image to be used with the referencing matrix; the latitude and longitude limits of the geographic quadrangle bounding the georeferenced raster; and the edges from which row and column indexing start, designating, for example, columns that run either south-to-north or north-to-south.

Some Functions Now Accept Referencing Matrices as Input

The functions below now accept referencing matrices as input, and some of them (maptrims, resizem, and vec2mtx) also generate referencing matrices as output. The functions that generate referencing matrices as output do so only in cases where referencing matrices are used as input. If referencing vectors are used as input, referencing vectors are also generated as output. Note that the functions in this table work exclusively with data grids or images that are referenced to geographic (latitude or longitude) coordinates.

areamatimbedmmaptrimssetltlnusamap
filtermlimitmmeshgratsetpostnworldmap
findmlos2meshlsrmresizem 
getseedsltln2valmeshmvec2mtx 
gradientmmapprofileneworigviewshed 

New Angle Conversion Functions

Two new functions, radtodeg and degtorad, replace older functions rad2deg and deg2rad. They are functionally identical.

Compatibility Considerations

The older functions, rad2deg and deg2rad, will continue to work, but when writing new code the newer versions are recommended.

Expanded Support for GSHHS Global Coastline Data

The gshhs function now supports Versions 1.4 and later of the Global Self-Consistent, Hierarchical, High-Resolution Shoreline Database (GSHHS).

New Behavior for polymerge when Three or More Line Segments Have Common End Point

The behavior of the polymerge function has changed in cases of three or more distinct parts with a common end point. In such cases, the choice of which parts to merge is ambiguous; therefore, none of the corresponding parts are connected at that common point.

Compatibility Considerations

In previous releases, if three or more parts shared a common end point, the polymerge function attempted to merge them. The result, however, was unspecified and sometimes obviously wrong.

Automatic Conversion of Latitude Limits to Ascending Order

The functions axesm and setm require that the latitude limits in the 'MapLatLimit' property be provided in ascending order. If you enter the limits in descending order, these functions will now automatically convert the limits to ascending order, and return a warning message notifying you of this change.

Compatibility Considerations

In previous releases, if you entered the latitude limits of the 'MapLatLimit' property in descending order when using axesm or setm, you could end up with a map axes that was internally inconsistent, possibly resulting in unexpected errors during subsequent operations. This is no longer the case.

Second Input Argument of roundn No Longer Supports Complex Numbers, Non-integers, or Default Values

roundn no longer accepts certain types of input for the second input argument, N, which is supposed to be a real, integer-valued exponent. Now, if you use a complex number or non-integer as the second input to roundn, you will receive an error; and if you omit N, you will receive a warning. You will also receive an error if you call roundn with a second output argument to capture error message strings.

Compatibility Considerations

In previous releases, if you used a complex number or non-integer as the second input to roundn, this number would be converted into a real integer. If you called roundn with a second output argument to capture error message strings, you would receive an obsolete syntax warning.

In R2009b, -2 is still the default value for the second input argument. This default is being phased out, however, and in the future you will receive an error if you fail to supply the second input argument. If there are any instances in your code with the usage roundn(x), you should replace them with roundn(x,-2).

The two-output syntax option was previously deprecated and has resulted in a warning in the past several releases.

Functions Removed

Functions Being Removed in a Future Release

NameStageCompatibility Considerations
coloruiStill runsReplace all existing instances of colorui with uisetcolor.
eastofWarnsIf you are using degrees, replace
eastof(lon, meridian, 'degrees')
with
meridian + mod(lon - meridian, 360)
and if you are using radians, replace
eastof(lon, meridian, 'radians')
with
meridian + mod(lon - meridian, 2*pi)
imagemErrorsReplace all existing instances of imagem with grid2image.
smoothlongWarnsUse unwrapMultipart instead. This function requires its input to be in radians. When working in degrees, use
radtodeg(unwrapMultipart(degtorad(lon)))
tgrlineStill runsMore recent Tiger/Line® data sets are available in shapefile format and can be imported using shaperead.
unitstrWarnsThe syntax
str = unitstr(str,'times')
has already been removed.
westofWarnsIf you are using degrees, replace
westof(lon, meridian, 'degrees')
with
meridian - mod(meridian - lon, 360)
and if you are using radians, replace
westof(lon, meridian, 'radians')
with
meridian - mod(meridian - lon, 2*pi)

Functions Removed in R2009b

deg2dmhms2hmhr2secsec2hmscmapui
deg2dmshms2hrmat2dmssec2hrtigermif
dms2deghms2matmat2hmstime2strtigerp
dms2dmhms2secrad2dmtimedim 
dms2mathr2hmrad2dmscontorm 
dms2radhr2hmssec2hmcontor3m 

The functions above have been completely removed from the toolbox and error if used.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS