bufgeoquad
Expand limits of geographic quadrangle
Description
Examples
Bounding Quadrangle for U.S.
Bounding quadrangle for the Conterminous United States, buffered 2 degrees to the north and south and 3 degrees to the east and west.
Load data and expand the limits of the quadrangle.
conus = load('conus.mat');
[latlim, lonlim] = geoquadline(conus.uslat,conus.uslon);
[latlim,lonlim] = bufgeoquad(latlim,lonlim,2,3)
latlim = 23.1200 51.3800 lonlim = -127.7200 -63.9700
Input Arguments
latlim
— Latitude limits
1-by-2 vector
Latitude limits of a geographic quadrangle, specified as a 1-by-2
vector of the form [southern_limit northern_limit]
,
with latitudes in degrees. The two elements must be in ascending order,
and lie in the closed interval [-90 90].
Data Types: single
| double
lonlim
— Longitude limits
1-by-2 vector
Longitude limits of a geographic quadrangle, specified as a
1-by-2 vector of the form [western_limit eastern_limit]
,
with longitudes in degrees. The two limits need not be in numerical
ascending order.
Data Types: single
| double
buflat
— Latitude buffer size
nonnegative scalar
Latitude buffer size, specified as a nonnegative scalar, in units of degrees.
Data Types: double
buflon
— Longitude buffer size
nonnegative scalar
Longitude buffer size, specified as a nonnegative scalar, in units of degrees.
Data Types: double
Output Arguments
latlim
— Latitude limits
1–by-2 vector
Latitude limits of a geographic quadrangle, returned as a 1-by-2
vector of the form [southern_limit northern_limit]
,
in units of degrees. The elements are in ascending order, and both
lie in the closed interval [-90 90].
lonlim
— Longitude limits
1–by-2 vector
Longitude limits of a geographic quadrangle, returned as a 1-by-2
vector of the form [western_limit eastern_limit]
,
in units of degrees. The limits are wrapped to the interval [-180
180]. They are not necessarily in numerical ascending order.
Version History
Introduced in R2012b
See Also
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.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)