f

#### Calculating area of latitude-longitude quadrangle?

```Is there any way to calculate the area of a latitude-longitude
quadrangle in IDL, or some formula I could use?
MATLAB can (using areaquad from the Mapping Toolbox, which can return
surface area in km^2 of a lat/lon box covering a part of Earth) but I
```
 0
8/23/2011 6:52:06 PM
comp.lang.idl-pvwave 12260 articles. 2 followers.

4 Replies
1204 Views

Similar Articles

[PageSpeed] 49

```Ashley Berg writes:

> Is there any way to calculate the area of a latitude-longitude
> quadrangle in IDL, or some formula I could use?
> MATLAB can (using areaquad from the Mapping Toolbox, which can return
> surface area in km^2 of a lat/lon box covering a part of Earth) but I

Wow! Really!?

I'm not sure I'd put a whole lot of trust in a
number like that! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
```
 0
news8567 (866)
8/23/2011 7:13:46 PM
```Yes, I'm not sure exactly how MATLAB does it!  But for my purposes I
only need a rough estimate.
```
 0
8/23/2011 8:06:32 PM
```>
>
> "Ashley Berg"  wrote in message
>
> Is there any way to calculate the area of a latitude-longitude
> quadrangle in IDL, or some formula I could use?
> MATLAB can (using areaquad from the Mapping Toolbox, which can return
> surface area in km^2 of a lat/lon box covering a part of Earth) but I

actual surface area would be impossible, but just integrate the surface of a
sphere and that could get you close enough.

cheers,
bob

```
 0
noemail8476 (227)
8/23/2011 8:37:29 PM
```On Aug 24, 4:52=A0am, Ashley Berg <ashley.b...@gmail.com> wrote:
> Is there any way to calculate the area of a latitude-longitude
> quadrangle in IDL, or some formula I could use?
> MATLAB can (using areaquad from the Mapping Toolbox, which can return
> surface area in km^2 of a lat/lon box covering a part of Earth) but I