Avoid cast on feature table to get geometry type