Check if the raster contains the point (207549,912753). The expected result is 1 (true) since the x-coordinate is within R.XWorldLimits and the y-coordinate is within R.YWorldLimits.
The first point is in the northern hemisphere. The second point is the origin, and tf(2) indicates the origin exists within the bounds of the northern hemisphere. The third point is in the southern hemisphere. The fourth point is identical to the first point after longitude wrapping. The element tf(4) demonstrates that the geographic raster supports wrapping of longitude coordinates. The last element tf(5) indicates that the geographic raster does not support wrapping of latitude coordinates.
Flag indicating geographic or map raster vector contains points in the
world coordinate system, returned as a logical scalar or vector. The
kth element of tf is
True when R contains the point (
xWorld(k),
yWorld(k) ) in the world
coordinate system.
Data Types: logical
Version History
Introduced in R2013b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.