| Version 2.2 (R14SP3) Mapping Toolbox™ Software Release Notes | ![]() |
This table summarizes what's new in Version 2.2 (R14SP3):
New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
Yes | Yes—Details in Compatibility Considerations below. See also Summary. | Bug reports at Web site |
New features and changes introduced in this version are
New three-dimensional coordinate conversion functions (geodetic2ecef, ecef2geodetic, ecef2lv, lv2ecef) transform 3-D point locations between geodetic (latitude, longitude, height), geocentric Cartesian (Earth Centered, Earth Fixed), and local vertical Cartesian coordinate systems.
Function shapewrite now allows user control over field names, lengths, and decimal precision when writing feature attributes to the DBF file, via a "DBF specification." The new function makedbfspec constructs a default DBF specification from a geographic data structure (geostruct2) array. Users can customize the output and pass it to shapewrite.
Improved implementations of functions shaperead and shapewrite process data substantially faster (about four times faster for a 10-MB shapefile of major roads in Massachusetts).
The Map Viewer (function mapview) and functions mapshow and geoshow now properly render polygons containing inner rings (e.g., lakes and inland seas within a continent, islands within a pond). Features in underlying layers "show through" inner rings because they are not obscured by the patch faces used to render the polygons.
Polygon Vertex Ordering Is Now Significant for Properly Rendering Filled Polygons. The map display functions geoshow, mapshow, and mapview now require that coordinate vectors representing polygons have consistent directionality, such that
Vertices defining outer rings (to be filled) be encoded in a clockwise direction.
Vertices defining inner rings (often termed "lakes" or "islands," to be rendered as transparent holes) be encoded in a counterclockwise direction.
If you have vector map data sets that violate these conditions, the map display functions geoshow, mapshow, and mapview might not be capable of rendering them as filled polygons. To determine the directionality of polygon vertices, use the logical function ispolycw, which returns a separate result for each NaN-delimited polygon in an array of vertices. If you find inner rings which are clockwise or outer rings which are counterclockwise, use the utility functions poly2ccw or poly2cw, respectively, to reverse the direction of those rings.
When the Map Viewer saves the visible or selected area as a raster map (an image file), it now also writes a worldfile to georeference the image.
Function tgrline now supports the most recent (2003/2004) TIGER/Line data sets from the U.S. Bureau of the Census.
![]() | Version 2.3 (R2006a) Mapping Toolbox Software | Version 2.1 (R14SP2) Mapping Toolbox Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |