23.11.2012 Views

Mapping

Mapping

Mapping

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Mapping</strong> (MATLAB) georeferencing: makerefmat<br />

Construct spatial referencing matrix of raster/grid files using command<br />

makerefmat.m<br />

Example 1<br />

---------<br />

Create a referencing matrix for an image with square, four-meter pixels<br />

and with its upper left corner (in a map coordinate system) at<br />

x = 207000 meters, y = 913000 meters. The image follows the typical<br />

orientation: x increasing from column to column and y decreasing from<br />

row to row.<br />

x11 = 207002; % Two meters east of the upper left corner<br />

y11 = 912998; % Two meters south of the upper left corner<br />

dx = 4;<br />

dy = -4;<br />

R = makerefmat(x11, y11, dx, dy)<br />

x11 = 207002; % Two meters east of the upper left corner<br />

y11 = 912998; % Two meters south of the upper left corner<br />

dx = 4;<br />

dy = -4;<br />

R = makerefmat(x11, y11, dx, dy)<br />

R =<br />

0 -4<br />

4 0<br />

206998 913002

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!