Products & Services Solutions Academia Support User Community Company

Learn more about Mapping Toolbox   

worldfilewrite - Construct worldfile from referencing matrix

Syntax

worldfilewrite(R, worldfilename)

Description

worldfilewrite(R, worldfilename) calculates the worldfile entries corresponding to referencing matrix R and writes them into the file worldfilename.

R is a 3-by-2 affine transformation matrix that is used in pix2map and map2pix to transform pixel row and column coordinates to/from map/model coordinates according to [x y] = [row col 1] * R.

Example

R = worldfileread('concord_ortho_w.tfw');
worldfilewrite(R,'concord_ortho_w_test.tfw');

constructs the referencing matrix R from concord_ortho_w.tfw, then reconstructs a copy of the worldfile from R.

See Also

getworldfilename, pix2map, map2pix, worldfileread

  


Recommended Products

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

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