Returns the type of geometry.
The geometry type is determined by the presence of different properties.