handle geom type