The primitives of vector data sets are the point, (poly)line and polygon. Related geometric measurements are location, length, distance and area size. Some of these are geometric properties of a feature in isolation (location, length, area size); others (distance) require two features to be identified.
The location property of a vector feature is always stored by the GIS: a single coordinate pair for a point, or a list of pairs for a polyline or polygon boundary. Occasionally, there is a need to obtain the location of the centroid of a polygon (Figure 1); some GISs store these also, while others compute them on the fly.
Length is a geometric property associated with polylines, by themselves or in their function as polygon boundaries. It can obviously be computed by the GIS - as the sum of lengths of the constituent line segments - but quite often it is also stored with the polyline.
Measurement of distance between two features is another important function. If both features are points, say p and q, the computation in a Cartesian spatial reference system is given by the well-known Pythagorean distance function:
Classify and explain spatial analysis functions (measurements, classification, overlay, neighbourhood and connectivity) in a raster and vector environment (level 1 and 2).