4.8. Coordinates range
Prev | Up | Chapter 4. Constructors | Home | Next

## 4.8. Coordinates range #

The function

`sbox(` | south_west, |
| north_east`)`; |

`spoint south_west`;
`spoint north_east`;

creates an `sbox` object with its first parameter `south_west` as the southwest edge and its second parameter `northeast` as the north-east edge of the coordinates range.

Example 4.9. Create a spherical box using edges

A coordinate range between 0° and +10° in latitude and longitude.

    sql> SELECT sbox ( spoint '(0d,0d),(10d,10d)' );

Prev | Up | Next
4.7. Path | Home | 4.9. `smoc`