Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere Server - Spatial Data Support » Using spatial data

 

Introduction to spatial data

Spatial data is data that describes the position, shape, and orientation of objects in a defined space. Spatial data in SQL Anywhere is represented as 2D geometries in the form of points, curves (line strings and strings of circular arcs), and polygons. For example, the following image shows the state of Massachusetts, representing the union of polygons representing zip code regions.

Image showing Massachusetts broken into colorful polygons, with each polygon representing a zip code region.

Two common operations performed on spatial data are calculating the distance between geometries, and determining the union or intersection of multiple objects. These calculations are performed using predicates such as intersects, contains, and crosses.

 Example of how spatial data might be used
 See also

Spatial reference systems (SRS) and Spatial reference identifiers (SRID)
Units of measure
SQL Anywhere support for spatial data
Recommended reading on spatial topics