renamed featureType() to geometryType()