add getGeoType() to GeoObject class and its child classes

As discussed in #361, this PR adds `getGeoType()` to `GeoObject` class and its child classes