code: public static boolean shouldClosePath(VectorTile.Tile.GeomType geomType) {
          final boolean closeReq;
  
          switch(geomType) {
              case POLYGON:
                  closeReq = true;
                  break;
              default:
                  closeReq = false;
                  break;
          }
  
          return closeReq;
      }
docs: Return whether the MVT geometry type should be closed with a {@link GeomCmd#ClosePath}.
  
  @param geomType the type of MVT geometry
  @return true if the geometry should be closed, false if it should not be closed