code: public static VectorTile.Tile.GeomType toGeomType(Geometry geometry) {
          VectorTile.Tile.GeomType result = VectorTile.Tile.GeomType.UNKNOWN;
  
          if(geometry instanceof Point
                  || geometry instanceof MultiPoint) {
              result = VectorTile.Tile.GeomType.POINT;
  
          } else if(geometry instanceof LineString
                  || geometry instanceof MultiLineString) {
              result = VectorTile.Tile.GeomType.LINESTRING;
  
          } else if(geometry instanceof Polygon
                  || geometry instanceof MultiPolygon) {
              result = VectorTile.Tile.GeomType.POLYGON;
          }
  
          return result;
      }
docs: Get the MVT type mapping for the provided JTS Geometry.
  
  @param geometry JTS Geometry to get MVT type for
  @return MVT type for the given JTS Geometry, may return
  {@link com.wdtinc.mapbox_vector_tile.VectorTile.Tile.GeomType#UNKNOWN}